Files
kandev/apps/web/components/task/changes-diff-target.ts
T

17 lines
372 B
TypeScript

export type DiffSource = "uncommitted" | "committed" | "pr";
export type OpenDiffOptions = {
source?: DiffSource;
repositoryName?: string;
};
export type DiffSheetMode =
| { kind: "all" }
| {
kind: "file";
path: string;
sourceFilter?: "all" | DiffSource;
repositoryName?: string;
}
| { kind: "commit"; sha: string; repo?: string };