mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 02:13:00 +00:00
Use subpath imports for lambert-server, fix openapi.js
This commit is contained in:
1 parent
d84b8707ee
commit
2c1be0fa53
85 files changed
+83
-83
No files matched your search
@@ -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 });
|
||||
|
||||
@@ -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 });
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user