From 4b7d61ce97586445e8f04f0d36abf906be2541c6 Mon Sep 17 00:00:00 2001 From: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Date: Wed, 30 Jul 2025 03:56:12 +0530 Subject: [PATCH] add migration # Conflicts: # mobile/lib/utils/migration.dart --- mobile/lib/utils/migration.dart | 2 ++ open-api/immich-openapi-specs.json | 19 ++++++------------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/mobile/lib/utils/migration.dart b/mobile/lib/utils/migration.dart index 0a786fed0b..cdead7c949 100644 --- a/mobile/lib/utils/migration.dart +++ b/mobile/lib/utils/migration.dart @@ -24,6 +24,8 @@ import 'package:immich_mobile/infrastructure/entities/store.entity.drift.dart'; import 'package:immich_mobile/infrastructure/entities/user.entity.dart'; import 'package:immich_mobile/infrastructure/repositories/db.repository.dart'; import 'package:immich_mobile/providers/app_settings.provider.dart'; +import 'package:immich_mobile/infrastructure/repositories/local_album.repository.dart'; +import 'package:immich_mobile/platform/native_sync_api.g.dart'; import 'package:immich_mobile/providers/background_sync.provider.dart'; import 'package:immich_mobile/providers/backup/backup.provider.dart'; import 'package:immich_mobile/services/app_settings.service.dart'; diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index e148e7efae..f328c949b5 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -1855,7 +1855,7 @@ }, "/assets/bulk-upload-check": { "post": { - "description": "Checks if assets exist by checksums. This endpoint requires the `asset.upload` permission.", + "description": "Checks if assets exist by checksums", "operationId": "checkBulkUpload", "parameters": [], "requestBody": { @@ -1894,8 +1894,7 @@ "summary": "checkBulkUpload", "tags": [ "Assets" - ], - "x-immich-permission": "asset.upload" + ] } }, "/assets/device/{deviceId}": { @@ -14571,10 +14570,6 @@ "query": { "type": "string" }, - "queryAssetId": { - "format": "uuid", - "type": "string" - }, "rating": { "maximum": 5, "minimum": -1, @@ -14642,6 +14637,9 @@ "type": "boolean" } }, + "required": [ + "query" + ], "type": "object" }, "SourceType": { @@ -15417,10 +15415,6 @@ ], "type": "object" }, - "SyncCompleteV1": { - "properties": {}, - "type": "object" - }, "SyncEntityType": { "enum": [ "AuthUserV1", @@ -15468,8 +15462,7 @@ "UserMetadataV1", "UserMetadataDeleteV1", "SyncAckV1", - "SyncResetV1", - "SyncCompleteV1" + "SyncResetV1" ], "type": "string" },