aboutsummaryrefslogtreecommitdiff
path: root/server/frontend/src/api-schema.d.ts
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-01-17 15:30:04 +0100
committerLinnea Gräf <nea@nea.moe>2025-01-17 15:30:04 +0100
commitaa7e28e799ce19f04c6c33782ea8d25ef4c3bb98 (patch)
treea84f850c1f88ce3c8a16b2fdb5de52fba3ad0edb /server/frontend/src/api-schema.d.ts
parentf49de9677285ba6287d049a6187ff00bf90ee77f (diff)
downloadLocalTransactionLedger-aa7e28e799ce19f04c6c33782ea8d25ef4c3bb98.tar.gz
LocalTransactionLedger-aa7e28e799ce19f04c6c33782ea8d25ef4c3bb98.tar.bz2
LocalTransactionLedger-aa7e28e799ce19f04c6c33782ea8d25ef4c3bb98.zip
feat(Server): Add frontend starter
Diffstat (limited to 'server/frontend/src/api-schema.d.ts')
-rw-r--r--server/frontend/src/api-schema.d.ts98
1 files changed, 98 insertions, 0 deletions
diff --git a/server/frontend/src/api-schema.d.ts b/server/frontend/src/api-schema.d.ts
new file mode 100644
index 0000000..920cd4b
--- /dev/null
+++ b/server/frontend/src/api-schema.d.ts
@@ -0,0 +1,98 @@
+/**
+ * This file was auto-generated by openapi-typescript.
+ * Do not make direct changes to the file.
+ */
+
+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;
+ };
+ "/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;
+}
+export type $defs = Record<string, never>;
+export interface operations {
+ listProfiles: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ playerId: string;
+ profileId: string;
+ }[];
+ };
+ };
+ };
+ };
+ getItemNames: {
+ parameters: {
+ query?: {
+ itemId?: string[];
+ };
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ [key: string]: string;
+ };
+ };
+ };
+ };
+ };
+}