feat(webhooks): add webhook fields to frontend types, api, and edit sheet
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user