n8n
Version:
n8n Workflow Automation Tool
9 lines (8 loc) • 321 B
TypeScript
export interface WorkflowPublishGuard {
assertCanPublish(workflowId: string): Promise<void>;
}
export declare class WorkflowPublishGuardProxy implements WorkflowPublishGuard {
private provider;
registerProvider(provider: WorkflowPublishGuard): void;
assertCanPublish(workflowId: string): Promise<void>;
}