1
0
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:
renovate[bot]
2024-12-23 21:03:34 +00:00
committed by GitHub
parent b88f98bf66
commit 6b08e82cf7
8 changed files with 301 additions and 112 deletions

View File

@ -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;