feat(core): rework workspace integration and adaptor interface (#15895)
This commit is contained in:
parent
e79d41c70e
commit
7f37acdaaa
23 changed files with 1614 additions and 474 deletions
|
|
@ -22,6 +22,7 @@ import { Flag } from "../flag/flag"
|
|||
import { Command } from "../command"
|
||||
import { Global } from "../global"
|
||||
import { WorkspaceContext } from "../control-plane/workspace-context"
|
||||
import { WorkspaceRouterMiddleware } from "../control-plane/workspace-router-middleware"
|
||||
import { ProjectRoutes } from "./routes/project"
|
||||
import { SessionRoutes } from "./routes/session"
|
||||
import { PtyRoutes } from "./routes/pty"
|
||||
|
|
@ -218,6 +219,7 @@ export namespace Server {
|
|||
},
|
||||
})
|
||||
})
|
||||
.use(WorkspaceRouterMiddleware)
|
||||
.get(
|
||||
"/doc",
|
||||
openAPIRouteHandler(app, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue