Source workspace path pattern (#26632)
This commit is contained in:
parent
235a86fb60
commit
f220f02a2f
4 changed files with 7 additions and 11 deletions
|
|
@ -17,6 +17,7 @@ import {
|
|||
ToolListQuery,
|
||||
} from "../../src/server/routes/instance/httpapi/groups/experimental"
|
||||
import { InstancePaths, VcsDiffQuery } from "../../src/server/routes/instance/httpapi/groups/instance"
|
||||
import { WorkspacePaths } from "../../src/server/routes/instance/httpapi/groups/workspace"
|
||||
import {
|
||||
ListQuery as SessionListQuery,
|
||||
MessagesQuery,
|
||||
|
|
@ -82,6 +83,7 @@ const pathParamPatterns = [
|
|||
{ method: "post", path: "/permission/:requestID/reply", name: "requestID", pattern: "^per" },
|
||||
{ method: "post", path: "/question/:requestID/reply", name: "requestID", pattern: "^que" },
|
||||
{ method: "put", path: PtyPaths.update, name: "ptyID", pattern: "^pty" },
|
||||
{ method: "delete", path: WorkspacePaths.remove, name: "id", pattern: "^wrk" },
|
||||
] satisfies Array<{ method: Method; path: string; name: string; pattern: string }>
|
||||
|
||||
function app() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue