Skip to content
Sarj Workspace Sync

execution/managed-slices

@sarj-ai/workspace-sync/execution/managed-slices ยท Source

import { JsonValueSchema, type JsonValue } from "../operations/schemas.ts";
import type { WorkspaceDirectoryPlan } from "./contracts.ts";
type SlackGroupsChannelsPlan = WorkspaceDirectoryPlan["branches"][2];
type SlackProfilesPlan = WorkspaceDirectoryPlan["branches"][0];
export declare function slackGroupsChannelsBeforeSlice(branch: SlackGroupsChannelsPlan): JsonValue;
export declare function slackGroupsChannelsAfterSlice(branch: SlackGroupsChannelsPlan): JsonValue;
export declare function slackProfilesBeforeSlice(branch: SlackProfilesPlan): JsonValue;
export declare function slackProfilesAfterSlice(branch: SlackProfilesPlan): JsonValue;
export declare function fanoutSlice(plan: WorkspaceDirectoryPlan, side: "after" | "before"): ReturnType<typeof JsonValueSchema.parse>;
export {};