feat: sync auth user (#20067)

This commit is contained in:
Jason Rasmussen
2025-07-23 09:59:33 -04:00
committed by GitHub
parent ab597155fa
commit 92384c28de
20 changed files with 507 additions and 41 deletions

View File

@@ -13978,8 +13978,79 @@
],
"type": "object"
},
"SyncAuthUserV1": {
"properties": {
"avatarColor": {
"allOf": [
{
"$ref": "#/components/schemas/UserAvatarColor"
}
],
"nullable": true
},
"deletedAt": {
"format": "date-time",
"nullable": true,
"type": "string"
},
"email": {
"type": "string"
},
"hasProfileImage": {
"type": "boolean"
},
"id": {
"type": "string"
},
"isAdmin": {
"type": "boolean"
},
"name": {
"type": "string"
},
"oauthId": {
"type": "string"
},
"pinCode": {
"nullable": true,
"type": "string"
},
"profileChangedAt": {
"format": "date-time",
"type": "string"
},
"quotaSizeInBytes": {
"nullable": true,
"type": "integer"
},
"quotaUsageInBytes": {
"type": "integer"
},
"storageLabel": {
"nullable": true,
"type": "string"
}
},
"required": [
"avatarColor",
"deletedAt",
"email",
"hasProfileImage",
"id",
"isAdmin",
"name",
"oauthId",
"pinCode",
"profileChangedAt",
"quotaSizeInBytes",
"quotaUsageInBytes",
"storageLabel"
],
"type": "object"
},
"SyncEntityType": {
"enum": [
"AuthUserV1",
"UserV1",
"UserDeleteV1",
"AssetV1",
@@ -14242,6 +14313,7 @@
"AlbumAssetExifsV1",
"AssetsV1",
"AssetExifsV1",
"AuthUsersV1",
"MemoriesV1",
"MemoryToAssetsV1",
"PartnersV1",
@@ -14364,6 +14436,14 @@
},
"SyncUserV1": {
"properties": {
"avatarColor": {
"allOf": [
{
"$ref": "#/components/schemas/UserAvatarColor"
}
],
"nullable": true
},
"deletedAt": {
"format": "date-time",
"nullable": true,
@@ -14380,6 +14460,7 @@
}
},
"required": [
"avatarColor",
"deletedAt",
"email",
"id",