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