Skip to content
Sarj Workspace Sync

execution/trycomp-status

@sarj-ai/workspace-sync/execution/trycomp-status ยท Source

import { z } from "zod";
import { type TrycompSafetyReadModel } from "../trycomp/safety.ts";
import type { WorkspaceScheduleHealth } from "./workspace-schedule-health-repository.ts";
export interface ParentTrycompStatus {
legacy: TrycompSafetyReadModel;
parent: WorkspaceScheduleHealth;
scheduleSource: "workspace-directory";
selectedScheduleHealthy: boolean;
}
export type TrycompStatusResponse = TrycompSafetyReadModel | ParentTrycompStatus;
export declare const ParentTrycompStatusSchema: z.ZodType<ParentTrycompStatus>;
export declare const TrycompStatusResponseSchema: z.ZodType<TrycompStatusResponse>;
export declare function parentTrycompStatus(legacyRaw: TrycompSafetyReadModel, parentRaw: WorkspaceScheduleHealth): ParentTrycompStatus;