@isaac-platform/isaac-integration-sdk
Version:
A Typescript SDK for integrating with ISAAC
23 lines • 696 B
TypeScript
import { IsaacScheduleEntryType, IsaacScheduleItem } from "../types.js";
export type IsaacBlockType = IsaacScheduleEntryType & {
items: IsaacBlockItemEntry[];
};
export type IsaacBlockItemEntry = IsaacScheduleItem & {
type: "EVENT" | "PLAYABLE" | "BLOCK" | "PLAYLIST" | "START_PLAYLIST" | "STOP_PLAYLIST";
startTimeOffset: number;
endTimeOffset: number;
zone?: any;
};
export interface IsaacBlockInterface {
_id?: number;
displayName: string;
description?: string;
duration?: number;
zone?: any;
_links?: string[];
createdAt: string;
updatedAt: string;
zoneId: number;
items: IsaacBlockItemEntry[];
}
//# sourceMappingURL=types.d.ts.map