frontend: align types to backend, playout HLS, rm Jellyfin proxy (#12)
This commit is contained in:
@@ -32,7 +32,7 @@ import { ScheduleHistoryDialog } from "./components/schedule-history-dialog";
|
||||
import type {
|
||||
ChannelResponse,
|
||||
ProgrammingBlock,
|
||||
RecyclePolicy,
|
||||
RotationPolicy,
|
||||
Weekday,
|
||||
} from "@/lib/types";
|
||||
|
||||
@@ -67,7 +67,6 @@ export default function DashboardPage() {
|
||||
timezone: string;
|
||||
description: string;
|
||||
access_mode?: import("@/lib/types").AccessMode;
|
||||
access_password?: string;
|
||||
}) => {
|
||||
createChannel.mutate(
|
||||
{
|
||||
@@ -75,7 +74,6 @@ export default function DashboardPage() {
|
||||
timezone: data.timezone,
|
||||
description: data.description || undefined,
|
||||
access_mode: data.access_mode,
|
||||
access_password: data.access_password,
|
||||
},
|
||||
{ onSuccess: () => setCreateOpen(false) },
|
||||
);
|
||||
@@ -88,12 +86,11 @@ export default function DashboardPage() {
|
||||
description: string;
|
||||
timezone: string;
|
||||
schedule_config: { day_blocks: Record<Weekday, ProgrammingBlock[]> };
|
||||
recycle_policy: RecyclePolicy;
|
||||
rotation_policy: RotationPolicy;
|
||||
auto_schedule: boolean;
|
||||
access_mode?: import("@/lib/types").AccessMode;
|
||||
access_password?: string;
|
||||
access_mode?: string;
|
||||
logo?: string | null;
|
||||
logo_position?: import("@/lib/types").LogoPosition;
|
||||
logo_position?: string;
|
||||
logo_opacity?: number;
|
||||
webhook_url?: string | null;
|
||||
webhook_poll_interval_secs?: number;
|
||||
|
||||
Reference in New Issue
Block a user