feat(tui): wire up undo/redo and revert for V2 sessions (#34263)
This commit is contained in:
parent
cd942d0669
commit
d1d7ebc2c6
20 changed files with 478 additions and 87 deletions
|
|
@ -251,6 +251,9 @@ describe("PublicApi OpenAPI v2 errors", () => {
|
|||
["post", "/session/{sessionID}/revert"],
|
||||
["post", "/session/{sessionID}/unrevert"],
|
||||
["delete", "/session/{sessionID}/message/{messageID}"],
|
||||
["post", "/api/session/{sessionID}/revert/stage"],
|
||||
["post", "/api/session/{sessionID}/revert/clear"],
|
||||
["post", "/api/session/{sessionID}/revert/commit"],
|
||||
] as const) {
|
||||
expect(componentName(responseRef(spec.paths[route[1]]?.[route[0]]?.responses?.["409"]) ?? "")).toBe(
|
||||
"SessionBusyError",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue