mirror of
https://github.com/nestriness/nestri.git
synced 2026-08-01 17:34:15 +03:00
feat: I do not remember
This commit is contained in:
@@ -3,6 +3,7 @@ import { randomBytes } from "crypto";
|
|||||||
|
|
||||||
export namespace Identifier {
|
export namespace Identifier {
|
||||||
export const prefixes = {
|
export const prefixes = {
|
||||||
|
run: "run",
|
||||||
app: "app",
|
app: "app",
|
||||||
user: "usr",
|
user: "usr",
|
||||||
steam: "stm",
|
steam: "stm",
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import { Hono } from "hono";
|
import { Hono } from "hono";
|
||||||
import { describeRoute, resolver } from "hono-openapi";
|
import { describeRoute, resolver } from "hono-openapi";
|
||||||
|
import { Session } from "@nestri/core/session/index";
|
||||||
|
|
||||||
export namespace SessionRoute {
|
export namespace SessionRoute {
|
||||||
export const route = new Hono().get(
|
export const route = new Hono().get(
|
||||||
@@ -14,10 +15,10 @@ export namespace SessionRoute {
|
|||||||
description: "List of sessions",
|
description: "List of sessions",
|
||||||
content: {
|
content: {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
schema: resolver(Session.Info.array())
|
schema: resolver(Session.Info.array()),
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user