@stackbit/types
Version:
Types for Stackbit config and Content Source Interface
15 lines (13 loc) • 509 B
text/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 };