chore: generate
This commit is contained in:
parent
f584f80219
commit
9cd2e3a1c3
1 changed files with 1 additions and 4 deletions
|
|
@ -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, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue