summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-06-12 16:27:38 +0200
committerRory& <root@rory.gay>2026-06-12 16:27:38 +0200
commit96bb1ed05c7da098a693ef781e0874b5f9d3ba5d (patch)
treed6101462a387ff6523fce39fa0bdb58789a797ef /scripts
parentMove migrations to database (diff)
downloadserver-ts-96bb1ed05c7da098a693ef781e0874b5f9d3ba5d.tar.xz
Move more extensions to extensions
Diffstat (limited to 'scripts')
-rw-r--r--scripts/openapi.js3
-rw-r--r--scripts/schema.js2
2 files changed, 2 insertions, 3 deletions
diff --git a/scripts/openapi.js b/scripts/openapi.js

index a6033cd6..64c7babb 100644 --- a/scripts/openapi.js +++ b/scripts/openapi.js
@@ -18,7 +18,7 @@ process.env.LOG_ROUTES = "false"; -const { Stopwatch } = require("../dist/util/util/Stopwatch"); +const { Stopwatch } = require("../dist/extensions/Stopwatch"); const totalSw = Stopwatch.startNew(); require("module-alias/register"); @@ -26,7 +26,6 @@ const getRouteDescriptions = require("./util/getRouteDescriptions"); const path = require("path"); const fs = require("fs"); const { NO_AUTHORIZATION_ROUTES } = require("../dist/api/middlewares/Authentication"); -require("../dist/extensions"); const { bgRedBright, bgYellow, black, bgYellowBright, blue, white } = require("picocolors"); const openapiPath = path.join(__dirname, "..", "assets", "openapi.json"); diff --git a/scripts/schema.js b/scripts/schema.js
index f8733809..54d9335d 100644 --- a/scripts/schema.js +++ b/scripts/schema.js
@@ -19,7 +19,7 @@ /* Regenerates the `spacebarchat/server/assets/schemas.json` file, used for API/Gateway input validation. */ -const { Stopwatch } = require("../dist/util/util/Stopwatch"); +const { Stopwatch } = require("../dist/extensions/Stopwatch"); const totalSw = Stopwatch.startNew(); const conWarn = console.warn;