@nestia/core 2.0.0-dev.20230904 → 2.0.0-dev.20230906

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.
@@ -16,7 +16,6 @@ import "reflect-metadata";
16
16
  * @returns Method decorator
17
17
  *
18
18
  * @author Jeongho Nam - https://github.com/samchon
19
- * @deprecated
20
19
  */
21
20
  export declare function TypedException(status: number | "2XX" | "3XX" | "4XX" | "5XX", description?: string | undefined): never;
22
21
  /**
@@ -36,4 +35,4 @@ export declare function TypedException(status: number | "2XX" | "3XX" | "4XX" |
36
35
  *
37
36
  * @author Jeongho Nam - https://github.com/samchon
38
37
  */
39
- export declare function TypedException<T extends object>(status: number | "2XX" | "3XX" | "4XX" | "5XX", description?: string | undefined): MethodDecorator;
38
+ export declare function TypedException<T>(status: number | "2XX" | "3XX" | "4XX" | "5XX", description?: string | undefined): MethodDecorator;
@@ -1 +1 @@
1
- {"version":3,"file":"TypedException.js","sourceRoot":"","sources":["../../src/decorators/TypedException.ts"],"names":[],"mappings":";;;AAAA,4BAA0B;AAgD1B;;GAEG;AACH,SAAgB,cAAc,CAC1B,MAA8C,EAC9C,WAAgC,EAChC,IAAyB;IAEzB,OAAO,SAAS,cAAc,CAC1B,MAAkB,EAClB,WAA4B,EAC5B,UAAwC;QAExC,IAAM,KAAK,GAAa,CAAC;YACrB,IAAM,MAAM,GAAyB,OAAO,CAAC,WAAW,CACpD,wBAAwB,EACvB,MAAc,CAAC,WAAW,CAAC,CAC/B,CAAC;YACF,IAAI,MAAM,KAAK,SAAS;gBAAE,OAAO,MAAM,CAAC;YAExC,IAAM,MAAM,GAAa,EAAE,CAAC;YAC5B,OAAO,CAAC,cAAc,CAClB,wBAAwB,EACxB,MAAM,EACL,MAAc,CAAC,WAAW,CAAC,CAC/B,CAAC;YACF,OAAO,MAAM,CAAC;QAClB,CAAC,CAAC,EAAE,CAAC;QACL,KAAK,CAAC,IAAI,CAAC;YACP,MAAM,QAAA;YACN,WAAW,aAAA;YACX,IAAI,EAAE,IAAK;SACd,CAAC,CAAC;QACH,OAAO,UAAU,CAAC;IACtB,CAAC,CAAC;AACN,CAAC;AAhCD,wCAgCC"}
1
+ {"version":3,"file":"TypedException.js","sourceRoot":"","sources":["../../src/decorators/TypedException.ts"],"names":[],"mappings":";;;AAAA,4BAA0B;AA+C1B;;GAEG;AACH,SAAgB,cAAc,CAC1B,MAA8C,EAC9C,WAAgC,EAChC,IAAyB;IAEzB,OAAO,SAAS,cAAc,CAC1B,MAAkB,EAClB,WAA4B,EAC5B,UAAwC;QAExC,IAAM,KAAK,GAAa,CAAC;YACrB,IAAM,MAAM,GAAyB,OAAO,CAAC,WAAW,CACpD,wBAAwB,EACvB,MAAc,CAAC,WAAW,CAAC,CAC/B,CAAC;YACF,IAAI,MAAM,KAAK,SAAS;gBAAE,OAAO,MAAM,CAAC;YAExC,IAAM,MAAM,GAAa,EAAE,CAAC;YAC5B,OAAO,CAAC,cAAc,CAClB,wBAAwB,EACxB,MAAM,EACL,MAAc,CAAC,WAAW,CAAC,CAC/B,CAAC;YACF,OAAO,MAAM,CAAC;QAClB,CAAC,CAAC,EAAE,CAAC;QACL,KAAK,CAAC,IAAI,CAAC;YACP,MAAM,QAAA;YACN,WAAW,aAAA;YACX,IAAI,EAAE,IAAK;SACd,CAAC,CAAC;QACH,OAAO,UAAU,CAAC;IACtB,CAAC,CAAC;AACN,CAAC;AAhCD,wCAgCC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestia/core",
3
- "version": "2.0.0-dev.20230904",
3
+ "version": "2.0.0-dev.20230906",
4
4
  "description": "Super-fast validation decorators of NestJS",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "homepage": "https://nestia.io",
36
36
  "dependencies": {
37
- "@nestia/fetcher": "^2.0.0-dev.20230904",
37
+ "@nestia/fetcher": "^2.0.0-dev.20230906",
38
38
  "@nestjs/common": ">= 7.0.1",
39
39
  "@nestjs/core": ">= 7.0.1",
40
40
  "@nestjs/platform-express": ">= 7.0.1",
@@ -44,10 +44,10 @@
44
44
  "raw-body": ">= 2.0.0",
45
45
  "reflect-metadata": ">= 0.1.12",
46
46
  "rxjs": ">= 6.0.0",
47
- "typia": "^5.0.1"
47
+ "typia": "^5.0.2"
48
48
  },
49
49
  "peerDependencies": {
50
- "@nestia/fetcher": ">=2.0.0-dev.20230904",
50
+ "@nestia/fetcher": ">=2.0.0-dev.20230906",
51
51
  "@nestjs/common": ">=7.0.1",
52
52
  "@nestjs/core": ">=7.0.1",
53
53
  "@nestjs/platform-express": ">=7.0.1",
@@ -56,7 +56,7 @@
56
56
  "reflect-metadata": ">=0.1.12",
57
57
  "rxjs": ">=6.0.0",
58
58
  "typescript": ">=4.8.0",
59
- "typia": ">=5.0.1 <6.0.0"
59
+ "typia": ">=5.0.2 <6.0.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@trivago/prettier-plugin-sort-imports": "^4.0.0",
@@ -17,7 +17,6 @@ import "reflect-metadata";
17
17
  * @returns Method decorator
18
18
  *
19
19
  * @author Jeongho Nam - https://github.com/samchon
20
- * @deprecated
21
20
  */
22
21
  export function TypedException(
23
22
  status: number | "2XX" | "3XX" | "4XX" | "5XX",
@@ -41,7 +40,7 @@ export function TypedException(
41
40
  *
42
41
  * @author Jeongho Nam - https://github.com/samchon
43
42
  */
44
- export function TypedException<T extends object>(
43
+ export function TypedException<T>(
45
44
  status: number | "2XX" | "3XX" | "4XX" | "5XX",
46
45
  description?: string | undefined,
47
46
  ): MethodDecorator;
@@ -49,7 +48,7 @@ export function TypedException<T extends object>(
49
48
  /**
50
49
  * @internal
51
50
  */
52
- export function TypedException<T extends object>(
51
+ export function TypedException<T>(
53
52
  status: number | "2XX" | "3XX" | "4XX" | "5XX",
54
53
  description?: string | undefined,
55
54
  type?: string | undefined,