mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
chore: regenerate openapi on linux
This commit is contained in:
Generated
+2
@@ -15,6 +15,8 @@ import 'dart:convert';
|
|||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:collection/collection.dart';
|
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:http/http.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:intl/intl.dart';
|
||||||
import 'package:meta/meta.dart';
|
import 'package:meta/meta.dart';
|
||||||
|
|||||||
Generated
+3
-3
@@ -143,19 +143,19 @@ class ApiClient {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
// ignore: deprecated_member_use_from_same_package
|
||||||
deserialize(value, targetType, growable: growable);
|
deserialize(value, targetType, growable: growable);
|
||||||
|
|
||||||
@Deprecated('Scheduled for removal in OpenAPI Generator 6.x. Use deserializeAsync() instead.')
|
@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.
|
// Remove all spaces. Necessary for regular expressions as well.
|
||||||
targetType = targetType.replaceAll(' ', ''); // ignore: parameter_assignments
|
targetType = targetType.replaceAll(' ', ''); // ignore: parameter_assignments
|
||||||
|
|
||||||
// If the expected target type is String, nothing to do...
|
// If the expected target type is String, nothing to do...
|
||||||
return targetType == 'String'
|
return targetType == 'String'
|
||||||
? value
|
? value
|
||||||
: fromJson(json.decode(value), targetType, growable: growable);
|
: fromJson(await compute((String j) => json.decode(j), value), targetType, growable: growable);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ignore: deprecated_member_use_from_same_package
|
// ignore: deprecated_member_use_from_same_package
|
||||||
|
|||||||
+2
-2
@@ -19,7 +19,7 @@ class AssetEditActionItemDto {
|
|||||||
|
|
||||||
AssetEditAction action;
|
AssetEditAction action;
|
||||||
|
|
||||||
AssetEditActionItemDtoParameters parameters;
|
Map<String, dynamic> parameters;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) => identical(this, other) || other is AssetEditActionItemDto &&
|
bool operator ==(Object other) => identical(this, other) || other is AssetEditActionItemDto &&
|
||||||
@@ -52,7 +52,7 @@ class AssetEditActionItemDto {
|
|||||||
|
|
||||||
return AssetEditActionItemDto(
|
return AssetEditActionItemDto(
|
||||||
action: AssetEditAction.fromJson(json[r'action'])!,
|
action: AssetEditAction.fromJson(json[r'action'])!,
|
||||||
parameters: AssetEditActionItemDtoParameters.fromJson(json[r'parameters'])!,
|
parameters: json[r'parameters'],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -13,5 +13,5 @@ dependencies:
|
|||||||
http: '>=0.13.0 <2.0.0'
|
http: '>=0.13.0 <2.0.0'
|
||||||
intl: any
|
intl: any
|
||||||
meta: '>=1.1.8 <2.0.0'
|
meta: '>=1.1.8 <2.0.0'
|
||||||
dev_dependencies:
|
immich_mobile:
|
||||||
test: '>=1.21.6 <1.22.0'
|
path: ../
|
||||||
|
|||||||
Reference in New Issue
Block a user