From 5eb8d7e8b0bc4abdf3cf26065a3a03457544211e Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Wed, 2 Aug 2023 16:10:55 -0500 Subject: [PATCH] update openapi --- cli/src/api/open-api/api.ts | 4 ++-- mobile/openapi/doc/AssetStatsResponseDto.md | Bin 467 -> 467 bytes .../lib/model/asset_stats_response_dto.dart | Bin 3298 -> 3298 bytes .../test/asset_stats_response_dto_test.dart | Bin 766 -> 766 bytes server/immich-openapi-specs.json | 8 ++++---- web/src/api/open-api/api.ts | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cli/src/api/open-api/api.ts b/cli/src/api/open-api/api.ts index e89d2eef51..edee313546 100644 --- a/cli/src/api/open-api/api.ts +++ b/cli/src/api/open-api/api.ts @@ -666,13 +666,13 @@ export interface AssetStatsResponseDto { * @type {number} * @memberof AssetStatsResponseDto */ - 'videos': number; + 'total': number; /** * * @type {number} * @memberof AssetStatsResponseDto */ - 'total': number; + 'videos': number; } /** * diff --git a/mobile/openapi/doc/AssetStatsResponseDto.md b/mobile/openapi/doc/AssetStatsResponseDto.md index d7937a7eda44ae89f003528f9668caf32cb5e6b7..370b7c059b0ebe3f0cc4302405307d2181bcc59a 100644 GIT binary patch delta 17 Zcmcc2e3^N|@5y3}5)*$)Pu62x3IIc<2L=ED delta 17 Zcmcc2e3^N|@5!Q!k`sSQP1a*v3IIc&2L%8C diff --git a/mobile/openapi/lib/model/asset_stats_response_dto.dart b/mobile/openapi/lib/model/asset_stats_response_dto.dart index 1221712d89c1c93315256a2a0404b8c13093e66b..d910917745d12eb3c2eaa27adadd5e717faac194 100644 GIT binary patch delta 177 zcmaDP`ABlZZbsIU{F20+$p;xlChunCntYE@N(3xo&BdjlkeOGaP?njJnqNGbhiN7s zSVFiaXMJDfN__m}0oN6clPTt+}{rxd43|2Z8_q diff --git a/server/immich-openapi-specs.json b/server/immich-openapi-specs.json index 7ddf3bfc6c..53148546d7 100644 --- a/server/immich-openapi-specs.json +++ b/server/immich-openapi-specs.json @@ -4973,15 +4973,14 @@ "type": "object" }, "AssetStatsResponseDto": { - "type": "object", "properties": { "images": { "type": "integer" }, - "videos": { + "total": { "type": "integer" }, - "total": { + "videos": { "type": "integer" } }, @@ -4989,7 +4988,8 @@ "images", "videos", "total" - ] + ], + "type": "object" }, "AssetTypeEnum": { "enum": [ diff --git a/web/src/api/open-api/api.ts b/web/src/api/open-api/api.ts index ef165bd4ba..4cf39af6d5 100644 --- a/web/src/api/open-api/api.ts +++ b/web/src/api/open-api/api.ts @@ -666,13 +666,13 @@ export interface AssetStatsResponseDto { * @type {number} * @memberof AssetStatsResponseDto */ - 'videos': number; + 'total': number; /** * * @type {number} * @memberof AssetStatsResponseDto */ - 'total': number; + 'videos': number; } /** *