Skip to content

build(deps): bump express from 4.18.2 to 4.21.2 in /cloud_functions/functions #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
672 changes: 459 additions & 213 deletions cloud_functions/functions/package-lock.json

Unchanged files with check annotations Beta

part of movies_connector;

Check notice on line 1 in data_connect/lib/movies_connector/add_favorited_movie.dart

GitHub Actions / analyze

The part-of directive uses a library name.

Try converting the directive to use the URI of the library. See https://dart.dev/diagnostics/use_string_in_part_of_directives to learn more about this problem.
class AddFavoritedMovieVariablesBuilder {
String movieId;
FirebaseDataConnect _dataConnect;

Check notice on line 6 in data_connect/lib/movies_connector/add_favorited_movie.dart

GitHub Actions / analyze

The private field _dataConnect could be 'final'.

Try making the field 'final'. See https://dart.dev/diagnostics/prefer_final_fields to learn more about this problem.
AddFavoritedMovieVariablesBuilder(
this._dataConnect, {
required String this.movieId,

Check notice on line 10 in data_connect/lib/movies_connector/add_favorited_movie.dart

GitHub Actions / analyze

Don't needlessly type annotate initializing formals.

Try removing the type. See https://dart.dev/diagnostics/type_init_formals to learn more about this problem.
});
Deserializer<AddFavoritedMovieData> dataDeserializer =
(dynamic json) => AddFavoritedMovieData.fromJson(jsonDecode(json));
(AddFavoritedMovieVariables vars) => jsonEncode(vars.toJson());
Future<OperationResult<AddFavoritedMovieData, AddFavoritedMovieVariables>>
execute() {
return this.ref().execute();

Check notice on line 18 in data_connect/lib/movies_connector/add_favorited_movie.dart

GitHub Actions / analyze

Unnecessary 'this.' qualifier.

Try removing 'this.'. See https://dart.dev/diagnostics/unnecessary_this to learn more about this problem.
}
MutationRef<AddFavoritedMovieData, AddFavoritedMovieVariables> ref() {
AddFavoritedMovieFavoriteMovieUpsert.fromJson(dynamic json)
: userId = nativeFromJson<String>(json['userId']),
movieId = nativeFromJson<String>(json['movieId']) {}

Check notice on line 38 in data_connect/lib/movies_connector/add_favorited_movie.dart

GitHub Actions / analyze

Empty constructor bodies should be written using a ';' rather than '{}'.

Try replacing the constructor body with ';'. See https://dart.dev/diagnostics/empty_constructor_bodies to learn more about this problem.
Map<String, dynamic> toJson() {
Map<String, dynamic> json = {};
}
class AddFavoritedMovieData {
AddFavoritedMovieFavoriteMovieUpsert favorite_movie_upsert;

Check notice on line 57 in data_connect/lib/movies_connector/add_favorited_movie.dart

GitHub Actions / analyze

The variable name 'favorite_movie_upsert' isn't a lowerCamelCase identifier.

Try changing the name to follow the lowerCamelCase style. See https://dart.dev/diagnostics/non_constant_identifier_names to learn more about this problem.
AddFavoritedMovieData.fromJson(dynamic json)
: favorite_movie_upsert = AddFavoritedMovieFavoriteMovieUpsert.fromJson(
json['favorite_movie_upsert']) {}

Check notice on line 61 in data_connect/lib/movies_connector/add_favorited_movie.dart

GitHub Actions / analyze

Empty constructor bodies should be written using a ';' rather than '{}'.

Try replacing the constructor body with ';'. See https://dart.dev/diagnostics/empty_constructor_bodies to learn more about this problem.
Map<String, dynamic> toJson() {
Map<String, dynamic> json = {};
}
AddFavoritedMovieData({
required this.favorite_movie_upsert,

Check notice on line 72 in data_connect/lib/movies_connector/add_favorited_movie.dart

GitHub Actions / analyze

The variable name 'favorite_movie_upsert' isn't a lowerCamelCase identifier.

Try changing the name to follow the lowerCamelCase style. See https://dart.dev/diagnostics/non_constant_identifier_names to learn more about this problem.
});
}
@Deprecated(
'fromJson is deprecated for Variable classes as they are no longer required for deserialization.')
AddFavoritedMovieVariables.fromJson(Map<String, dynamic> json)
: movieId = nativeFromJson<String>(json['movieId']) {}

Check notice on line 82 in data_connect/lib/movies_connector/add_favorited_movie.dart

GitHub Actions / analyze

Empty constructor bodies should be written using a ';' rather than '{}'.

Try replacing the constructor body with ';'. See https://dart.dev/diagnostics/empty_constructor_bodies to learn more about this problem.
Map<String, dynamic> toJson() {
Map<String, dynamic> json = {};
part of movies_connector;

Check notice on line 1 in data_connect/lib/movies_connector/add_review.dart

GitHub Actions / analyze

The part-of directive uses a library name.

Try converting the directive to use the URI of the library. See https://dart.dev/diagnostics/use_string_in_part_of_directives to learn more about this problem.
class AddReviewVariablesBuilder {
String movieId;
class _ChatWidgetState extends State<ChatWidget> {
late final GenerativeModel _model;
late final GenerativeModel _functionCallModel;

Check warning on line 76 in vertexai/lib/main.dart

GitHub Actions / analyze

The value of the field '_functionCallModel' isn't used.

Try removing the field, or using it. See https://dart.dev/diagnostics/unused_field to learn more about this problem.
late final ChatSession _chat;
final ScrollController _scrollController = ScrollController();
final TextEditingController _textController = TextEditingController();