mirror of
https://github.com/immich-app/immich.git
synced 2025-06-20 17:03:14 +02:00
feat(web): make google cast opt in (#18514)
* add setting switch this isnt bound to anything yet * make google casting opt-in * doc updates * lint docs * remove unneeded translation items * update mobile openai defs * fix failing test we need to mock user prefs since CastButton uses it
This commit is contained in:
parent
b054e9dc2c
commit
78224961d1
19 changed files with 383 additions and 3 deletions
open-api/typescript-sdk/src
|
@ -128,6 +128,9 @@ export type UserAdminUpdateDto = {
|
|||
shouldChangePassword?: boolean;
|
||||
storageLabel?: string | null;
|
||||
};
|
||||
export type CastResponse = {
|
||||
gCastEnabled: boolean;
|
||||
};
|
||||
export type DownloadResponse = {
|
||||
archiveSize: number;
|
||||
includeEmbeddedVideos: boolean;
|
||||
|
@ -164,6 +167,7 @@ export type TagsResponse = {
|
|||
sidebarWeb: boolean;
|
||||
};
|
||||
export type UserPreferencesResponseDto = {
|
||||
cast: CastResponse;
|
||||
download: DownloadResponse;
|
||||
emailNotifications: EmailNotificationsResponse;
|
||||
folders: FoldersResponse;
|
||||
|
@ -177,6 +181,9 @@ export type UserPreferencesResponseDto = {
|
|||
export type AvatarUpdate = {
|
||||
color?: UserAvatarColor;
|
||||
};
|
||||
export type CastUpdate = {
|
||||
gCastEnabled?: boolean;
|
||||
};
|
||||
export type DownloadUpdate = {
|
||||
archiveSize?: number;
|
||||
includeEmbeddedVideos?: boolean;
|
||||
|
@ -214,6 +221,7 @@ export type TagsUpdate = {
|
|||
};
|
||||
export type UserPreferencesUpdateDto = {
|
||||
avatar?: AvatarUpdate;
|
||||
cast?: CastUpdate;
|
||||
download?: DownloadUpdate;
|
||||
emailNotifications?: EmailNotificationsUpdate;
|
||||
folders?: FoldersUpdate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue