From 9a67ec39cd63e15a1204f760ca67635e27d0ff02 Mon Sep 17 00:00:00 2001 From: Eli Gao Date: Wed, 25 Dec 2024 01:31:46 +0800 Subject: [PATCH] chore: make open-api --- mobile/openapi/README.md | Bin 32696 -> 32537 bytes mobile/openapi/lib/api.dart | Bin 11793 -> 11855 bytes mobile/openapi/lib/api_client.dart | Bin 30193 -> 30319 bytes .../openapi/lib/model/album_user_add_dto.dart | Bin 3044 -> 3445 bytes .../openapi/lib/model/create_library_dto.dart | Bin 4335 -> 4321 bytes ...m_config_generated_fullsize_image_dto.dart | Bin 0 -> 3742 bytes .../lib/model/system_config_image_dto.dart | Bin 4183 -> 4158 bytes .../openapi/lib/model/update_library_dto.dart | Bin 4100 -> 4086 bytes .../lib/model/validate_library_dto.dart | Bin 3513 -> 3499 bytes open-api/immich-openapi-specs.json | 316 ++++-------------- open-api/typescript-sdk/src/fetch-client.ts | 7 +- 11 files changed, 80 insertions(+), 243 deletions(-) create mode 100644 mobile/openapi/lib/model/system_config_generated_fullsize_image_dto.dart diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md index a28035c01a9d2d1380d6dbe61d97df1fc5cf754f..a631b5b78665332fb1f8a82e872a7a8155e61501 100644 GIT binary patch delta 87 zcmdn-pK<0t#toW+laGi9O^y?c1kszdg$x;i4AISNg&mkC-w+boY%V4l#o<<(lT(~o fl{$H1f%N3;0#1a$ngUs%fZ*hr1;U%N3w-$jq=O)z delta 294 zcmY+9J5Iwu5Qb$WYGhEFRKG+O5vY+!7bHYWNjLUR?2$LS);iJmyL(4K;Cok;3x3`#SZ1D#I^5cc~cyG>!^dYn*Rr^ zL8uv?-G&{=C^!z$84uEWUn-`;C8B3F)E87Xm9sH9hcUMObH2#@rt&wi0R>-eM&>#fH_! XkRByd4RDg)7uC-v7mxkBtxtXdT^4HL diff --git a/mobile/openapi/lib/api.dart b/mobile/openapi/lib/api.dart index 73eb02d89ed7a568bc94067df317179576373af9..7b0f42d394a43e578bbe47131fe2de8fa242db62 100644 GIT binary patch delta 33 pcmbOjb3SH+v?6a>X--aYW>so@W^Q8ofGcjg^wBqJS#cw0?;RBN$tE546%|oB8IO-^_mOe(pa%MDwTUVAg0f3V?rcE{GX|RF;~!%(%f&t08GS zhRKu@2{JY!^oXQ~AVxIDtS*|2fE@&-J6q%rgM}2}h_n!(~6Wl=70W&C+j#Y7LpXrxEE|j`T^AW|oq*-zcYjhFE#^z!{5_34tDq z?_gC39^4E+nPJC6s{7usKhBgiJRuF1BrEQZ1U~scE9Mh?zc2fvh5H5b>aeGx=LT1X z^o0`Cf%b2!;HzD$!z4FfMqfK delta 97 zcmew=^+bF_7o)g>t%74tQfY2zacWUeeom@hYD#8Fe$nJEMpa%EiOo{XoQ#vrS&mGW XU{&0l#rl9zLc!i1tLDvK?AmMqkBA{f diff --git a/mobile/openapi/lib/model/create_library_dto.dart b/mobile/openapi/lib/model/create_library_dto.dart index 2b8085be6f3a65519fb5f2fc50721c2aa7b39696..bffa5f427950dde0b39e51f23a3230e83705b6b4 100644 GIT binary patch delta 112 zcmaE__)u}fVn(Lu*vU&72H=}-^4We5Syqt cmjV*7Qb^9vD=tw0>U_glg-?ES6IU)90MOJR^Z)<= delta 120 zcmaE;_+D|tVn(Lw+Q~~9sqE*k($m?Ulh diff --git a/mobile/openapi/lib/model/system_config_generated_fullsize_image_dto.dart b/mobile/openapi/lib/model/system_config_generated_fullsize_image_dto.dart new file mode 100644 index 0000000000000000000000000000000000000000..fbeb704b2782db0d4fa6c85a2f39a0438c1e3ef6 GIT binary patch literal 3742 zcmbtXZExE)5dQ98aVdhv!Bjcjry{An7EMy5Yhs|u1`I|ZFcxjIlSP-L>UnAY`|ggU zBscD=bsyqL)&q1&)%M0oqc$Hb9M^n7w^v!I32^)_y#V=rx)jc z?4cM*zRHDh!=KaVFM9N<=A||=n`x8HR3VR{Dl04VOcrt}OP9oVwOncAc4~-XEjBh= zRW38~Q>6^5mtu*(D`D`zlg8rV#_m?1>e4z+s0i|5Sq?7V3C=O&QQ#_@UN}ucj#H@i^D4U}1cZJN89a~tX zrEt4;K2@SnZbMrShZr=#oz?|}vv`4nJm(X@AH>TP?xiZ#vRcAtQB(+l=cvxh;;*gc zqa)ljt8}DdkjJ zE6j#)k5FDnt1OH4Lmkqne+WPM4e!t6_25Xe@hI2V&Zu$@PWy*Gr}v-}>?XmT;eNzg z$jflw`;){(4EKX0w+HONrC7c6_7cc9*yL(DLKogyU7`aX%`;Vs0zTpr4B?UV{lf`I z4lFS-2f>AdTa<3&|0^-?SR>`%zY+@0Hd1vxeVb8Jvt81Apf36U%?_f>!Ly?U<*aWa z3p1ma!N7$33i)A%0tdt@6HMf70wwZ~hwxfiri~V$Rz}W{zHN}py8TDF*Z0XcA zLt3$A>=+j;6wo^yt5>b&M&v|>efBzmC!H|$1X+iYj4^seYGsTvo(r&r z3qCuY3hN#rr0@BwRk2PE^w~UV1wr7Uixd&B5r}QQ0JBFHkv1BG5uA-;NZA8>Zg}J{Bx-bq!oF9OrY-|)1O>{T zN0(!Tea!bf66Qv)X~1B+%|u~k@(@ep3uL6N3dgP6$>QX;DLmPsx|74mz}#x7vRB%j zEmv+64RNBOAMEKh&J-4H_9I#tCg@A2;G0rmh#|LB)drG#L(Xs84ozPQI2C#Bf!osb zl_9F2bGGUfw4A0``!T7<5TE!IrkGH~Hg$FiXGHkjS<2|YPasNhwRj#R-BLA*G)%dP zRYMQ|wP-9i^hNzv=OUqoE9EiNx4#T8V0h1@`=pJJKpuft@VtFUO6`c1&Q>+uzRtOW4zRipkI`IU6*8{Fugb5vi~{LqZkFucVP$Dbi5 IJ*2;X0M8`WBLDyZ literal 0 HcmV?d00001 diff --git a/mobile/openapi/lib/model/system_config_image_dto.dart b/mobile/openapi/lib/model/system_config_image_dto.dart index 618d98df7a9d38e2e2366e82fd3a995078d954a3..783eaa7d4606085fcaab405791063b880108a96f 100644 GIT binary patch delta 179 zcmcbvuuoybbH>T<7|Zm6D~n4~bDi_^(lXQCQ}a@b5=&B3+)8tDiZiQHJ#!P&Q(a2( z71E#rn=6=f7pKOgq3p$P1t;P~U9C`H&5+LRdf>0HsVxlK=n! diff --git a/mobile/openapi/lib/model/update_library_dto.dart b/mobile/openapi/lib/model/update_library_dto.dart index 6a4f36906f74af59406c6b33c227dc0107688b7d..b85df40172e69ec04014735c843de2a244d60e9d 100644 GIT binary patch delta 160 zcmZos_$I$$F(XrS?Bu14@=npQI$R1sP?C{Zte2OVn+oFAYFcvvDWA;Z5}V+XqRhN> zJB8GW2B7#FCQKqP$|5lFckkPArq-*z`9qW$R{|Jb_JA9Bd-UR1mOINY2kI TE>Qql=)+lsPk!?wP9-(~^l~jZ delta 168 zcmew+-=eT#F(XrT?c}A5@($ItI$R1sP?C{Zte2OVn+oFAYFcvvso>NSo8Xe7%)E3v zh181VoYLaV{Jem~l9JS-yke+|&1_6gER+9pNKE!%(+AO;%h|e_WPn;VG{FXg3?2K#x;JPN9 delta 168 zcmZ22y;FL_N=ByY+R3XK<@u{?b+{B1YBjC7fK+hmNY2kIE>Qs5%feoT LSHb30?2K#xYg;j` diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index da06909ec2..28f52f5925 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -1424,6 +1424,7 @@ }, "/assets/bulk-upload-check": { "post": { + "description": "Checks if assets exist by checksums", "operationId": "checkBulkUpload", "parameters": [], "requestBody": { @@ -1459,7 +1460,6 @@ "api_key": [] } ], - "summary": "Checks if assets exist by checksums", "tags": [ "Assets" ] @@ -1467,6 +1467,7 @@ }, "/assets/device/{deviceId}": { "get": { + "description": "Get all asset of a device that are in the database, ID only.", "operationId": "getAllUserAssetsByDeviceId", "parameters": [ { @@ -1504,7 +1505,6 @@ "api_key": [] } ], - "summary": "Get all asset of a device that are in the database, ID only.", "tags": [ "Assets" ] @@ -1512,6 +1512,7 @@ }, "/assets/exist": { "post": { + "description": "Checks if multiple assets exist on the server and returns all existing - used by background backup", "operationId": "checkExistingAssets", "parameters": [], "requestBody": { @@ -1547,7 +1548,6 @@ "api_key": [] } ], - "summary": "Checks if multiple assets exist on the server and returns all existing - used by background backup", "tags": [ "Assets" ] @@ -1903,6 +1903,7 @@ ] }, "put": { + "description": "Replace the asset with new file, without changing its id", "operationId": "replaceAsset", "parameters": [ { @@ -1956,7 +1957,6 @@ "api_key": [] } ], - "summary": "Replace the asset with new file, without changing its id", "tags": [ "Assets" ], @@ -7492,7 +7492,6 @@ "items": { "$ref": "#/components/schemas/Permission" }, - "minItems": 1, "type": "array" } }, @@ -7573,11 +7572,7 @@ "type": "string" }, "type": { - "allOf": [ - { - "$ref": "#/components/schemas/ReactionType" - } - ] + "$ref": "#/components/schemas/ReactionType" } }, "required": [ @@ -7604,11 +7599,7 @@ "type": "string" }, "type": { - "allOf": [ - { - "$ref": "#/components/schemas/ReactionType" - } - ] + "$ref": "#/components/schemas/ReactionType" }, "user": { "$ref": "#/components/schemas/UserResponseDto" @@ -7640,7 +7631,6 @@ "items": { "$ref": "#/components/schemas/AlbumUserAddDto" }, - "minItems": 1, "type": "array" } }, @@ -7709,11 +7699,7 @@ "type": "string" }, "order": { - "allOf": [ - { - "$ref": "#/components/schemas/AssetOrder" - } - ] + "$ref": "#/components/schemas/AssetOrder" }, "owner": { "$ref": "#/components/schemas/UserResponseDto" @@ -7773,12 +7759,7 @@ "AlbumUserAddDto": { "properties": { "role": { - "allOf": [ - { - "$ref": "#/components/schemas/AlbumUserRole" - } - ], - "default": "editor" + "$ref": "#/components/schemas/AlbumUserRole" }, "userId": { "format": "uuid", @@ -7793,11 +7774,7 @@ "AlbumUserCreateDto": { "properties": { "role": { - "allOf": [ - { - "$ref": "#/components/schemas/AlbumUserRole" - } - ] + "$ref": "#/components/schemas/AlbumUserRole" }, "userId": { "format": "uuid", @@ -7813,11 +7790,7 @@ "AlbumUserResponseDto": { "properties": { "role": { - "allOf": [ - { - "$ref": "#/components/schemas/AlbumUserRole" - } - ] + "$ref": "#/components/schemas/AlbumUserRole" }, "user": { "$ref": "#/components/schemas/UserResponseDto" @@ -8114,11 +8087,7 @@ "nullable": true }, "sourceType": { - "allOf": [ - { - "$ref": "#/components/schemas/SourceType" - } - ] + "$ref": "#/components/schemas/SourceType" } }, "required": [ @@ -8189,11 +8158,7 @@ "type": "integer" }, "sourceType": { - "allOf": [ - { - "$ref": "#/components/schemas/SourceType" - } - ] + "$ref": "#/components/schemas/SourceType" } }, "required": [ @@ -8289,11 +8254,7 @@ "type": "array" }, "name": { - "allOf": [ - { - "$ref": "#/components/schemas/AssetJobName" - } - ] + "$ref": "#/components/schemas/AssetJobName" } }, "required": [ @@ -8391,11 +8352,7 @@ "type": "string" }, "status": { - "allOf": [ - { - "$ref": "#/components/schemas/AssetMediaStatus" - } - ] + "$ref": "#/components/schemas/AssetMediaStatus" } }, "required": [ @@ -8534,11 +8491,7 @@ "type": "string" }, "type": { - "allOf": [ - { - "$ref": "#/components/schemas/AssetTypeEnum" - } - ] + "$ref": "#/components/schemas/AssetTypeEnum" }, "unassignedFaces": { "items": { @@ -8651,11 +8604,7 @@ "AvatarResponse": { "properties": { "color": { - "allOf": [ - { - "$ref": "#/components/schemas/UserAvatarColor" - } - ] + "$ref": "#/components/schemas/UserAvatarColor" } }, "required": [ @@ -8666,11 +8615,7 @@ "AvatarUpdate": { "properties": { "color": { - "allOf": [ - { - "$ref": "#/components/schemas/UserAvatarColor" - } - ] + "$ref": "#/components/schemas/UserAvatarColor" } }, "type": "object" @@ -8761,7 +8706,6 @@ "items": { "type": "string" }, - "minItems": 1, "type": "array" }, "deviceId": { @@ -8828,17 +8772,13 @@ "items": { "type": "string" }, - "maxItems": 128, - "type": "array", - "uniqueItems": true + "type": "array" }, "importPaths": { "items": { "type": "string" }, - "maxItems": 128, - "type": "array", - "uniqueItems": true + "type": "array" }, "name": { "type": "string" @@ -9307,18 +9247,10 @@ "type": "string" }, "entityType": { - "allOf": [ - { - "$ref": "#/components/schemas/PathEntityType" - } - ] + "$ref": "#/components/schemas/PathEntityType" }, "pathType": { - "allOf": [ - { - "$ref": "#/components/schemas/PathType" - } - ] + "$ref": "#/components/schemas/PathType" }, "pathValue": { "type": "string" @@ -9380,11 +9312,7 @@ "JobCommandDto": { "properties": { "command": { - "allOf": [ - { - "$ref": "#/components/schemas/JobCommand" - } - ] + "$ref": "#/components/schemas/JobCommand" }, "force": { "type": "boolean" @@ -9429,11 +9357,7 @@ "JobCreateDto": { "properties": { "name": { - "allOf": [ - { - "$ref": "#/components/schemas/ManualJobName" - } - ] + "$ref": "#/components/schemas/ManualJobName" } }, "required": [ @@ -9621,7 +9545,6 @@ "properties": { "email": { "example": "testuser@email.com", - "format": "email", "type": "string" }, "password": { @@ -9795,11 +9718,7 @@ "type": "string" }, "type": { - "allOf": [ - { - "$ref": "#/components/schemas/MemoryType" - } - ] + "$ref": "#/components/schemas/MemoryType" } }, "required": [ @@ -9864,11 +9783,7 @@ "type": "string" }, "type": { - "allOf": [ - { - "$ref": "#/components/schemas/MemoryType" - } - ] + "$ref": "#/components/schemas/MemoryType" }, "updatedAt": { "format": "date-time", @@ -9997,11 +9912,7 @@ "type": "string" }, "order": { - "allOf": [ - { - "$ref": "#/components/schemas/AssetOrder" - } - ] + "$ref": "#/components/schemas/AssetOrder" }, "originalFileName": { "type": "string" @@ -10052,11 +9963,7 @@ "type": "string" }, "type": { - "allOf": [ - { - "$ref": "#/components/schemas/AssetTypeEnum" - } - ] + "$ref": "#/components/schemas/AssetTypeEnum" }, "updatedAfter": { "format": "date-time", @@ -10140,11 +10047,7 @@ "PartnerResponseDto": { "properties": { "avatarColor": { - "allOf": [ - { - "$ref": "#/components/schemas/UserAvatarColor" - } - ] + "$ref": "#/components/schemas/UserAvatarColor" }, "email": { "type": "string" @@ -10663,11 +10566,7 @@ "type": "string" }, "type": { - "allOf": [ - { - "$ref": "#/components/schemas/AssetTypeEnum" - } - ] + "$ref": "#/components/schemas/AssetTypeEnum" }, "updatedAfter": { "format": "date-time", @@ -11335,11 +11234,7 @@ "type": "boolean" }, "type": { - "allOf": [ - { - "$ref": "#/components/schemas/SharedLinkType" - } - ] + "$ref": "#/components/schemas/SharedLinkType" } }, "required": [ @@ -11424,11 +11319,7 @@ "type": "string" }, "type": { - "allOf": [ - { - "$ref": "#/components/schemas/SharedLinkType" - } - ] + "$ref": "#/components/schemas/SharedLinkType" }, "userId": { "type": "string" @@ -11461,7 +11352,6 @@ "properties": { "email": { "example": "testuser@email.com", - "format": "email", "type": "string" }, "name": { @@ -11578,11 +11468,7 @@ "type": "string" }, "type": { - "allOf": [ - { - "$ref": "#/components/schemas/AssetTypeEnum" - } - ] + "$ref": "#/components/schemas/AssetTypeEnum" }, "updatedAfter": { "format": "date-time", @@ -11623,7 +11509,6 @@ "format": "uuid", "type": "string" }, - "minItems": 2, "type": "array" } }, @@ -11764,11 +11649,7 @@ "SystemConfigFFmpegDto": { "properties": { "accel": { - "allOf": [ - { - "$ref": "#/components/schemas/TranscodeHWAccel" - } - ] + "$ref": "#/components/schemas/TranscodeHWAccel" }, "accelDecode": { "type": "boolean" @@ -11797,11 +11678,7 @@ "type": "integer" }, "cqMode": { - "allOf": [ - { - "$ref": "#/components/schemas/CQMode" - } - ] + "$ref": "#/components/schemas/CQMode" }, "crf": { "maximum": 51, @@ -11827,21 +11704,13 @@ "type": "integer" }, "targetAudioCodec": { - "allOf": [ - { - "$ref": "#/components/schemas/AudioCodec" - } - ] + "$ref": "#/components/schemas/AudioCodec" }, "targetResolution": { "type": "string" }, "targetVideoCodec": { - "allOf": [ - { - "$ref": "#/components/schemas/VideoCodec" - } - ] + "$ref": "#/components/schemas/VideoCodec" }, "temporalAQ": { "type": "boolean" @@ -11851,18 +11720,10 @@ "type": "integer" }, "tonemap": { - "allOf": [ - { - "$ref": "#/components/schemas/ToneMapping" - } - ] + "$ref": "#/components/schemas/ToneMapping" }, "transcode": { - "allOf": [ - { - "$ref": "#/components/schemas/TranscodePolicy" - } - ] + "$ref": "#/components/schemas/TranscodePolicy" }, "twoPass": { "type": "boolean" @@ -11904,14 +11765,31 @@ ], "type": "object" }, + "SystemConfigGeneratedFullsizeImageDto": { + "properties": { + "enabled": { + "type": "boolean" + }, + "format": { + "$ref": "#/components/schemas/ImageFormat" + }, + "quality": { + "maximum": 100, + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "enabled", + "format", + "quality" + ], + "type": "object" + }, "SystemConfigGeneratedImageDto": { "properties": { "format": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageFormat" - } - ] + "$ref": "#/components/schemas/ImageFormat" }, "quality": { "maximum": 100, @@ -11933,17 +11811,13 @@ "SystemConfigImageDto": { "properties": { "colorspace": { - "allOf": [ - { - "$ref": "#/components/schemas/Colorspace" - } - ] + "$ref": "#/components/schemas/Colorspace" }, "extractEmbedded": { "type": "boolean" }, - "fullsizePreview": { - "type": "boolean" + "fullsize": { + "$ref": "#/components/schemas/SystemConfigGeneratedFullsizeImageDto" }, "preview": { "$ref": "#/components/schemas/SystemConfigGeneratedImageDto" @@ -11955,7 +11829,7 @@ "required": [ "colorspace", "extractEmbedded", - "fullsizePreview", + "fullsize", "preview", "thumbnail" ], @@ -12059,11 +11933,7 @@ "type": "boolean" }, "level": { - "allOf": [ - { - "$ref": "#/components/schemas/LogLevel" - } - ] + "$ref": "#/components/schemas/LogLevel" } }, "required": [ @@ -12092,7 +11962,6 @@ "type": "string" }, "urls": { - "format": "uri", "items": { "format": "uri", "type": "string" @@ -12113,14 +11982,12 @@ "SystemConfigMapDto": { "properties": { "darkStyle": { - "format": "uri", "type": "string" }, "enabled": { "type": "boolean" }, "lightStyle": { - "format": "uri", "type": "string" } }, @@ -12195,7 +12062,6 @@ "type": "boolean" }, "mobileRedirectUri": { - "format": "uri", "type": "string" }, "profileSigningAlgorithm": { @@ -12258,7 +12124,6 @@ "SystemConfigServerDto": { "properties": { "externalDomain": { - "format": "uri", "type": "string" }, "loginPageMessage": { @@ -12515,7 +12380,6 @@ "TagCreateDto": { "properties": { "color": { - "pattern": "^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$", "type": "string" }, "name": { @@ -12571,7 +12435,6 @@ "properties": { "color": { "nullable": true, - "pattern": "^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$", "type": "string" } }, @@ -12734,11 +12597,7 @@ "type": "boolean" }, "order": { - "allOf": [ - { - "$ref": "#/components/schemas/AssetOrder" - } - ] + "$ref": "#/components/schemas/AssetOrder" } }, "type": "object" @@ -12746,11 +12605,7 @@ "UpdateAlbumUserDto": { "properties": { "role": { - "allOf": [ - { - "$ref": "#/components/schemas/AlbumUserRole" - } - ] + "$ref": "#/components/schemas/AlbumUserRole" } }, "required": [ @@ -12797,17 +12652,13 @@ "items": { "type": "string" }, - "maxItems": 128, - "type": "array", - "uniqueItems": true + "type": "array" }, "importPaths": { "items": { "type": "string" }, - "maxItems": 128, - "type": "array", - "uniqueItems": true + "type": "array" }, "name": { "type": "string" @@ -12873,7 +12724,6 @@ "UserAdminCreateDto": { "properties": { "email": { - "format": "email", "type": "string" }, "name": { @@ -12917,11 +12767,7 @@ "UserAdminResponseDto": { "properties": { "avatarColor": { - "allOf": [ - { - "$ref": "#/components/schemas/UserAvatarColor" - } - ] + "$ref": "#/components/schemas/UserAvatarColor" }, "createdAt": { "format": "date-time", @@ -12976,11 +12822,7 @@ "type": "boolean" }, "status": { - "allOf": [ - { - "$ref": "#/components/schemas/UserStatus" - } - ] + "$ref": "#/components/schemas/UserStatus" }, "storageLabel": { "nullable": true, @@ -13015,7 +12857,6 @@ "UserAdminUpdateDto": { "properties": { "email": { - "format": "email", "type": "string" }, "name": { @@ -13153,11 +12994,7 @@ "UserResponseDto": { "properties": { "avatarColor": { - "allOf": [ - { - "$ref": "#/components/schemas/UserAvatarColor" - } - ] + "$ref": "#/components/schemas/UserAvatarColor" }, "email": { "type": "string" @@ -13197,7 +13034,6 @@ "UserUpdateMeDto": { "properties": { "email": { - "format": "email", "type": "string" }, "name": { @@ -13226,17 +13062,13 @@ "items": { "type": "string" }, - "maxItems": 128, - "type": "array", - "uniqueItems": true + "type": "array" }, "importPaths": { "items": { "type": "string" }, - "maxItems": 128, - "type": "array", - "uniqueItems": true + "type": "array" } }, "type": "object" diff --git a/open-api/typescript-sdk/src/fetch-client.ts b/open-api/typescript-sdk/src/fetch-client.ts index 0d5d221ece..99a8aab0ff 100644 --- a/open-api/typescript-sdk/src/fetch-client.ts +++ b/open-api/typescript-sdk/src/fetch-client.ts @@ -1123,6 +1123,11 @@ export type SystemConfigFFmpegDto = { transcode: TranscodePolicy; twoPass: boolean; }; +export type SystemConfigGeneratedFullsizeImageDto = { + enabled: boolean; + format: ImageFormat; + quality: number; +}; export type SystemConfigGeneratedImageDto = { format: ImageFormat; quality: number; @@ -1131,7 +1136,7 @@ export type SystemConfigGeneratedImageDto = { export type SystemConfigImageDto = { colorspace: Colorspace; extractEmbedded: boolean; - fullsizePreview: boolean; + fullsize: SystemConfigGeneratedFullsizeImageDto; preview: SystemConfigGeneratedImageDto; thumbnail: SystemConfigGeneratedImageDto; };