chore(web): change license wording and other things (#11309)

This commit is contained in:
Alex 2024-07-26 10:34:35 -05:00 committed by GitHub
parent bc20710c6d
commit ef7a6bb246
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 1045 additions and 518 deletions

View file

@ -9775,6 +9775,32 @@
],
"type": "object"
},
"PurchaseResponse": {
"properties": {
"hideBuyButtonUntil": {
"type": "string"
},
"showSupportBadge": {
"type": "boolean"
}
},
"required": [
"hideBuyButtonUntil",
"showSupportBadge"
],
"type": "object"
},
"PurchaseUpdate": {
"properties": {
"hideBuyButtonUntil": {
"type": "string"
},
"showSupportBadge": {
"type": "boolean"
}
},
"type": "object"
},
"QueueStatusDto": {
"properties": {
"isActive": {
@ -11742,13 +11768,17 @@
},
"memories": {
"$ref": "#/components/schemas/MemoryResponse"
},
"purchase": {
"$ref": "#/components/schemas/PurchaseResponse"
}
},
"required": [
"avatar",
"download",
"emailNotifications",
"memories"
"memories",
"purchase"
],
"type": "object"
},
@ -11765,6 +11795,9 @@
},
"memories": {
"$ref": "#/components/schemas/MemoryUpdate"
},
"purchase": {
"$ref": "#/components/schemas/PurchaseUpdate"
}
},
"type": "object"

View file

@ -95,11 +95,16 @@ export type EmailNotificationsResponse = {
export type MemoryResponse = {
enabled: boolean;
};
export type PurchaseResponse = {
hideBuyButtonUntil: string;
showSupportBadge: boolean;
};
export type UserPreferencesResponseDto = {
avatar: AvatarResponse;
download: DownloadResponse;
emailNotifications: EmailNotificationsResponse;
memories: MemoryResponse;
purchase: PurchaseResponse;
};
export type AvatarUpdate = {
color?: UserAvatarColor;
@ -115,11 +120,16 @@ export type EmailNotificationsUpdate = {
export type MemoryUpdate = {
enabled?: boolean;
};
export type PurchaseUpdate = {
hideBuyButtonUntil?: string;
showSupportBadge?: boolean;
};
export type UserPreferencesUpdateDto = {
avatar?: AvatarUpdate;
download?: DownloadUpdate;
emailNotifications?: EmailNotificationsUpdate;
memories?: MemoryUpdate;
purchase?: PurchaseUpdate;
};
export type AlbumUserResponseDto = {
role: AlbumUserRole;