Files
kandev/apps/web/components/task/changes-diff-target.ts
T
José Almeida d5da5d0022 fix(web): select pull request on review surface (#1857)
* fix(web): select pull request on review surface

* fix(web): address review feedback

* test(web): stabilize tablet review target assertion

* fix(web): address late review feedback

* test(web): cover PR review boundary branches
2026-07-22 17:52:58 +01:00

19 lines
412 B
TypeScript

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