Skip to content
Sarj Workspace Sync

execution/create-workspace-directory-workflow-executor

@sarj-ai/workspace-sync/execution/create-workspace-directory-workflow-executor ยท Source

import type { PreparedOperationApply } from "../operations/kernel.ts";
import type { OperationWorkflowExecutor } from "../operations/workflow-executor.ts";
import { type WorkspaceDirectoryPlan } from "./contracts.ts";
import { type WorkspaceDirectoryWorkflowBinding } from "./workflow.ts";
type PreparedApply = Extract<PreparedOperationApply, {
ok: true;
}>;
export declare function createWorkspaceDirectoryWorkflowExecutor(binding: WorkspaceDirectoryWorkflowBinding): OperationWorkflowExecutor;
export declare function workspaceDirectoryPlanFromPending(prepared: Pick<PreparedApply, "pending">): WorkspaceDirectoryPlan;
export {};