mirror of
https://github.com/immich-app/immich.git
synced 2025-12-12 15:50:43 -08:00
fix(server): use UserMetadataKey enum instead of string (#20209)
* fix(server): use UserMetadataKey enum instead of string * fix: mobile
This commit is contained in:
@@ -14403,7 +14403,11 @@
|
||||
"SyncUserMetadataDeleteV1": {
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/UserMetadataKey"
|
||||
}
|
||||
]
|
||||
},
|
||||
"userId": {
|
||||
"type": "string"
|
||||
@@ -14418,7 +14422,11 @@
|
||||
"SyncUserMetadataV1": {
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/UserMetadataKey"
|
||||
}
|
||||
]
|
||||
},
|
||||
"userId": {
|
||||
"type": "string"
|
||||
@@ -16132,6 +16140,14 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"UserMetadataKey": {
|
||||
"enum": [
|
||||
"preferences",
|
||||
"license",
|
||||
"onboarding"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"UserPreferencesResponseDto": {
|
||||
"properties": {
|
||||
"albums": {
|
||||
|
||||
Reference in New Issue
Block a user