feat(channel): add logo support with position and opacity settings
This commit is contained in:
@@ -4,6 +4,8 @@ export type ContentType = "movie" | "episode" | "short";
|
||||
|
||||
export type AccessMode = "public" | "password_protected" | "account_required" | "owner_only";
|
||||
|
||||
export type LogoPosition = "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
||||
|
||||
export type FillStrategy = "best_fit" | "sequential" | "random";
|
||||
|
||||
export interface MediaFilter {
|
||||
@@ -110,6 +112,9 @@ export interface ChannelResponse {
|
||||
recycle_policy: RecyclePolicy;
|
||||
auto_schedule: boolean;
|
||||
access_mode: AccessMode;
|
||||
logo?: string | null;
|
||||
logo_position: LogoPosition;
|
||||
logo_opacity: number;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
}
|
||||
@@ -132,6 +137,10 @@ export interface UpdateChannelRequest {
|
||||
access_mode?: AccessMode;
|
||||
/** Empty string clears the password. */
|
||||
access_password?: string;
|
||||
/** null = clear logo */
|
||||
logo?: string | null;
|
||||
logo_position?: LogoPosition;
|
||||
logo_opacity?: number;
|
||||
}
|
||||
|
||||
// Media & Schedule
|
||||
|
||||
Reference in New Issue
Block a user