You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-07-15 07:14:42 +02:00
fix(deps): update dependency @nestjs/swagger to v8 (#13881)
* fix(deps): update dependency @nestjs/swagger to v8 * chore: generate open api --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
20
mobile/openapi/lib/model/validate_library_dto.dart
generated
20
mobile/openapi/lib/model/validate_library_dto.dart
generated
@ -13,13 +13,13 @@ part of openapi.api;
|
||||
class ValidateLibraryDto {
|
||||
/// Returns a new [ValidateLibraryDto] instance.
|
||||
ValidateLibraryDto({
|
||||
this.exclusionPatterns = const [],
|
||||
this.importPaths = const [],
|
||||
this.exclusionPatterns = const {},
|
||||
this.importPaths = const {},
|
||||
});
|
||||
|
||||
List<String> exclusionPatterns;
|
||||
Set<String> exclusionPatterns;
|
||||
|
||||
List<String> importPaths;
|
||||
Set<String> importPaths;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is ValidateLibraryDto &&
|
||||
@ -37,8 +37,8 @@ class ValidateLibraryDto {
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final json = <String, dynamic>{};
|
||||
json[r'exclusionPatterns'] = this.exclusionPatterns;
|
||||
json[r'importPaths'] = this.importPaths;
|
||||
json[r'exclusionPatterns'] = this.exclusionPatterns.toList(growable: false);
|
||||
json[r'importPaths'] = this.importPaths.toList(growable: false);
|
||||
return json;
|
||||
}
|
||||
|
||||
@ -52,11 +52,11 @@ class ValidateLibraryDto {
|
||||
|
||||
return ValidateLibraryDto(
|
||||
exclusionPatterns: json[r'exclusionPatterns'] is Iterable
|
||||
? (json[r'exclusionPatterns'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
? (json[r'exclusionPatterns'] as Iterable).cast<String>().toSet()
|
||||
: const {},
|
||||
importPaths: json[r'importPaths'] is Iterable
|
||||
? (json[r'importPaths'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
? (json[r'importPaths'] as Iterable).cast<String>().toSet()
|
||||
: const {},
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user