mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-12-08 20:29:05 +00:00
chore(server): update openapi (#2205)
This commit is contained in:
2
mobile/openapi/lib/model/asset_type_enum.dart
generated
2
mobile/openapi/lib/model/asset_type_enum.dart
generated
@@ -71,7 +71,7 @@ class AssetTypeEnumTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
AssetTypeEnum? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'IMAGE': return AssetTypeEnum.IMAGE;
|
||||
case r'VIDEO': return AssetTypeEnum.VIDEO;
|
||||
case r'AUDIO': return AssetTypeEnum.AUDIO;
|
||||
|
||||
@@ -67,7 +67,7 @@ class DeleteAssetStatusTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
DeleteAssetStatus? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'SUCCESS': return DeleteAssetStatus.SUCCESS;
|
||||
case r'FAILED': return DeleteAssetStatus.FAILED;
|
||||
default:
|
||||
|
||||
2
mobile/openapi/lib/model/device_type_enum.dart
generated
2
mobile/openapi/lib/model/device_type_enum.dart
generated
@@ -69,7 +69,7 @@ class DeviceTypeEnumTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
DeviceTypeEnum? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'IOS': return DeviceTypeEnum.IOS;
|
||||
case r'ANDROID': return DeviceTypeEnum.ANDROID;
|
||||
case r'WEB': return DeviceTypeEnum.WEB;
|
||||
|
||||
2
mobile/openapi/lib/model/job_command.dart
generated
2
mobile/openapi/lib/model/job_command.dart
generated
@@ -71,7 +71,7 @@ class JobCommandTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
JobCommand? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'start': return JobCommand.start;
|
||||
case r'pause': return JobCommand.pause;
|
||||
case r'resume': return JobCommand.resume;
|
||||
|
||||
2
mobile/openapi/lib/model/job_name.dart
generated
2
mobile/openapi/lib/model/job_name.dart
generated
@@ -79,7 +79,7 @@ class JobNameTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
JobName? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'thumbnail-generation-queue': return JobName.thumbnailGenerationQueue;
|
||||
case r'metadata-extraction-queue': return JobName.metadataExtractionQueue;
|
||||
case r'video-conversion-queue': return JobName.videoConversionQueue;
|
||||
|
||||
2
mobile/openapi/lib/model/shared_link_type.dart
generated
2
mobile/openapi/lib/model/shared_link_type.dart
generated
@@ -67,7 +67,7 @@ class SharedLinkTypeTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
SharedLinkType? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'ALBUM': return SharedLinkType.ALBUM;
|
||||
case r'INDIVIDUAL': return SharedLinkType.INDIVIDUAL;
|
||||
default:
|
||||
|
||||
@@ -210,7 +210,7 @@ class SystemConfigFFmpegDtoTranscodeEnumTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
SystemConfigFFmpegDtoTranscodeEnum? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'all': return SystemConfigFFmpegDtoTranscodeEnum.all;
|
||||
case r'optimal': return SystemConfigFFmpegDtoTranscodeEnum.optimal;
|
||||
case r'required': return SystemConfigFFmpegDtoTranscodeEnum.required_;
|
||||
|
||||
2
mobile/openapi/lib/model/tag_type_enum.dart
generated
2
mobile/openapi/lib/model/tag_type_enum.dart
generated
@@ -69,7 +69,7 @@ class TagTypeEnumTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
TagTypeEnum? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'OBJECT': return TagTypeEnum.OBJECT;
|
||||
case r'FACE': return TagTypeEnum.FACE;
|
||||
case r'CUSTOM': return TagTypeEnum.CUSTOM;
|
||||
|
||||
2
mobile/openapi/lib/model/thumbnail_format.dart
generated
2
mobile/openapi/lib/model/thumbnail_format.dart
generated
@@ -67,7 +67,7 @@ class ThumbnailFormatTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
ThumbnailFormat? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'JPEG': return ThumbnailFormat.JPEG;
|
||||
case r'WEBP': return ThumbnailFormat.WEBP;
|
||||
default:
|
||||
|
||||
2
mobile/openapi/lib/model/time_group_enum.dart
generated
2
mobile/openapi/lib/model/time_group_enum.dart
generated
@@ -67,7 +67,7 @@ class TimeGroupEnumTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
TimeGroupEnum? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'day': return TimeGroupEnum.day;
|
||||
case r'month': return TimeGroupEnum.month;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user