mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00: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:
parent
b88f98bf66
commit
6b08e82cf7
8 changed files with 301 additions and 112 deletions
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue