Source Code added
This commit is contained in:
parent
800376eafd
commit
9efa9bc6dd
3912 changed files with 754770 additions and 2 deletions
9
open-api/patch/api.dart.patch
Normal file
9
open-api/patch/api.dart.patch
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
@@ -15,6 +15,8 @@
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:collection/collection.dart';
|
||||
+import 'package:flutter/foundation.dart';
|
||||
+import 'package:immich_mobile/utils/openapi_patching.dart';
|
||||
import 'package:http/http.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:meta/meta.dart';
|
||||
21
open-api/patch/api_client.dart.patch
Normal file
21
open-api/patch/api_client.dart.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
@@ -143,19 +143,19 @@
|
||||
);
|
||||
}
|
||||
|
||||
- Future<dynamic> deserializeAsync(String value, String targetType, {bool growable = false,}) async =>
|
||||
+ Future<dynamic> deserializeAsync(String value, String targetType, {bool growable = false,}) =>
|
||||
// ignore: deprecated_member_use_from_same_package
|
||||
deserialize(value, targetType, growable: growable);
|
||||
|
||||
@Deprecated('Scheduled for removal in OpenAPI Generator 6.x. Use deserializeAsync() instead.')
|
||||
- dynamic deserialize(String value, String targetType, {bool growable = false,}) {
|
||||
+ Future<dynamic> deserialize(String value, String targetType, {bool growable = false,}) async {
|
||||
// Remove all spaces. Necessary for regular expressions as well.
|
||||
targetType = targetType.replaceAll(' ', ''); // ignore: parameter_assignments
|
||||
|
||||
// If the expected target type is String, nothing to do...
|
||||
return targetType == 'String'
|
||||
? value
|
||||
- : fromJson(json.decode(value), targetType, growable: growable);
|
||||
+ : fromJson(await compute((String j) => json.decode(j), value), targetType, growable: growable);
|
||||
}
|
||||
9
open-api/patch/pubspec_immich_mobile.yaml.patch
Normal file
9
open-api/patch/pubspec_immich_mobile.yaml.patch
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Include code from immich_mobile
|
||||
@@ -13,5 +13,5 @@
|
||||
http: '>=0.13.0 <2.0.0'
|
||||
intl: any
|
||||
meta: '>=1.1.8 <2.0.0'
|
||||
-dev_dependencies:
|
||||
- test: '>=1.21.6 <1.22.0'
|
||||
+ immich_mobile:
|
||||
+ path: ../
|
||||
Loading…
Add table
Add a link
Reference in a new issue