d5da5d0022
* 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
19 lines
412 B
TypeScript
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 };
|