mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-30 13:51:48 +08:00
chore: generate
This commit is contained in:
@@ -46,10 +46,7 @@ function routeKey(route: ReturnType<typeof InstanceRoutes>["routes"][number]) {
|
||||
}
|
||||
|
||||
function reflectedHttpApiRoutes() {
|
||||
const routes = [
|
||||
`GET ${EventPaths.event}`,
|
||||
`GET ${PtyPaths.connect}`,
|
||||
]
|
||||
const routes = [`GET ${EventPaths.event}`, `GET ${PtyPaths.connect}`]
|
||||
|
||||
function addRoutes<Id extends string, Groups extends HttpApiGroup.Any>(api: HttpApi.HttpApi<Id, Groups>) {
|
||||
HttpApi.reflect(api, {
|
||||
|
||||
Reference in New Issue
Block a user