@nestia/core 3.2.6 → 3.3.0-dev.20240627
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/adaptors/WebSocketAdaptor.d.ts +0 -1
- package/lib/decorators/EncryptedBody.js +1 -2
- package/lib/decorators/EncryptedBody.js.map +1 -1
- package/lib/decorators/EncryptedController.js +1 -2
- package/lib/decorators/EncryptedController.js.map +1 -1
- package/lib/decorators/EncryptedModule.js +1 -2
- package/lib/decorators/EncryptedModule.js.map +1 -1
- package/lib/decorators/EncryptedRoute.d.ts +5 -5
- package/lib/decorators/PlainBody.js +1 -2
- package/lib/decorators/PlainBody.js.map +1 -1
- package/lib/decorators/SwaggerCustomizer.js +1 -2
- package/lib/decorators/SwaggerCustomizer.js.map +1 -1
- package/lib/decorators/TypedBody.js +1 -2
- package/lib/decorators/TypedBody.js.map +1 -1
- package/lib/decorators/TypedException.js +1 -2
- package/lib/decorators/TypedException.js.map +1 -1
- package/lib/decorators/TypedHeaders.js +1 -2
- package/lib/decorators/TypedHeaders.js.map +1 -1
- package/lib/decorators/TypedParam.js +2 -3
- package/lib/decorators/TypedParam.js.map +1 -1
- package/lib/decorators/TypedQuery.d.ts +5 -5
- package/lib/decorators/TypedQuery.js +1 -2
- package/lib/decorators/TypedQuery.js.map +1 -1
- package/lib/decorators/TypedRoute.d.ts +5 -5
- package/lib/decorators/WebSocketRoute.js +1 -2
- package/lib/decorators/WebSocketRoute.js.map +1 -1
- package/lib/decorators/internal/NoTransformConfigureError.js +1 -2
- package/lib/decorators/internal/NoTransformConfigureError.js.map +1 -1
- package/lib/decorators/internal/get_path_and_querify.js +1 -1
- package/lib/decorators/internal/get_path_and_stringify.js +1 -1
- package/lib/decorators/internal/headers_to_object.js +1 -2
- package/lib/decorators/internal/headers_to_object.js.map +1 -1
- package/lib/decorators/internal/route_error.js +1 -2
- package/lib/decorators/internal/route_error.js.map +1 -1
- package/lib/decorators/internal/validate_request_body.js +1 -1
- package/lib/decorators/internal/validate_request_form_data.js +1 -1
- package/lib/decorators/internal/validate_request_headers.js +1 -1
- package/lib/decorators/internal/validate_request_query.js +1 -1
- package/lib/programmers/PlainBodyProgrammer.d.ts +0 -1
- package/lib/programmers/TypedBodyProgrammer.d.ts +0 -1
- package/lib/programmers/TypedExceptionProgrammer.d.ts +0 -1
- package/lib/programmers/TypedFormDataBodyProgrammer.d.ts +0 -1
- package/lib/programmers/TypedHeadersProgrammer.d.ts +0 -1
- package/lib/programmers/TypedParamProgrammer.d.ts +0 -1
- package/lib/programmers/TypedQueryBodyProgrammer.d.ts +0 -1
- package/lib/programmers/TypedQueryProgrammer.d.ts +0 -1
- package/lib/programmers/TypedQueryRouteProgrammer.d.ts +0 -1
- package/lib/programmers/TypedRouteProgrammer.d.ts +0 -1
- package/lib/programmers/http/HttpAssertQuerifyProgrammer.d.ts +0 -1
- package/lib/programmers/http/HttpIsQuerifyProgrammer.d.ts +0 -1
- package/lib/programmers/http/HttpQuerifyProgrammer.d.ts +0 -1
- package/lib/programmers/http/HttpValidateQuerifyProgrammer.d.ts +0 -1
- package/lib/transform.d.ts +0 -1
- package/lib/transformers/FileTransformer.d.ts +0 -1
- package/lib/transformers/MethodTransformer.d.ts +0 -1
- package/lib/transformers/NodeTransformer.d.ts +0 -1
- package/lib/transformers/ParameterDecoratorTransformer.d.ts +0 -1
- package/lib/transformers/ParameterTransformer.d.ts +0 -1
- package/lib/transformers/TypedExceptionTransformer.d.ts +0 -1
- package/lib/transformers/TypedRouteTransformer.d.ts +0 -1
- package/lib/transformers/WebSocketRouteTransformer.d.ts +0 -1
- package/package.json +7 -7
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.EncryptedBody =
|
|
12
|
+
exports.EncryptedBody = EncryptedBody;
|
|
13
13
|
const AesPkcs5_1 = require("@nestia/fetcher/lib/AesPkcs5");
|
|
14
14
|
const common_1 = require("@nestjs/common");
|
|
15
15
|
const typia_1 = require("typia");
|
|
@@ -66,7 +66,6 @@ function EncryptedBody(validator) {
|
|
|
66
66
|
});
|
|
67
67
|
})();
|
|
68
68
|
}
|
|
69
|
-
exports.EncryptedBody = EncryptedBody;
|
|
70
69
|
Object.assign(EncryptedBody, typia_1.is);
|
|
71
70
|
Object.assign(EncryptedBody, typia_1.assert);
|
|
72
71
|
Object.assign(EncryptedBody, typia_1.validate);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EncryptedBody.js","sourceRoot":"","sources":["../../src/decorators/EncryptedBody.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EncryptedBody.js","sourceRoot":"","sources":["../../src/decorators/EncryptedBody.ts"],"names":[],"mappings":";;;;;;;;;;;AAuCA,sCAqCC;AA5ED,2DAAwD;AAExD,2CAIwB;AAGxB,iCAA6C;AAG7C,kDAA+C;AAC/C,oEAAuE;AACvE,4DAAyD;AACzD,oEAAiE;AACjE,4EAAyE;AAEzE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,aAAa,CAC3B,SAAoC;IAEpC,MAAM,OAAO,GAAG,IAAA,6CAAqB,EAAC,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC;IAClE,OAAO,IAAA,6BAAoB,EAAC,SAAe,aAAa,CACtD,QAAa,EACb,OAAyB;;YAEzB,MAAM,OAAO,GAAqC,OAAO;iBACtD,YAAY,EAAE;iBACd,UAAU,EAAE,CAAC;YAChB,IAAI,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,KAAK,KAAK;gBACxD,MAAM,IAAI,4BAAmB,CAAC,wCAAwC,CAAC,CAAC;YAE1E,MAAM,KAAK,GACT,OAAO,CAAC,WAAW,CAAC,2CAAuB,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;YACnE,IAAI,CAA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;YACtB,MAAM,IAAI,4BAAmB,CAC3B,qFAAqF,CACtF,CAAC;;YACC,MAAM,GAAG,CAAC;IACjB,CAAC;AACH,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,GAAG,CAAC,IAAa,EAAW,EAAE,CAC7C,IAAI,KAAK,SAAS;IAClB,IAAI;SACD,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;SACxB,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,YAAY,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EncryptedController =
|
|
3
|
+
exports.EncryptedController = EncryptedController;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
|
5
5
|
const EncryptedConstant_1 = require("./internal/EncryptedConstant");
|
|
6
6
|
/**
|
|
@@ -33,5 +33,4 @@ function EncryptedController(path, password) {
|
|
|
33
33
|
(0, common_1.Controller)(path)(target);
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
exports.EncryptedController = EncryptedController;
|
|
37
36
|
//# sourceMappingURL=EncryptedController.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EncryptedController.js","sourceRoot":"","sources":["../../src/decorators/EncryptedController.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EncryptedController.js","sourceRoot":"","sources":["../../src/decorators/EncryptedController.ts"],"names":[],"mappings":";;AA6BA,kDAQC;AApCD,2CAA4C;AAE5C,oEAAuE;AAEvE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,mBAAmB,CACjC,IAAY,EACZ,QAA2D;IAE3D,OAAO,UAAU,MAAW;QAC1B,OAAO,CAAC,cAAc,CAAC,2CAAuB,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QAClE,IAAA,mBAAU,EAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3B,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -15,7 +15,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.EncryptedModule =
|
|
18
|
+
exports.EncryptedModule = EncryptedModule;
|
|
19
19
|
const common_1 = require("@nestjs/common");
|
|
20
20
|
const EncryptedConstant_1 = require("./internal/EncryptedConstant");
|
|
21
21
|
const load_controller_1 = require("./internal/load_controller");
|
|
@@ -55,7 +55,6 @@ function EncryptedModule(metadata, password) {
|
|
|
55
55
|
iterate(password)(target);
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
exports.EncryptedModule = EncryptedModule;
|
|
59
58
|
(function (EncryptedModule) {
|
|
60
59
|
/**
|
|
61
60
|
* Dynamic encrypted module.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EncryptedModule.js","sourceRoot":"","sources":["../../src/decorators/EncryptedModule.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EncryptedModule.js","sourceRoot":"","sources":["../../src/decorators/EncryptedModule.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAqCA,0CAQC;AA5CD,2CAAwC;AAGxC,oEAAuE;AACvE,gEAA8D;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,eAAe,CAC7B,QAAsC,EACtC,QAAqC;IAErC,OAAO,UAAU,MAAW;QAC1B,IAAA,eAAM,EAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;QACzB,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;IAC5B,CAAC,CAAC;AACJ,CAAC;AAED,WAAiB,eAAe;IAC9B;;;;;;;;;;;;OAYG;IACH,SAAs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[]): MethodDecorator;
|
|
31
31
|
<T>(stringify?: IResponseBodyStringifier<T> | null): MethodDecorator;
|
|
32
|
-
<
|
|
32
|
+
<T>(path: string | string[], stringify?: IResponseBodyStringifier<T> | null): MethodDecorator;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* Encrypted router decorator function for the GET method.
|
|
@@ -40,7 +40,7 @@ export declare namespace EncryptedRoute {
|
|
|
40
40
|
const Post: {
|
|
41
41
|
(path?: string | string[]): MethodDecorator;
|
|
42
42
|
<T>(stringify?: IResponseBodyStringifier<T> | null): MethodDecorator;
|
|
43
|
-
<
|
|
43
|
+
<T>(path: string | string[], stringify?: IResponseBodyStringifier<T> | null): MethodDecorator;
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
46
|
* Encrypted router decorator function for the PATCH method.
|
|
@@ -51,7 +51,7 @@ export declare namespace EncryptedRoute {
|
|
|
51
51
|
const Patch: {
|
|
52
52
|
(path?: string | string[]): MethodDecorator;
|
|
53
53
|
<T>(stringify?: IResponseBodyStringifier<T> | null): MethodDecorator;
|
|
54
|
-
<
|
|
54
|
+
<T>(path: string | string[], stringify?: IResponseBodyStringifier<T> | null): MethodDecorator;
|
|
55
55
|
};
|
|
56
56
|
/**
|
|
57
57
|
* Encrypted router decorator function for the PUT method.
|
|
@@ -62,7 +62,7 @@ export declare namespace EncryptedRoute {
|
|
|
62
62
|
const Put: {
|
|
63
63
|
(path?: string | string[]): MethodDecorator;
|
|
64
64
|
<T>(stringify?: IResponseBodyStringifier<T> | null): MethodDecorator;
|
|
65
|
-
<
|
|
65
|
+
<T>(path: string | string[], stringify?: IResponseBodyStringifier<T> | null): MethodDecorator;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* Encrypted router decorator function for the DELETE method.
|
|
@@ -73,6 +73,6 @@ export declare namespace EncryptedRoute {
|
|
|
73
73
|
const Delete: {
|
|
74
74
|
(path?: string | string[]): MethodDecorator;
|
|
75
75
|
<T>(stringify?: IResponseBodyStringifier<T> | null): MethodDecorator;
|
|
76
|
-
<
|
|
76
|
+
<T>(path: string | string[], stringify?: IResponseBodyStringifier<T> | null): MethodDecorator;
|
|
77
77
|
};
|
|
78
78
|
}
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.PlainBody =
|
|
12
|
+
exports.PlainBody = PlainBody;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
|
14
14
|
const typia_1 = require("typia");
|
|
15
15
|
const get_text_body_1 = require("./internal/get_text_body");
|
|
@@ -41,7 +41,6 @@ function PlainBody(assert) {
|
|
|
41
41
|
});
|
|
42
42
|
})();
|
|
43
43
|
}
|
|
44
|
-
exports.PlainBody = PlainBody;
|
|
45
44
|
Object.assign(PlainBody, typia_1.assert);
|
|
46
45
|
/**
|
|
47
46
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlainBody.js","sourceRoot":"","sources":["../../src/decorators/PlainBody.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlainBody.js","sourceRoot":"","sources":["../../src/decorators/PlainBody.ts"],"names":[],"mappings":";;;;;;;;;;;AAsCA,8BAyBC;AA/DD,2CAIwB;AAGxB,iCAA+B;AAE/B,4DAAyD;AACzD,4EAAyE;AAyBzE;;GAEG;AACH,SAAgB,SAAS,CACvB,MAAmC;IAEnC,MAAM,OAAO,GAAG,MAAM;QACpB,CAAC,CAAC,IAAA,6CAAqB,EAAC,WAAW,CAAC,CAAC;YACjC,IAAI,EAAE,QAAQ;YACd,MAAM;SACP,CAAC;QACJ,CAAC,CAAC,IAAI,CAAC;IACT,OAAO,IAAA,6BAAoB,EAAC,SAAe,SAAS,CAClD,KAAU,EACV,OAAyB;;YAEzB,MAAM,OAAO,GAAqC,OAAO;iBACtD,YAAY,EAAE;iBACd,UAAU,EAAE,CAAC;YAChB,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;gBAC/C,MAAM,IAAI,4BAAmB,CAAC,wCAAwC,CAAC,CAAC;YAC1E,MAAM,KAAK,GAAW,MAAM,IAAA,6BAAa,EAAC,OAAO,CAAC,CAAC;YACnD,IAAI,OAAO,EAAE,CAAC;gBACZ,MAAM,KAAK,GAAiB,OAAO,CAAC,KAAK,CAAC,CAAC;gBAC3C,IAAI,KAAK,KAAK,IAAI;oBAAE,MAAM,KAAK,CAAC;YAClC,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;KAAA,CAAC,EAAE,CAAC;AACP,CAAC;AACD,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,cAAM,CAAC,CAAC;AAEjC;;GAEG;AACH,MAAM,WAAW,GAAG,CAAC,IAAa,EAAW,EAAE,CAC7C,IAAI,KAAK,SAAS;IAClB,IAAI;SACD,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;SACxB,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,YAAY,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SwaggerCustomizer =
|
|
3
|
+
exports.SwaggerCustomizer = SwaggerCustomizer;
|
|
4
4
|
/**
|
|
5
5
|
* Swagger customization decorator.
|
|
6
6
|
*
|
|
@@ -28,5 +28,4 @@ function SwaggerCustomizer(closure) {
|
|
|
28
28
|
return descriptor;
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
exports.SwaggerCustomizer = SwaggerCustomizer;
|
|
32
31
|
//# sourceMappingURL=SwaggerCustomizer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwaggerCustomizer.js","sourceRoot":"","sources":["../../src/decorators/SwaggerCustomizer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SwaggerCustomizer.js","sourceRoot":"","sources":["../../src/decorators/SwaggerCustomizer.ts"],"names":[],"mappings":";;AAgBA,8CA2BC;AAzCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAC/B,OAAqD;IAErD,OAAO,SAAS,iBAAiB,CAC/B,MAAc,EACd,WAA4B,EAC5B,UAAwC;QAExC,MAAM,KAAK,GAAwD,CAAC,GAAG,EAAE;YACvE,IAAI,OAAO,CAAC,WAAW,CAAC,0BAA0B,EAAE,MAAM,EAAE,WAAW,CAAC;gBACtE,OAAO,OAAO,CAAC,WAAW,CACxB,0BAA0B,EAC1B,MAAM,EACN,WAAW,CACZ,CAAC;YACJ,MAAM,KAAK,GAAwD,EAAE,CAAC;YACtE,OAAO,CAAC,cAAc,CACpB,0BAA0B,EAC1B,KAAK,EACL,MAAM,EACN,WAAW,CACZ,CAAC;YACF,OAAO,KAAK,CAAC;QACf,CAAC,CAAC,EAAE,CAAC;QACL,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpB,OAAO,UAAU,CAAC;IACpB,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TypedBody =
|
|
3
|
+
exports.TypedBody = TypedBody;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
|
5
5
|
const typia_1 = require("typia");
|
|
6
6
|
const validate_request_body_1 = require("./internal/validate_request_body");
|
|
@@ -32,7 +32,6 @@ function TypedBody(validator) {
|
|
|
32
32
|
return request.body;
|
|
33
33
|
})();
|
|
34
34
|
}
|
|
35
|
-
exports.TypedBody = TypedBody;
|
|
36
35
|
Object.assign(TypedBody, typia_1.misc.clone);
|
|
37
36
|
Object.assign(TypedBody, typia_1.is);
|
|
38
37
|
Object.assign(TypedBody, typia_1.assert);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypedBody.js","sourceRoot":"","sources":["../../src/decorators/TypedBody.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TypedBody.js","sourceRoot":"","sources":["../../src/decorators/TypedBody.ts"],"names":[],"mappings":";;AA0BA,8BAoBC;AA9CD,2CAIwB;AAGxB,iCAAmD;AAGnD,4EAAyE;AAEzE;;;;;;;;;;;;;GAaG;AACH,SAAgB,SAAS,CACvB,SAAoC;IAEpC,MAAM,OAAO,GAAG,IAAA,6CAAqB,EAAC,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC;IAC9D,OAAO,IAAA,6BAAoB,EAAC,SAAS,SAAS,CAC5C,QAAa,EACb,OAAyB;QAEzB,MAAM,OAAO,GAAqC,OAAO;aACtD,YAAY,EAAE;aACd,UAAU,EAAE,CAAC;QAChB,IAAI,iBAAiB,CAAC,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,KAAK,KAAK;YAC9D,MAAM,IAAI,4BAAmB,CAC3B,8CAA8C,CAC/C,CAAC;QAEJ,MAAM,KAAK,GAAiB,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAClD,IAAI,KAAK,KAAK,IAAI;YAAE,MAAM,KAAK,CAAC;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC;IACtB,CAAC,CAAC,EAAE,CAAC;AACP,CAAC;AAED,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,YAAI,CAAC,KAAK,CAAC,CAAC;AACrC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,UAAE,CAAC,CAAC;AAC7B,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,cAAM,CAAC,CAAC;AACjC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,gBAAQ,CAAC,CAAC;AAEnC;;GAEG;AACH,MAAM,iBAAiB,GAAG,CAAC,IAAa,EAAW,EAAE,CACnD,IAAI,KAAK,SAAS;IAClB,IAAI;SACD,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;SACxB,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TypedException =
|
|
3
|
+
exports.TypedException = TypedException;
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -22,5 +22,4 @@ function TypedException(status, description, type) {
|
|
|
22
22
|
return descriptor;
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
exports.TypedException = TypedException;
|
|
26
25
|
//# sourceMappingURL=TypedException.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypedException.js","sourceRoot":"","sources":["../../src/decorators/TypedException.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TypedException.js","sourceRoot":"","sources":["../../src/decorators/TypedException.ts"],"names":[],"mappings":";;AAgDA,wCAgCC;AAnCD;;GAEG;AACH,SAAgB,cAAc,CAC5B,MAA8C,EAC9C,WAAgC,EAChC,IAAyB;IAEzB,OAAO,SAAS,cAAc,CAC5B,MAAkB,EAClB,WAA4B,EAC5B,UAAwC;QAExC,MAAM,KAAK,GAAa,CAAC,GAAG,EAAE;YAC5B,MAAM,MAAM,GAAyB,OAAO,CAAC,WAAW,CACtD,uBAAuB,EACtB,MAAc,CAAC,WAAW,CAAC,CAC7B,CAAC;YACF,IAAI,MAAM,KAAK,SAAS;gBAAE,OAAO,MAAM,CAAC;YAExC,MAAM,MAAM,GAAa,EAAE,CAAC;YAC5B,OAAO,CAAC,cAAc,CACpB,uBAAuB,EACvB,MAAM,EACL,MAAc,CAAC,WAAW,CAAC,CAC7B,CAAC;YACF,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,EAAE,CAAC;QACL,KAAK,CAAC,IAAI,CAAC;YACT,MAAM;YACN,WAAW;YACX,IAAI,EAAE,IAAK;SACZ,CAAC,CAAC;QACH,OAAO,UAAU,CAAC;IACpB,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.TypedHeaders =
|
|
6
|
+
exports.TypedHeaders = TypedHeaders;
|
|
7
7
|
const common_1 = require("@nestjs/common");
|
|
8
8
|
const typia_1 = __importDefault(require("typia"));
|
|
9
9
|
const validate_request_headers_1 = require("./internal/validate_request_headers");
|
|
@@ -60,7 +60,6 @@ function TypedHeaders(validator) {
|
|
|
60
60
|
return output;
|
|
61
61
|
})();
|
|
62
62
|
}
|
|
63
|
-
exports.TypedHeaders = TypedHeaders;
|
|
64
63
|
Object.assign(TypedHeaders, typia_1.default.http.assertHeaders);
|
|
65
64
|
Object.assign(TypedHeaders, typia_1.default.http.isHeaders);
|
|
66
65
|
Object.assign(TypedHeaders, typia_1.default.http.validateHeaders);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypedHeaders.js","sourceRoot":"","sources":["../../src/decorators/TypedHeaders.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TypedHeaders.js","sourceRoot":"","sources":["../../src/decorators/TypedHeaders.ts"],"names":[],"mappings":";;;;;AAiDA,oCAgBC;AAjED,2CAAwE;AAGxE,kDAA0B;AAG1B,kFAA+E;AAE/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,YAAY,CAC1B,SAAuC;IAEvC,MAAM,OAAO,GAAG,IAAA,mDAAwB,EAAC,SAAS,CAAC,CAAC;IACpD,OAAO,IAAA,6BAAoB,EAAC,SAAS,YAAY,CAC/C,QAAa,EACb,OAAyB;QAEzB,MAAM,OAAO,GAAqC,OAAO;aACtD,YAAY,EAAE;aACd,UAAU,EAAE,CAAC;QAEhB,MAAM,MAAM,GAAc,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACnD,IAAI,MAAM,YAAY,KAAK;YAAE,MAAM,MAAM,CAAC;QAC1C,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC,EAAE,CAAC;AACP,CAAC;AACD,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,eAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AACtD,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,eAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAClD,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,eAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.TypedParam =
|
|
6
|
+
exports.TypedParam = TypedParam;
|
|
7
7
|
const common_1 = require("@nestjs/common");
|
|
8
8
|
const typia_1 = __importDefault(require("typia"));
|
|
9
9
|
const NoTransformConfigureError_1 = require("./internal/NoTransformConfigureError");
|
|
@@ -43,7 +43,7 @@ function TypedParam(name, assert) {
|
|
|
43
43
|
}
|
|
44
44
|
catch (exp) {
|
|
45
45
|
if ((input => {
|
|
46
|
-
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
46
|
+
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
47
47
|
return "object" === typeof input && null !== input && $io0(input);
|
|
48
48
|
})(exp))
|
|
49
49
|
throw new common_1.BadRequestException({
|
|
@@ -57,6 +57,5 @@ function TypedParam(name, assert) {
|
|
|
57
57
|
}
|
|
58
58
|
})(name);
|
|
59
59
|
}
|
|
60
|
-
exports.TypedParam = TypedParam;
|
|
61
60
|
Object.assign(TypedParam, typia_1.default.http.parameter);
|
|
62
61
|
//# sourceMappingURL=TypedParam.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypedParam.js","sourceRoot":"","sources":["../../src/decorators/TypedParam.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TypedParam.js","sourceRoot":"","sources":["../../src/decorators/TypedParam.ts"],"names":[],"mappings":";;;;;AAkCA,gCA4BC;AA9DD,2CAIwB;AAGxB,kDAA8C;AAE9C,oFAAiF;AAEjF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,UAAU,CACxB,IAAY,EACZ,MAA6B;IAE7B,IAAI,MAAM,KAAK,SAAS;QAAE,MAAM,IAAA,qDAAyB,EAAC,YAAY,CAAC,CAAC;IAExE,OAAO,IAAA,6BAAoB,EAAC,SAAS,UAAU,CAC7C,EAAO,EACP,OAAyB;QAEzB,MAAM,OAAO,GAAqC,OAAO;aACtD,YAAY,EAAE;aACd,UAAU,EAAE,CAAC;QAChB,MAAM,GAAG,GAAY,OAAO,CAAC,MAAc,CAAC,IAAI,CAAC,CAAC;QAClD,IAAI,CAAC;YACH,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb;;;eAA6B,GAAG;gBAC9B,MAAM,IAAI,4BAAmB,CAAC;oBAC5B,IAAI,EAAE,GAAG,CAAC,IAAI;oBACd,MAAM,EAAE,GAAG,CAAC,OAAO;oBACnB,QAAQ,EAAE,GAAG,CAAC,QAAQ;oBACtB,KAAK,EAAE,GAAG,CAAC,KAAK;oBAChB,OAAO,EAAE,mCAAmC,IAAI,IAAI;iBACrD,CAAC,CAAC;YACL,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AACX,CAAC;AACD,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,eAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC"}
|
|
@@ -36,7 +36,7 @@ export declare namespace TypedQuery {
|
|
|
36
36
|
const Get: {
|
|
37
37
|
(path?: string | string[]): MethodDecorator;
|
|
38
38
|
<T>(stringify?: IResponseBodyQuerifier<T>): MethodDecorator;
|
|
39
|
-
<
|
|
39
|
+
<T>(path: string | string[], stringify?: IResponseBodyQuerifier<T>): MethodDecorator;
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
42
|
* Router decorator function for the POST method.
|
|
@@ -47,7 +47,7 @@ export declare namespace TypedQuery {
|
|
|
47
47
|
const Post: {
|
|
48
48
|
(path?: string | string[]): MethodDecorator;
|
|
49
49
|
<T>(stringify?: IResponseBodyQuerifier<T>): MethodDecorator;
|
|
50
|
-
<
|
|
50
|
+
<T>(path: string | string[], stringify?: IResponseBodyQuerifier<T>): MethodDecorator;
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
53
|
* Router decorator function for the PATH method.
|
|
@@ -58,7 +58,7 @@ export declare namespace TypedQuery {
|
|
|
58
58
|
const Patch: {
|
|
59
59
|
(path?: string | string[]): MethodDecorator;
|
|
60
60
|
<T>(stringify?: IResponseBodyQuerifier<T>): MethodDecorator;
|
|
61
|
-
<
|
|
61
|
+
<T>(path: string | string[], stringify?: IResponseBodyQuerifier<T>): MethodDecorator;
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
64
|
* Router decorator function for the PUT method.
|
|
@@ -69,7 +69,7 @@ export declare namespace TypedQuery {
|
|
|
69
69
|
const Put: {
|
|
70
70
|
(path?: string | string[]): MethodDecorator;
|
|
71
71
|
<T>(stringify?: IResponseBodyQuerifier<T>): MethodDecorator;
|
|
72
|
-
<
|
|
72
|
+
<T>(path: string | string[], stringify?: IResponseBodyQuerifier<T>): MethodDecorator;
|
|
73
73
|
};
|
|
74
74
|
/**
|
|
75
75
|
* Router decorator function for the DELETE method.
|
|
@@ -80,6 +80,6 @@ export declare namespace TypedQuery {
|
|
|
80
80
|
const Delete: {
|
|
81
81
|
(path?: string | string[]): MethodDecorator;
|
|
82
82
|
<T>(stringify?: IResponseBodyQuerifier<T>): MethodDecorator;
|
|
83
|
-
<
|
|
83
|
+
<T>(path: string | string[], stringify?: IResponseBodyQuerifier<T>): MethodDecorator;
|
|
84
84
|
};
|
|
85
85
|
}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.TypedQuery =
|
|
6
|
+
exports.TypedQuery = TypedQuery;
|
|
7
7
|
const common_1 = require("@nestjs/common");
|
|
8
8
|
const rxjs_1 = require("rxjs");
|
|
9
9
|
const typia_1 = __importDefault(require("typia"));
|
|
@@ -42,7 +42,6 @@ function TypedQuery(validator) {
|
|
|
42
42
|
return output;
|
|
43
43
|
})();
|
|
44
44
|
}
|
|
45
|
-
exports.TypedQuery = TypedQuery;
|
|
46
45
|
(function (TypedQuery) {
|
|
47
46
|
/**
|
|
48
47
|
* Request body decorator.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypedQuery.js","sourceRoot":"","sources":["../../src/decorators/TypedQuery.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TypedQuery.js","sourceRoot":"","sources":["../../src/decorators/TypedQuery.ts"],"names":[],"mappings":";;;;;AA6CA,gCAiBC;AA9DD,2CAawB;AAIxB,+BAAuC;AACvC,kDAA0B;AAI1B,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,EAAE,EAAE,CAAC,IAAA,yBAAW,EAAC,IAAI,CAAC,UAAU,EAAE,EAAE,GAAG,CAAC,CAAC,CACzD,CAAC;IACJ,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,GAAG;IACd,GAAG,EAAH,YAAG;IACH,IAAI,EAAJ,aAAI;IACJ,KAAK,EAAL,cAAK;IACL,GAAG,EAAH,YAAG;IACH,MAAM,EAAN,eAAM;CACP,CAAC"}
|
|
@@ -24,7 +24,7 @@ export declare namespace TypedRoute {
|
|
|
24
24
|
const Get: {
|
|
25
25
|
(path?: string | string[]): MethodDecorator;
|
|
26
26
|
<T>(stringify?: IResponseBodyStringifier<T>): MethodDecorator;
|
|
27
|
-
<
|
|
27
|
+
<T>(path: string | string[], stringify?: IResponseBodyStringifier<T>): MethodDecorator;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Router decorator function for the POST method.
|
|
@@ -35,7 +35,7 @@ export declare namespace TypedRoute {
|
|
|
35
35
|
const Post: {
|
|
36
36
|
(path?: string | string[]): MethodDecorator;
|
|
37
37
|
<T>(stringify?: IResponseBodyStringifier<T>): MethodDecorator;
|
|
38
|
-
<
|
|
38
|
+
<T>(path: string | string[], stringify?: IResponseBodyStringifier<T>): MethodDecorator;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
41
|
* Router decorator function for the PATH method.
|
|
@@ -46,7 +46,7 @@ export declare namespace TypedRoute {
|
|
|
46
46
|
const Patch: {
|
|
47
47
|
(path?: string | string[]): MethodDecorator;
|
|
48
48
|
<T>(stringify?: IResponseBodyStringifier<T>): MethodDecorator;
|
|
49
|
-
<
|
|
49
|
+
<T>(path: string | string[], stringify?: IResponseBodyStringifier<T>): MethodDecorator;
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
52
|
* Router decorator function for the PUT method.
|
|
@@ -57,7 +57,7 @@ export declare namespace TypedRoute {
|
|
|
57
57
|
const Put: {
|
|
58
58
|
(path?: string | string[]): MethodDecorator;
|
|
59
59
|
<T>(stringify?: IResponseBodyStringifier<T>): MethodDecorator;
|
|
60
|
-
<
|
|
60
|
+
<T>(path: string | string[], stringify?: IResponseBodyStringifier<T>): MethodDecorator;
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* Router decorator function for the DELETE method.
|
|
@@ -68,6 +68,6 @@ export declare namespace TypedRoute {
|
|
|
68
68
|
const Delete: {
|
|
69
69
|
(path?: string | string[]): MethodDecorator;
|
|
70
70
|
<T>(stringify?: IResponseBodyStringifier<T>): MethodDecorator;
|
|
71
|
-
<
|
|
71
|
+
<T>(path: string | string[], stringify?: IResponseBodyStringifier<T>): MethodDecorator;
|
|
72
72
|
};
|
|
73
73
|
}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.WebSocketRoute =
|
|
6
|
+
exports.WebSocketRoute = WebSocketRoute;
|
|
7
7
|
const typia_1 = __importDefault(require("typia"));
|
|
8
8
|
const NoTransformConfigureError_1 = require("./internal/NoTransformConfigureError");
|
|
9
9
|
const validate_request_body_1 = require("./internal/validate_request_body");
|
|
@@ -50,7 +50,6 @@ function WebSocketRoute(path) {
|
|
|
50
50
|
return descriptor;
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
exports.WebSocketRoute = WebSocketRoute;
|
|
54
53
|
(function (WebSocketRoute) {
|
|
55
54
|
/**
|
|
56
55
|
* Acceptor parameter decorator.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSocketRoute.js","sourceRoot":"","sources":["../../src/decorators/WebSocketRoute.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WebSocketRoute.js","sourceRoot":"","sources":["../../src/decorators/WebSocketRoute.ts"],"names":[],"mappings":";;;;;AA2CA,wCAiBC;AA5DD,kD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C,SAAS,CAAC,CAAC;QAC3E,OAAO,SAAS,cAAc,CAC5B,MAAc,EACd,WAAwC,EACxC,cAAsB;YAEtB,OAAO,CAAC,MAAM,EAAE,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,EAAE,EAAE;gBACjC,QAAQ,EAAE,OAAO;gBACjB,KAAK,EAAE,cAAc;gBACrB,QAAQ;aACT,CAAC,CAAC;QACL,CAAC,CAAC;IACJ,CAAC;IAfe,oBAAK,QAepB,CAAA;IACD,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,eAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7C,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,eAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,eAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAE/C;;OAEG;IACH,MAAM,OAAO,GAAG,CACd,MAAc,EACd,WAA4B,EAC5B,KAAuC,EACvC,EAAE;QACF,MAAM,KAAK,GACT,OAAO,CAAC,WAAW,CACjB,kCAAkC,EAClC,MAAM,EACN,WAAW,CACZ,CAAC;QACJ,IAAI,KAAK,KAAK,SAAS;YAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;;YAEzC,OAAO,CAAC,cAAc,CACpB,kCAAkC,EAClC,CAAC,KAAK,CAAC,EACP,MAAM,EACN,WAAW,CACZ,CAAC;IACN,CAAC,CAAC;AACJ,CAAC,EA3LgB,cAAc,8BAAd,cAAc,QA2L9B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NoTransformConfigureError =
|
|
3
|
+
exports.NoTransformConfigureError = NoTransformConfigureError;
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -11,5 +11,4 @@ function NoTransformConfigureError(method) {
|
|
|
11
11
|
`Otherwise you're running "npx nestia sdk/swagger" or similar, run "npx tsc" command to find the reason why.`,
|
|
12
12
|
].join(" "));
|
|
13
13
|
}
|
|
14
|
-
exports.NoTransformConfigureError = NoTransformConfigureError;
|
|
15
14
|
//# sourceMappingURL=NoTransformConfigureError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoTransformConfigureError.js","sourceRoot":"","sources":["../../../src/decorators/internal/NoTransformConfigureError.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NoTransformConfigureError.js","sourceRoot":"","sources":["../../../src/decorators/internal/NoTransformConfigureError.ts"],"names":[],"mappings":";;AAGA,8DAQC;AAXD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,MAAc;IACtD,OAAO,IAAI,KAAK,CACd;QACE,wBAAwB,MAAM,uCAAuC;QACrE,6GAA6G;QAC7G,6GAA6G;KAC9G,CAAC,IAAI,CAAC,GAAG,CAAC,CACZ,CAAC;AACJ,CAAC"}
|
|
@@ -62,7 +62,7 @@ const assert = (closure) => (data) => {
|
|
|
62
62
|
}
|
|
63
63
|
catch (exp) {
|
|
64
64
|
if ((input => {
|
|
65
|
-
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
65
|
+
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
66
66
|
return "object" === typeof input && null !== input && $io0(input);
|
|
67
67
|
})(exp))
|
|
68
68
|
throw new common_1.InternalServerErrorException({
|
|
@@ -47,7 +47,7 @@ const assert = (closure) => (data) => {
|
|
|
47
47
|
}
|
|
48
48
|
catch (exp) {
|
|
49
49
|
if ((input => {
|
|
50
|
-
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
50
|
+
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
51
51
|
return "object" === typeof input && null !== input && $io0(input);
|
|
52
52
|
})(exp))
|
|
53
53
|
throw new common_1.InternalServerErrorException({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.headers_to_object =
|
|
3
|
+
exports.headers_to_object = headers_to_object;
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -10,5 +10,4 @@ function headers_to_object(headers) {
|
|
|
10
10
|
output[key] = value instanceof Array ? value[0] : value || "";
|
|
11
11
|
return output;
|
|
12
12
|
}
|
|
13
|
-
exports.headers_to_object = headers_to_object;
|
|
14
13
|
//# sourceMappingURL=headers_to_object.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headers_to_object.js","sourceRoot":"","sources":["../../../src/decorators/internal/headers_to_object.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"headers_to_object.js","sourceRoot":"","sources":["../../../src/decorators/internal/headers_to_object.ts"],"names":[],"mappings":";;AAKA,8CAOC;AAVD;;GAEG;AACH,SAAgB,iBAAiB,CAC/B,OAAiC;IAEjC,MAAM,MAAM,GAA2B,EAAE,CAAC;IAC1C,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;QAChD,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;IAChE,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.route_error =
|
|
3
|
+
exports.route_error = route_error;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
|
5
5
|
const rxjs_1 = require("rxjs");
|
|
6
6
|
const ExceptionManager_1 = require("../../utils/ExceptionManager");
|
|
@@ -38,5 +38,4 @@ function route_error(request, error) {
|
|
|
38
38
|
}, 0);
|
|
39
39
|
return (0, rxjs_1.throwError)(() => error);
|
|
40
40
|
}
|
|
41
|
-
exports.route_error = route_error;
|
|
42
41
|
//# sourceMappingURL=route_error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route_error.js","sourceRoot":"","sources":["../../../src/decorators/internal/route_error.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"route_error.js","sourceRoot":"","sources":["../../../src/decorators/internal/route_error.ts"],"names":[],"mappings":";;AAUA,kCAkCC;AA5CD,2CAA+C;AAG/C,+BAAkC;AAElC,mEAAgE;AAEhE;;GAEG;AACH,SAAgB,WAAW,CACzB,OAAyC,EACzC,KAAU;;IAEV,KAAK,GAAG,CAAC,GAAG,EAAE;QACZ,aAAa;QACb,IAAI,KAAK,YAAY,sBAAa;YAAE,OAAO,KAAK,CAAC;QAEjD,0BAA0B;QAC1B,KAAK,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,mCAAgB,CAAC,MAAM;YACtD,IAAI,KAAK,YAAY,OAAO;gBAAE,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;QAEtD,uBAAuB;QACvB,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,EAAE,CAAC;IAEL,IAAI,CAAC;QACH,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAC9B,KAAK,CAAC,IAAI;YACR,MAAA,MAAC,OAA2B,CAAC,IAAI,mCACjC,MAAC,OAA0B,CAAC,YAAY,0CAAE,GAAG,mCAC5C,OAA0B,CAAC,UAAU,CAAC;IAC3C,CAAC;IAAC,WAAM,CAAC,CAAA,CAAC;IAEV,UAAU,CAAC,GAAG,EAAE;QACd,KAAK,MAAM,QAAQ,IAAI,mCAAgB,CAAC,SAAS,EAAE,CAAC;YAClD,IAAI,CAAC;gBACH,MAAM,GAAG,GAAuB,QAAQ,CAAC,KAAK,CAAC,CAAC;gBAChD,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,CAAC,KAAK,KAAK,UAAU;oBAC5D,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;YACxB,CAAC;YAAC,WAAM,CAAC,CAAA,CAAC;QACZ,CAAC;IACH,CAAC,EAAE,CAAC,CAAC,CAAC;IACN,OAAO,IAAA,iBAAU,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;AACjC,CAAC"}
|
|
@@ -32,7 +32,7 @@ const assert = (closure) => (input) => {
|
|
|
32
32
|
}
|
|
33
33
|
catch (exp) {
|
|
34
34
|
if ((input => {
|
|
35
|
-
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
35
|
+
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
36
36
|
return "object" === typeof input && null !== input && $io0(input);
|
|
37
37
|
})(exp)) {
|
|
38
38
|
return new common_1.BadRequestException({
|
|
@@ -31,7 +31,7 @@ const assert = (closure) => (input) => {
|
|
|
31
31
|
}
|
|
32
32
|
catch (exp) {
|
|
33
33
|
if ((input => {
|
|
34
|
-
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
34
|
+
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
35
35
|
return "object" === typeof input && null !== input && $io0(input);
|
|
36
36
|
})(exp)) {
|
|
37
37
|
return new common_1.BadRequestException({
|
|
@@ -31,7 +31,7 @@ const assert = (closure) => (input) => {
|
|
|
31
31
|
}
|
|
32
32
|
catch (exp) {
|
|
33
33
|
if ((input => {
|
|
34
|
-
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
34
|
+
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
35
35
|
return "object" === typeof input && null !== input && $io0(input);
|
|
36
36
|
})(exp)) {
|
|
37
37
|
return new common_1.BadRequestException({
|
|
@@ -31,7 +31,7 @@ const assert = (closure) => (input) => {
|
|
|
31
31
|
}
|
|
32
32
|
catch (exp) {
|
|
33
33
|
if ((input => {
|
|
34
|
-
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
34
|
+
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
35
35
|
return "object" === typeof input && null !== input && $io0(input);
|
|
36
36
|
})(exp)) {
|
|
37
37
|
return new common_1.BadRequestException({
|
package/lib/transform.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestia/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0-dev.20240627",
|
|
4
4
|
"description": "Super-fast validation decorators of NestJS",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://nestia.io",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@nestia/fetcher": "^3.
|
|
39
|
+
"@nestia/fetcher": "^3.3.0-dev.20240627",
|
|
40
40
|
"@nestjs/common": ">=7.0.1",
|
|
41
41
|
"@nestjs/core": ">=7.0.1",
|
|
42
42
|
"@samchon/openapi": "^0.1.21",
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
"reflect-metadata": ">=0.1.12",
|
|
50
50
|
"rxjs": ">=6.0.3",
|
|
51
51
|
"tgrid": "^1.0.0",
|
|
52
|
-
"typia": "^6.0
|
|
52
|
+
"typia": "^6.3.0",
|
|
53
53
|
"ws": "^7.5.3"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@nestia/fetcher": ">=3.
|
|
56
|
+
"@nestia/fetcher": ">=3.3.0-dev.20240627",
|
|
57
57
|
"@nestjs/common": ">=7.0.1",
|
|
58
58
|
"@nestjs/core": ">=7.0.1",
|
|
59
59
|
"reflect-metadata": ">=0.1.12",
|
|
60
60
|
"rxjs": ">=6.0.3",
|
|
61
|
-
"typia": ">=6.0
|
|
61
|
+
"typia": ">=6.3.0 <7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@fastify/multipart": "^8.1.0",
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
"inquirer": "^8.2.5",
|
|
81
81
|
"rimraf": "^3.0.2",
|
|
82
82
|
"ts-node": "^10.9.1",
|
|
83
|
-
"ts-patch": "^3.2.
|
|
83
|
+
"ts-patch": "^3.2.1",
|
|
84
84
|
"tstl": "^3.0.0",
|
|
85
|
-
"typescript": "
|
|
85
|
+
"typescript": "^5.5.2",
|
|
86
86
|
"typescript-transform-paths": "^3.4.6"
|
|
87
87
|
},
|
|
88
88
|
"files": [
|