fix(server): pin openapi genreator patch and regenerate api (#3573)

* fix(server): pin openapi genreator patch and regenerate api

* variable
This commit is contained in:
Alex
2023-08-06 15:55:14 -05:00
committed by GitHub
parent 3edb347666
commit 13df619ba9
102 changed files with 1145 additions and 812 deletions

View File

@@ -53,14 +53,14 @@ class SharedLinkCreateDto {
@override
bool operator ==(Object other) => identical(this, other) || other is SharedLinkCreateDto &&
other.albumId == albumId &&
other.allowDownload == allowDownload &&
other.allowUpload == allowUpload &&
_deepEquality.equals(other.assetIds, assetIds) &&
other.description == description &&
other.expiresAt == expiresAt &&
other.showExif == showExif &&
other.type == type;
other.albumId == albumId &&
other.allowDownload == allowDownload &&
other.allowUpload == allowUpload &&
other.assetIds == assetIds &&
other.description == description &&
other.expiresAt == expiresAt &&
other.showExif == showExif &&
other.type == type;
@override
int get hashCode =>
@@ -113,11 +113,11 @@ class SharedLinkCreateDto {
albumId: mapValueOfType<String>(json, r'albumId'),
allowDownload: mapValueOfType<bool>(json, r'allowDownload') ?? true,
allowUpload: mapValueOfType<bool>(json, r'allowUpload') ?? false,
assetIds: json[r'assetIds'] is Iterable
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
assetIds: json[r'assetIds'] is List
? (json[r'assetIds'] as List).cast<String>()
: const [],
description: mapValueOfType<String>(json, r'description'),
expiresAt: mapDateTime(json, r'expiresAt', r''),
expiresAt: mapDateTime(json, r'expiresAt', ''),
showExif: mapValueOfType<bool>(json, r'showExif') ?? true,
type: SharedLinkType.fromJson(json[r'type'])!,
);