Navigate to snapshots from the transcript
This commit is contained in:
+8
-4
@@ -245,7 +245,7 @@ export interface paths {
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
/** @description Everything in the task's worktree (committed, staged, unstaged and untracked, respecting .gitignore) as a tree, compared with the merge-base of the task branch and the project's default branch, or with since when given. The worktree's own index is not touched. */
|
||||
/** @description Everything in the task's worktree (committed, staged, unstaged and untracked, respecting .gitignore) as a tree, compared with the merge-base of the task branch and the project's default branch, or with since when given. The worktree's own index is not touched. With snapshot, the tree is that snapshot's instead, compared with the merge-base of its commit and the default branch, or with the previous snapshot's tree when step is true. */
|
||||
get: operations["getTaskChanges"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
@@ -599,9 +599,9 @@ export interface components {
|
||||
title: string;
|
||||
};
|
||||
TaskChanges: {
|
||||
/** @description Merge-base commit of the task branch and the default branch. */
|
||||
/** @description The commit or tree compared with: the merge-base of the task branch and the default branch, since, or the previous snapshot's tree. */
|
||||
base: string;
|
||||
/** @description Tree of the worktree as if everything were staged. */
|
||||
/** @description Tree of the worktree as if everything were staged, or the snapshot's tree. */
|
||||
tree: string;
|
||||
files: components["schemas"]["FileChange"][];
|
||||
};
|
||||
@@ -1266,8 +1266,12 @@ export interface operations {
|
||||
getTaskChanges: {
|
||||
parameters: {
|
||||
query?: {
|
||||
/** @description A commit to compare with instead of the merge-base, such as a user.message event's head. */
|
||||
/** @description A commit to compare with instead of the merge-base, such as a user.message event's head. Not allowed with snapshot. */
|
||||
since?: string;
|
||||
/** @description A snapshot's n: show the task as it was in that snapshot rather than the live worktree. */
|
||||
snapshot?: number;
|
||||
/** @description With snapshot: compare with the previous snapshot (the snapshot commit's parent for the first one). */
|
||||
step?: boolean;
|
||||
};
|
||||
header?: never;
|
||||
path: {
|
||||
|
||||
Reference in New Issue
Block a user