Skip to content
Sarj Workspace Sync

execution/create-reviewed-slack-lifecycle-executor

@sarj-ai/workspace-sync/execution/create-reviewed-slack-lifecycle-executor ยท Source

import type { OperationWorkflowExecutor } from "../operations/workflow-executor.ts";
import type { IReviewedSlackLifecycleIntentAdmission, IReviewedSlackLifecycleIntentClaims } from "./reviewed-slack-lifecycle-intent.ts";
import type { IWorkspaceScheduleHealthRepository } from "./workspace-schedule-health-repository.ts";
interface ExecutorInput {
enabled: boolean;
intents: IReviewedSlackLifecycleIntentAdmission & Pick<IReviewedSlackLifecycleIntentClaims, "read">;
legacy: OperationWorkflowExecutor;
now?: () => number;
schedules: Pick<IWorkspaceScheduleHealthRepository, "read" | "resolveAppliedReviewedIntent">;
}
export declare function createReviewedSlackLifecycleExecutor(input: ExecutorInput): OperationWorkflowExecutor;
export {};