initialized

This commit is contained in:
Dax Raad
2025-06-03 14:24:45 -04:00
parent be4155a838
commit caf9fdc893
5 changed files with 382 additions and 18 deletions

View File

@@ -100,6 +100,26 @@ export namespace Server {
return c.json(App.info())
},
)
.post(
"/app_initialize",
describeRoute({
description: "Initialize the app",
responses: {
200: {
description: "Initialize the app",
content: {
"application/json": {
schema: resolver(z.boolean()),
},
},
},
},
}),
async (c) => {
await App.initialize()
return c.json(true)
},
)
.post(
"/session_initialize",
describeRoute({