Use subpath imports for lambert-server, fix openapi.js

This commit is contained in:
Rory& committed 2026-06-12 17:58:18 +02:00
1 parent d84b8707ee
commit 2c1be0fa53
85 files changed
+83 -83

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
import { route } from "@spacebar/api";
import { BackupCode, User, generateToken } from "@spacebar/util";
import { Request, Response, Router } from "express";
import { HTTPError } from "lambert-server";
import { HTTPError } from "lambert-server/HTTPError";
import { verifyToken } from "node-2fa";
import { TotpSchema } from "@spacebar/schemas";
const router = Router({ mergeParams: true });
+1 -1
View File
@@ -20,7 +20,7 @@ import { route } from "@spacebar/api";
import { generateToken, SecurityKey, User, verifyWebAuthnToken, WebAuthn } from "@spacebar/util";
import { Request, Response, Router } from "express";
import { ExpectedAssertionResult } from "fido2-lib";
import { HTTPError } from "lambert-server";
import { HTTPError } from "lambert-server/HTTPError";
import { WebAuthnTotpSchema } from "@spacebar/schemas";
const router = Router({ mergeParams: true });
+1 -1
View File
@@ -20,7 +20,7 @@ import { route, verifyCaptcha } from "@spacebar/api";
import { Config, FieldErrors, Invite, User, ValidRegistrationToken, generateToken, IpDataClient, AbuseIpDbClient, TimeSpan, Stopwatch } from "@spacebar/util";
import bcrypt from "bcrypt";
import { Request, Response, Router } from "express";
import { HTTPError } from "lambert-server";
import { HTTPError } from "lambert-server/HTTPError";
import { MoreThan } from "typeorm";
import { RegisterSchema } from "@spacebar/schemas";
import { BcryptWorkerPool } from "../../../util/util/workers/bcrypt/BcryptWorkerPool";
+1 -1
View File
@@ -19,7 +19,7 @@
import { route } from "@spacebar/api";
import { Email, User } from "@spacebar/util";
import { Request, Response, Router } from "express";
import { HTTPError } from "lambert-server";
import { HTTPError } from "lambert-server/HTTPError";
const router = Router({ mergeParams: true });
router.post(