Skip to content

Commit

Permalink
Merge pull request #138 from waifuvault/fix-build
Browse files Browse the repository at this point in the history
fix prod build
  • Loading branch information
VictoriqueMoe authored Mar 24, 2024
2 parents e3a64d7 + 8f6452b commit 947beb2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/controllers/rest/impl/security/PassportCtrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { CustomUserInfoModel } from "../../../../model/auth/CustomUserInfoModel.
import { UserService } from "../../../../services/UserService.js";
import { CaptchaMiddleWare } from "../../../../middleware/endpoint/CaptchaMiddleWare.js";
import { DefaultRenderException } from "../../../../model/rest/DefaultRenderException.js";
import { Request, type Response } from "express";
import type { Request, Response } from "express";

@Controller("/auth")
@Scope(ProviderScope.SINGLETON)
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/secure/AdminView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Controller } from "@tsed/di";
import { Authorize } from "@tsed/passport";
import type { CustomUserInfoModel } from "../../model/auth/CustomUserInfoModel.js";
import { Req, Res } from "@tsed/common";
import { Request, type Response } from "express";
import type { Request, Response } from "express";

@Controller("/")
@Hidden()
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/views/HomeView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Controller, Inject } from "@tsed/di";
import { Req, Res } from "@tsed/common";
import CaptchaServices from "../../model/constants/CaptchaServices.js";
import { CaptchaManager } from "../../manager/CaptchaManager.js";
import { Request, type Response } from "express";
import type { Request, Response } from "express";

@Controller("/")
@Hidden()
Expand Down
10 changes: 5 additions & 5 deletions src/engine/impl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
* @file Automatically generated by barrelsby.
*/

export * from "./ErrorProcessors/ProcessUploadErrorProcessorEngine.js";
export * from "./HttpErrorRenderers/AuthenticationErrorRenderEngine.js";
export * from "./HttpErrorRenderers/DefaultHttpRenderEngine.js";
export * from "./HttpErrorRenderers/FileProtectedRenderEngine.js";
export * from "./HttpErrorRenderers/ReCAPTCHALoginExceptionRenderEngine.js";
export * from "./av/ClamAvEngine.js";
export * from "./av/MsDefenderEngine.js";
export * from "./captcha/AbstractCaptchaEngine.js";
export * from "./captcha/HcaptchaEngine.js";
export * from "./captcha/ReCAPTCHAEngine.js";
export * from "./captcha/TurnstileCaptchaEngine.js";
export * from "./ErrorProcessors/ProcessUploadErrorProcessorEngine.js";
export * from "./HttpErrorRenderers/AuthenticationErrorRenderEngine.js";
export * from "./HttpErrorRenderers/DefaultHttpRenderEngine.js";
export * from "./HttpErrorRenderers/FileProtectedRenderEngine.js";
export * from "./HttpErrorRenderers/ReCAPTCHALoginExceptionRenderEngine.js";
2 changes: 1 addition & 1 deletion src/middleware/endpoint/CaptchaMiddleWare.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Middleware, MiddlewareMethods } from "@tsed/platform-middlewares";
import { Inject } from "@tsed/di";
import { CaptchaManager } from "../../manager/CaptchaManager.js";
import type { Request } from "express";
import { Req } from "@tsed/common";
import { Request } from "express";

@Middleware()
export class CaptchaMiddleWare implements MiddlewareMethods {
Expand Down
2 changes: 1 addition & 1 deletion src/middleware/global/IpFilterMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Inject } from "@tsed/di";
import { IpBlackListRepo } from "../../db/repo/IpBlackListRepo.js";
import { Forbidden } from "@tsed/exceptions";
import { NetworkUtils } from "../../utils/Utils.js";
import { Request } from "express";
import type { Request } from "express";

@Middleware()
export class IpFilterMiddleware implements MiddlewareMethods {
Expand Down

0 comments on commit 947beb2

Please sign in to comment.