Skip to content

Commit df581cc

Browse files
feat: UserMetadata sync (#19882)
* feat: UserMetadata sync * refactor: sync table filters (#19887)
1 parent 9e48ae3 commit df581cc

20 files changed

+655
-52
lines changed

mobile/openapi/README.md

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mobile/openapi/lib/api.dart

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mobile/openapi/lib/api_client.dart

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mobile/openapi/lib/model/sync_entity_type.dart

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mobile/openapi/lib/model/sync_request_type.dart

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mobile/openapi/lib/model/sync_user_metadata_delete_v1.dart

Lines changed: 107 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mobile/openapi/lib/model/sync_user_metadata_v1.dart

Lines changed: 115 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

open-api/immich-openapi-specs.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13902,6 +13902,8 @@
1390213902
"StackDeleteV1",
1390313903
"PersonV1",
1390413904
"PersonDeleteV1",
13905+
"UserMetadataV1",
13906+
"UserMetadataDeleteV1",
1390513907
"SyncAckV1",
1390613908
"SyncResetV1"
1390713909
],
@@ -14137,7 +14139,8 @@
1413714139
"PartnerStacksV1",
1413814140
"StacksV1",
1413914141
"UsersV1",
14140-
"PeopleV1"
14142+
"PeopleV1",
14143+
"UserMetadataV1"
1414114144
],
1414214145
"type": "string"
1414314146
},
@@ -14213,6 +14216,40 @@
1421314216
],
1421414217
"type": "object"
1421514218
},
14219+
"SyncUserMetadataDeleteV1": {
14220+
"properties": {
14221+
"key": {
14222+
"type": "string"
14223+
},
14224+
"userId": {
14225+
"type": "string"
14226+
}
14227+
},
14228+
"required": [
14229+
"key",
14230+
"userId"
14231+
],
14232+
"type": "object"
14233+
},
14234+
"SyncUserMetadataV1": {
14235+
"properties": {
14236+
"key": {
14237+
"type": "string"
14238+
},
14239+
"userId": {
14240+
"type": "string"
14241+
},
14242+
"value": {
14243+
"type": "object"
14244+
}
14245+
},
14246+
"required": [
14247+
"key",
14248+
"userId",
14249+
"value"
14250+
],
14251+
"type": "object"
14252+
},
1421614253
"SyncUserV1": {
1421714254
"properties": {
1421814255
"deletedAt": {

open-api/typescript-sdk/src/fetch-client.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4116,6 +4116,8 @@ export enum SyncEntityType {
41164116
StackDeleteV1 = "StackDeleteV1",
41174117
PersonV1 = "PersonV1",
41184118
PersonDeleteV1 = "PersonDeleteV1",
4119+
UserMetadataV1 = "UserMetadataV1",
4120+
UserMetadataDeleteV1 = "UserMetadataDeleteV1",
41194121
SyncAckV1 = "SyncAckV1",
41204122
SyncResetV1 = "SyncResetV1"
41214123
}
@@ -4135,7 +4137,8 @@ export enum SyncRequestType {
41354137
PartnerStacksV1 = "PartnerStacksV1",
41364138
StacksV1 = "StacksV1",
41374139
UsersV1 = "UsersV1",
4138-
PeopleV1 = "PeopleV1"
4140+
PeopleV1 = "PeopleV1",
4141+
UserMetadataV1 = "UserMetadataV1"
41394142
}
41404143
export enum TranscodeHWAccel {
41414144
Nvenc = "nvenc",

0 commit comments

Comments
 (0)