added scene manager

This commit is contained in:
IDONTSUDO 2024-01-23 17:26:59 +03:00
parent 2adb939f37
commit 9028186a74
34 changed files with 962 additions and 281 deletions

View file

@ -6,7 +6,7 @@ export const validationModelMiddleware = (
type: any,
value = "body",
skipMissingProperties = false,
whitelist = true,
whitelist = false,
forbidNonWhitelisted = true
): RequestHandler => {
return (req, res, next) => {

View file

@ -3,7 +3,7 @@ import { ReadFileAndParseJsonUseCase } from "../usecases/read_file_and_parse_jso
import { Result } from "../helpers/result";
import { validate, ValidationError } from "class-validator";
const skipMissingProperties = false,
whitelist = true,
whitelist = false,
forbidNonWhitelisted = true;
export class ReadingJsonFileAndConvertingToInstanceClassScenario<T> {