feat: I do not remember

This commit is contained in:
Wanjohi
2025-10-28 06:47:08 +03:00
parent 3a08e27614
commit caf0bbbee2
2 changed files with 10 additions and 8 deletions

View File

@@ -3,6 +3,7 @@ import { randomBytes } from "crypto";
export namespace Identifier {
export const prefixes = {
run: "run",
app: "app",
user: "usr",
steam: "stm",

View File

@@ -1,5 +1,6 @@
import { Hono } from "hono";
import { describeRoute, resolver } from "hono-openapi";
import { Session } from "@nestri/core/session/index";
export namespace SessionRoute {
export const route = new Hono().get(
@@ -10,14 +11,14 @@ export namespace SessionRoute {
summary: "List all active sessions",
description: "List all the current user's active sessions",
responses: {
200:{
description:"List of sessions",
content:{
"application/json":{
schema: resolver(Session.Info.array())
}
}
}
200: {
description: "List of sessions",
content: {
"application/json": {
schema: resolver(Session.Info.array()),
},
},
},
},
}),
);