feat(webhooks): add webhook fields to frontend types, api, and edit sheet

This commit is contained in:
2026-03-16 00:44:35 +01:00
parent 425a6898e4
commit dfebcc11ef
4 changed files with 122 additions and 19 deletions

View File

@@ -147,6 +147,8 @@ export interface ChannelResponse {
logo?: string | null;
logo_position: LogoPosition;
logo_opacity: number;
webhook_url?: string | null;
webhook_poll_interval_secs?: number;
created_at: string;
updated_at: string;
}
@@ -157,6 +159,8 @@ export interface CreateChannelRequest {
description?: string;
access_mode?: AccessMode;
access_password?: string;
webhook_url?: string;
webhook_poll_interval_secs?: number;
}
export interface UpdateChannelRequest {
@@ -173,6 +177,9 @@ export interface UpdateChannelRequest {
logo?: string | null;
logo_position?: LogoPosition;
logo_opacity?: number;
/** null = clear webhook */
webhook_url?: string | null;
webhook_poll_interval_secs?: number;
}
// Media & Schedule