add migration
# Conflicts: # mobile/lib/utils/migration.dart
This commit is contained in:
@@ -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/entities/user.entity.dart';
|
||||||
import 'package:immich_mobile/infrastructure/repositories/db.repository.dart';
|
import 'package:immich_mobile/infrastructure/repositories/db.repository.dart';
|
||||||
import 'package:immich_mobile/providers/app_settings.provider.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/background_sync.provider.dart';
|
||||||
import 'package:immich_mobile/providers/backup/backup.provider.dart';
|
import 'package:immich_mobile/providers/backup/backup.provider.dart';
|
||||||
import 'package:immich_mobile/services/app_settings.service.dart';
|
import 'package:immich_mobile/services/app_settings.service.dart';
|
||||||
|
|||||||
@@ -1855,7 +1855,7 @@
|
|||||||
},
|
},
|
||||||
"/assets/bulk-upload-check": {
|
"/assets/bulk-upload-check": {
|
||||||
"post": {
|
"post": {
|
||||||
"description": "Checks if assets exist by checksums. This endpoint requires the `asset.upload` permission.",
|
"description": "Checks if assets exist by checksums",
|
||||||
"operationId": "checkBulkUpload",
|
"operationId": "checkBulkUpload",
|
||||||
"parameters": [],
|
"parameters": [],
|
||||||
"requestBody": {
|
"requestBody": {
|
||||||
@@ -1894,8 +1894,7 @@
|
|||||||
"summary": "checkBulkUpload",
|
"summary": "checkBulkUpload",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Assets"
|
"Assets"
|
||||||
],
|
]
|
||||||
"x-immich-permission": "asset.upload"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/assets/device/{deviceId}": {
|
"/assets/device/{deviceId}": {
|
||||||
@@ -14571,10 +14570,6 @@
|
|||||||
"query": {
|
"query": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"queryAssetId": {
|
|
||||||
"format": "uuid",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"rating": {
|
"rating": {
|
||||||
"maximum": 5,
|
"maximum": 5,
|
||||||
"minimum": -1,
|
"minimum": -1,
|
||||||
@@ -14642,6 +14637,9 @@
|
|||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"required": [
|
||||||
|
"query"
|
||||||
|
],
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"SourceType": {
|
"SourceType": {
|
||||||
@@ -15417,10 +15415,6 @@
|
|||||||
],
|
],
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"SyncCompleteV1": {
|
|
||||||
"properties": {},
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"SyncEntityType": {
|
"SyncEntityType": {
|
||||||
"enum": [
|
"enum": [
|
||||||
"AuthUserV1",
|
"AuthUserV1",
|
||||||
@@ -15468,8 +15462,7 @@
|
|||||||
"UserMetadataV1",
|
"UserMetadataV1",
|
||||||
"UserMetadataDeleteV1",
|
"UserMetadataDeleteV1",
|
||||||
"SyncAckV1",
|
"SyncAckV1",
|
||||||
"SyncResetV1",
|
"SyncResetV1"
|
||||||
"SyncCompleteV1"
|
|
||||||
],
|
],
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user