mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 20:07:41 +09: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:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user