Live media
Declare host-owned live television using an opaque catalogue ID and an editor action. Requires matching SDK and host releases.
Public exports
Import from @scape-wtf/sdk.
GizmoMedia, validGizmoMedia, validGizmoMediaChannel.
Type declarations
Import the public exports listed above from the package entry point.
ts
export interface GizmoMedia {
kind: 'live-tv';
field: string;
action: string;
}
/** An opaque channel/feed key supplied by the host catalogue. */
export declare function validGizmoMediaChannel(value: unknown): value is string | null;
export declare function validGizmoMedia(value: unknown): value is GizmoMedia;1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Usage and limits
See Gizmo guides, working examples, and limits for lifecycle, validation and Scape behavior.
