diff options
author | Linnea Gräf <nea@nea.moe> | 2025-01-17 16:15:56 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-01-17 16:15:56 +0100 |
commit | d391ce632be29c49a612c64eb5f720238a46844d (patch) | |
tree | a0a8b92c9ec550a5c794fc6edaf9fd71e1621490 /server/frontend/src/api-schema.d.ts | |
parent | aa7e28e799ce19f04c6c33782ea8d25ef4c3bb98 (diff) | |
download | LocalTransactionLedger-d391ce632be29c49a612c64eb5f720238a46844d.tar.gz LocalTransactionLedger-d391ce632be29c49a612c64eb5f720238a46844d.tar.bz2 LocalTransactionLedger-d391ce632be29c49a612c64eb5f720238a46844d.zip |
feat(server): Add all in one http server
Diffstat (limited to 'server/frontend/src/api-schema.d.ts')
-rw-r--r-- | server/frontend/src/api-schema.d.ts | 154 |
1 files changed, 77 insertions, 77 deletions
diff --git a/server/frontend/src/api-schema.d.ts b/server/frontend/src/api-schema.d.ts index 920cd4b..93bedc9 100644 --- a/server/frontend/src/api-schema.d.ts +++ b/server/frontend/src/api-schema.d.ts @@ -4,95 +4,95 @@ */ export interface paths { - "/profiles": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** List all profiles and players known to ledger */ - get: operations["listProfiles"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; + "/profiles": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; }; - "/item": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** Get item names for item ids */ - get: operations["getItemNames"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; + /** List all profiles and players known to ledger */ + get: operations["listProfiles"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/item": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; }; + /** Get item names for item ids */ + get: operations["getItemNames"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; } export type webhooks = Record<string, never>; export interface components { - schemas: never; - responses: never; - parameters: never; - requestBodies: never; - headers: never; - pathItems: never; + schemas: never; + responses: never; + parameters: never; + requestBodies: never; + headers: never; + pathItems: never; } export type $defs = Record<string, never>; export interface operations { - listProfiles: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; + listProfiles: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - playerId: string; - profileId: string; - }[]; - }; - }; + content: { + "application/json": { + playerId: string; + profileId: string; + }[]; }; + }; + }; + }; + getItemNames: { + parameters: { + query?: { + itemId?: string[]; + }; + header?: never; + path?: never; + cookie?: never; }; - getItemNames: { - parameters: { - query?: { - itemId?: string[]; - }; - header?: never; - path?: never; - cookie?: never; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - [key: string]: string; - }; - }; - }; + content: { + "application/json": { + [key: string]: string; + }; }; + }; }; + }; } |