webhooks (#1)

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-03-15 23:51:41 +00:00
parent 2ba9bfbf2f
commit db461db270
23 changed files with 981 additions and 65 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