fix(server): use UserMetadataKey enum instead of string (#20209)

* fix(server): use UserMetadataKey enum instead of string

* fix: mobile
This commit is contained in:
Daimolean
2025-07-25 23:04:28 +08:00
committed by GitHub
parent ed5759fe07
commit 25e2d37490
11 changed files with 129 additions and 15 deletions

View File

@@ -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": {