From 5c798af16d2e6caf353ef8e6e334b9211daa03e3 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 16 Oct 2025 15:57:56 +0200 Subject: [PATCH] Add application command schema --- .idea/runConfigurations/Start_API.xml | 2 +- .idea/workspace.xml | 74 +++++++-------- assets/openapi.json | Bin 1330425 -> 1338672 bytes assets/schemas.json | Bin 3904246 -> 3912240 bytes .../api/bots/ApplicationCommandSchema.ts | 57 ++++++++++++ src/schemas/api/bots/index.ts | 18 ++++ src/schemas/api/index.ts | 1 + src/util/entities/ApplicationCommand.ts | 88 ++++++++++++++++++ src/util/entities/index.ts | 1 + .../1760622755598-ApplicationCommands.ts | 14 +++ ...760622755599-ReconcileMigrationAttempts.ts | 74 +++++++++++++++ 11 files changed, 291 insertions(+), 38 deletions(-) create mode 100644 src/schemas/api/bots/ApplicationCommandSchema.ts create mode 100644 src/schemas/api/bots/index.ts create mode 100644 src/util/entities/ApplicationCommand.ts create mode 100644 src/util/migration/postgres/1760622755598-ApplicationCommands.ts create mode 100644 src/util/migration/postgres/1760622755599-ReconcileMigrationAttempts.ts diff --git a/.idea/runConfigurations/Start_API.xml b/.idea/runConfigurations/Start_API.xml index edb214cf..df7b7470 100644 --- a/.idea/runConfigurations/Start_API.xml +++ b/.idea/runConfigurations/Start_API.xml @@ -5,7 +5,7 @@