Skip to content
Sarj Workspace Sync

execution/workspace-branch-source-identity

@sarj-ai/workspace-sync/execution/workspace-branch-source-identity ยท Source

import type { ManagedChange } from "../operations/schemas.ts";
import type { WorkspaceDirectoryPlan } from "./contracts.ts";
type Branch = WorkspaceDirectoryPlan["branches"][number];
export declare function workspaceBranchSourceIdentity(branch: Branch, managedChange?: ManagedChange): {
kind: "identity";
googleUserId: string & import("zod").$brand<"GoogleUserId">;
providerAccountId: string;
systemId: "ashby" | "attio" | "github" | "google-workspace" | "linear" | "pagerduty" | "posthog" | "sentry" | "slack" | "trycomp";
} | {
kind: "resource";
systemId: string;
resourceId: string;
} | {
kind: "pending-invitation";
systemId: "trycomp";
googleUserId: string & import("zod").$brand<"GoogleUserId">;
email: string;
};
export {};