Skip to content

Commit

Permalink
update with main
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKutschera committed Apr 20, 2024
1 parent 774a948 commit 19f1e4c
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 11 deletions.
14 changes: 8 additions & 6 deletions app/lib/model/api_server/requests/mutations.graphql.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:flutter/widgets.dart' as widgets;
import 'package:gql/ast.dart';
import 'package:graphql/client.dart' as graphql;
import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter;
import 'package:http/http.dart';
import 'schema.graphql.dart';

class Variables$Mutation$RemoveDownvote {
Expand Down Expand Up @@ -1878,7 +1879,7 @@ class Mutation$AddUpvote$Widget
class Variables$Mutation$LinkImage {
factory Variables$Mutation$LinkImage({
required String mealId,
required String image,
required MultipartFile image,
required String hash,
}) =>
Variables$Mutation$LinkImage._({
Expand All @@ -1894,7 +1895,7 @@ class Variables$Mutation$LinkImage {
final l$mealId = data['mealId'];
result$data['mealId'] = (l$mealId as String);
final l$image = data['image'];
result$data['image'] = (l$image as String);
result$data['image'] = (l$image as MultipartFile);
final l$hash = data['hash'];
result$data['hash'] = (l$hash as String);
return Variables$Mutation$LinkImage._(result$data);
Expand All @@ -1903,7 +1904,7 @@ class Variables$Mutation$LinkImage {
Map<String, dynamic> _$data;

String get mealId => (_$data['mealId'] as String);
String get image => (_$data['image'] as String);
MultipartFile get image => (_$data['image'] as MultipartFile);
String get hash => (_$data['hash'] as String);
Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
Expand Down Expand Up @@ -1972,7 +1973,7 @@ abstract class CopyWith$Variables$Mutation$LinkImage<TRes> {

TRes call({
String? mealId,
String? image,
MultipartFile? image,
String? hash,
});
}
Expand All @@ -1999,7 +2000,8 @@ class _CopyWithImpl$Variables$Mutation$LinkImage<TRes>
..._instance._$data,
if (mealId != _undefined && mealId != null)
'mealId': (mealId as String),
if (image != _undefined && image != null) 'image': (image as String),
if (image != _undefined && image != null)
'image': (image as MultipartFile),
if (hash != _undefined && hash != null) 'hash': (hash as String),
}));
}
Expand All @@ -2012,7 +2014,7 @@ class _CopyWithStubImpl$Variables$Mutation$LinkImage<TRes>

call({
String? mealId,
String? image,
MultipartFile? image,
String? hash,
}) =>
_res;
Expand Down
170 changes: 165 additions & 5 deletions app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,30 @@ packages:
url: "https://pub.dev"
source: hosted
version: "8.6.2"
cached_network_image:
dependency: "direct main"
description:
name: cached_network_image
sha256: "28ea9690a8207179c319965c13cd8df184d5ee721ae2ce60f398ced1219cea1f"
url: "https://pub.dev"
source: hosted
version: "3.3.1"
cached_network_image_platform_interface:
dependency: transitive
description:
name: cached_network_image_platform_interface
sha256: "9e90e78ae72caa874a323d78fa6301b3fb8fa7ea76a8f96dc5b5bf79f283bf2f"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
cached_network_image_web:
dependency: transitive
description:
name: cached_network_image_web
sha256: "42a835caa27c220d1294311ac409a43361088625a4f23c820b006dd9bffb3316"
url: "https://pub.dev"
source: hosted
version: "1.1.1"
characters:
dependency: transitive
description:
Expand Down Expand Up @@ -177,6 +201,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.7.2"
cross_file:
dependency: transitive
description:
name: cross_file
sha256: "55d7b444feb71301ef6b8838dbc1ae02e63dd48c8773f3810ff53bb1e2945b32"
url: "https://pub.dev"
source: hosted
version: "0.3.4+1"
crypto:
dependency: "direct main"
description:
Expand Down Expand Up @@ -233,6 +265,38 @@ packages:
url: "https://pub.dev"
source: hosted
version: "7.0.0"
file_selector_linux:
dependency: transitive
description:
name: file_selector_linux
sha256: "045d372bf19b02aeb69cacf8b4009555fb5f6f0b7ad8016e5f46dd1387ddd492"
url: "https://pub.dev"
source: hosted
version: "0.9.2+1"
file_selector_macos:
dependency: transitive
description:
name: file_selector_macos
sha256: b15c3da8bd4908b9918111fa486903f5808e388b8d1c559949f584725a6594d6
url: "https://pub.dev"
source: hosted
version: "0.9.3+3"
file_selector_platform_interface:
dependency: transitive
description:
name: file_selector_platform_interface
sha256: "0aa47a725c346825a2bd396343ce63ac00bda6eff2fbc43eabe99737dede8262"
url: "https://pub.dev"
source: hosted
version: "2.6.1"
file_selector_windows:
dependency: transitive
description:
name: file_selector_windows
sha256: d3547240c20cabf205c7c7f01a50ecdbc413755814d6677f3cb366f04abcead0
url: "https://pub.dev"
source: hosted
version: "0.9.3+1"
fixnum:
dependency: transitive
description:
Expand All @@ -246,6 +310,14 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_cache_manager:
dependency: transitive
description:
name: flutter_cache_manager
sha256: "8207f27539deb83732fdda03e259349046a39a4c767269285f449ade355d54ba"
url: "https://pub.dev"
source: hosted
version: "3.3.1"
flutter_dotenv:
dependency: "direct main"
description:
Expand Down Expand Up @@ -288,6 +360,14 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
name: flutter_plugin_android_lifecycle
sha256: "8cf40eebf5dec866a6d1956ad7b4f7016e6c0cc69847ab946833b7d43743809f"
url: "https://pub.dev"
source: hosted
version: "2.0.19"
flutter_svg:
dependency: "direct main"
description:
Expand Down Expand Up @@ -360,7 +440,7 @@ packages:
source: hosted
version: "0.2.3+1"
gql_exec:
dependency: transitive
dependency: "direct main"
description:
name: gql_exec
sha256: "0d1fdb2e4154efbfc1dcf3f35ec36d19c8428ff0d560eb4c45b354f8f871dc50"
Expand Down Expand Up @@ -432,7 +512,7 @@ packages:
source: hosted
version: "2.2.3"
http:
dependency: transitive
dependency: "direct main"
description:
name: http
sha256: "5895291c13fa8a3bd82e76d5627f69e0d85ca6a30dcac95c4ea19a5d555879c2"
Expand All @@ -448,13 +528,77 @@ packages:
source: hosted
version: "3.2.1"
http_parser:
dependency: transitive
dependency: "direct main"
description:
name: http_parser
sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
url: "https://pub.dev"
source: hosted
version: "4.0.2"
image_picker:
dependency: "direct main"
description:
name: image_picker
sha256: "1f498d086203360cca099d20ffea2963f48c39ce91bdd8a3b6d4a045786b02c8"
url: "https://pub.dev"
source: hosted
version: "1.0.8"
image_picker_android:
dependency: transitive
description:
name: image_picker_android
sha256: "844c6da4e4f2829dffdab97816bca09d0e0977e8dcef7450864aba4e07967a58"
url: "https://pub.dev"
source: hosted
version: "0.8.9+6"
image_picker_for_web:
dependency: transitive
description:
name: image_picker_for_web
sha256: "5d6eb13048cd47b60dbf1a5495424dea226c5faf3950e20bf8120a58efb5b5f3"
url: "https://pub.dev"
source: hosted
version: "3.0.4"
image_picker_ios:
dependency: transitive
description:
name: image_picker_ios
sha256: "917a5cadd67d052554cfb258595e54217de53fac5b52939426e26319a02e6297"
url: "https://pub.dev"
source: hosted
version: "0.8.9+2"
image_picker_linux:
dependency: transitive
description:
name: image_picker_linux
sha256: "4ed1d9bb36f7cd60aa6e6cd479779cc56a4cb4e4de8f49d487b1aaad831300fa"
url: "https://pub.dev"
source: hosted
version: "0.2.1+1"
image_picker_macos:
dependency: transitive
description:
name: image_picker_macos
sha256: "3f5ad1e8112a9a6111c46d0b57a7be2286a9a07fc6e1976fdf5be2bd31d4ff62"
url: "https://pub.dev"
source: hosted
version: "0.2.1+1"
image_picker_platform_interface:
dependency: transitive
description:
name: image_picker_platform_interface
sha256: "0e827c156e3a90edd3bbe7f6de048b39247b16e58173b08a835b7eb00aba239e"
url: "https://pub.dev"
source: hosted
version: "2.9.2"
image_picker_windows:
dependency: transitive
description:
name: image_picker_windows
sha256: "6ad07afc4eb1bc25f3a01084d28520496c4a3bb0cb13685435838167c9dcedeb"
url: "https://pub.dev"
source: hosted
version: "0.2.1+1"
integration_test:
dependency: "direct dev"
description: flutter
Expand Down Expand Up @@ -604,6 +748,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.8.2+1"
octo_image:
dependency: transitive
description:
name: octo_image
sha256: "45b40f99622f11901238e18d48f5f12ea36426d8eced9f4cbf58479c7aa2430d"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
package_config:
dependency: transitive
description:
Expand Down Expand Up @@ -1153,6 +1305,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.1.0"
web:
dependency: transitive
description:
name: web
sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
url: "https://pub.dev"
source: hosted
version: "0.5.1"
web_socket_channel:
dependency: transitive
description:
Expand Down Expand Up @@ -1218,5 +1378,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.2.0-0 <4.0.0"
flutter: ">=3.10.0"
dart: ">=3.3.0 <4.0.0"
flutter: ">=3.19.5"

0 comments on commit 19f1e4c

Please sign in to comment.