Add Live Show settings in admin app

This commit is contained in:
Codex Agent
2026-01-05 15:02:21 +01:00
parent 99186e8e2f
commit 7bbce79394
11 changed files with 771 additions and 7 deletions

View File

@@ -60,6 +60,18 @@ export type TenantEventType = {
updated_at?: string | null;
};
export type LiveShowSettings = {
moderation_mode?: 'off' | 'manual' | 'trusted_only';
retention_window_hours?: number;
playback_mode?: 'newest_first' | 'balanced' | 'curated';
pace_mode?: 'auto' | 'fixed';
fixed_interval_seconds?: number;
layout_mode?: 'single' | 'split' | 'grid_burst';
effect_preset?: 'film_cut' | 'shutter_flash' | 'polaroid_toss' | 'parallax_glide' | 'light_effects';
effect_intensity?: number;
background_mode?: 'blur_last' | 'gradient' | 'solid' | 'brand';
};
export type TenantEvent = {
id: number;
name: string | Record<string, string>;
@@ -80,6 +92,7 @@ export type TenantEvent = {
settings?: Record<string, unknown> & {
engagement_mode?: 'tasks' | 'photo_only';
guest_upload_visibility?: 'review' | 'immediate';
live_show?: LiveShowSettings;
watermark?: WatermarkSettings;
watermark_allowed?: boolean | null;
watermark_serve_originals?: boolean | null;
@@ -717,6 +730,7 @@ type EventSavePayload = {
package_id?: number;
accepted_waiver?: boolean;
settings?: Record<string, unknown> & {
live_show?: LiveShowSettings;
watermark?: WatermarkSettings;
watermark_serve_originals?: boolean | null;
};