@stackbit/types
Version:
Types for Stackbit config and Content Source Interface
17 lines • 578 B
TypeScript
export type ScheduledActionState = 'scheduled' | 'succeeded' | 'executing' | 'cancelled' | 'failed';
export type ScheduledActionActionType = 'publish' | 'unpublish';
export interface ScheduledAction {
id: string;
name: string;
action: ScheduledActionActionType;
state: ScheduledActionState;
createdAt?: string;
createdBy?: string;
executeAt: string;
documentIds: string[];
}
export type ScheduledActionWithSource = ScheduledAction & {
srcType: string;
srcProjectId: string;
};
//# sourceMappingURL=content-source-scheduled-action.d.ts.map