@hg-ts/http-controller 0.1.79 → 0.1.80

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.
@@ -2,7 +2,7 @@ import { BaseException } from '@hg-ts/exception';
2
2
  import { ZodDto } from '@hg-ts/validation';
3
3
  export declare class ExceptionService {
4
4
  private static readonly exceptionMap;
5
- static registerSchema<T extends BaseException>(this: typeof ExceptionService, exception: Class<T>, schema: ZodDto<ReturnType<T['toJSON']>>): void;
6
- static getSchema<T extends BaseException>(this: typeof ExceptionService, exception: Class<T>): ZodDto<ReturnType<T['toJSON']>>;
5
+ static registerSchema<T extends BaseException>(this: typeof ExceptionService, exception: Class<T, any[]>, schema: ZodDto<ReturnType<T['toJSON']>>): void;
6
+ static getSchema<T extends BaseException>(this: typeof ExceptionService, exception: Class<T, any[]>): ZodDto<ReturnType<T['toJSON']>>;
7
7
  }
8
8
  //# sourceMappingURL=exception.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exception.service.d.ts","sourceRoot":"","sources":["../../src/services/exception.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAM3C,qBAAa,gBAAgB;IAC5B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAA2C;WAEjE,cAAc,CAAC,CAAC,SAAS,aAAa,EACnD,IAAI,EAAE,OAAO,gBAAgB,EAC7B,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,EACnB,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GACrC,IAAI;WAQO,SAAS,CAAC,CAAC,SAAS,aAAa,EAC9C,IAAI,EAAE,OAAO,gBAAgB,EAC7B,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,GACjB,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;CAQlC"}
1
+ {"version":3,"file":"exception.service.d.ts","sourceRoot":"","sources":["../../src/services/exception.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAM3C,qBAAa,gBAAgB;IAC5B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAA2C;WAEjE,cAAc,CAAC,CAAC,SAAS,aAAa,EACnD,IAAI,EAAE,OAAO,gBAAgB,EAC7B,SAAS,EAAE,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAC1B,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GACrC,IAAI;WAQO,SAAS,CAAC,CAAC,SAAS,aAAa,EAC9C,IAAI,EAAE,OAAO,gBAAgB,EAC7B,SAAS,EAAE,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GACxB,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;CAQlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"exception.service.js","sourceRoot":"","sources":["../../src/services/exception.service.ts"],"names":[],"mappings":";;;AAEA,8CAGuB;AAEvB,MAAa,gBAAgB;IACpB,MAAM,CAAU,YAAY,GAAG,IAAI,GAAG,EAAgC,CAAC;IAExE,MAAM,CAAC,cAAc,CAE3B,SAAmB,EACnB,MAAuC;QAEvC,IAAI,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC;YACtC,MAAM,IAAI,kDAAqC,CAAC,SAAS,CAAC,CAAC;QAC5D,CAAC;QAED,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;IAEM,MAAM,CAAC,SAAS,CAEtB,SAAmB;QAEnB,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAChD,IAAI,CAAC,MAAM,EAAE,CAAC;YACb,MAAM,IAAI,6CAAgC,CAAC,SAAS,CAAC,CAAC;QACvD,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;;AAzBF,4CA0BC"}
1
+ {"version":3,"file":"exception.service.js","sourceRoot":"","sources":["../../src/services/exception.service.ts"],"names":[],"mappings":";;;AAEA,8CAGuB;AAEvB,MAAa,gBAAgB;IACpB,MAAM,CAAU,YAAY,GAAG,IAAI,GAAG,EAAgC,CAAC;IAExE,MAAM,CAAC,cAAc,CAE3B,SAA0B,EAC1B,MAAuC;QAEvC,IAAI,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC;YACtC,MAAM,IAAI,kDAAqC,CAAC,SAAS,CAAC,CAAC;QAC5D,CAAC;QAED,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;IAEM,MAAM,CAAC,SAAS,CAEtB,SAA0B;QAE1B,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAChD,IAAI,CAAC,MAAM,EAAE,CAAC;YACb,MAAM,IAAI,6CAAgC,CAAC,SAAS,CAAC,CAAC;QACvD,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;;AAzBF,4CA0BC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hg-ts/http-controller",
3
- "version": "0.1.79",
3
+ "version": "0.1.80",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"
@@ -17,14 +17,14 @@
17
17
  "start:example": "yarn build:dev --onSuccess \"node dist/example.js\""
18
18
  },
19
19
  "devDependencies": {
20
- "@hg-ts-config/typescript": "0.1.79",
21
- "@hg-ts/exception": "0.1.79",
22
- "@hg-ts/ioc": "0.1.79",
23
- "@hg-ts/linter": "0.1.79",
24
- "@hg-ts/logger": "0.1.79",
25
- "@hg-ts/tests": "0.1.79",
26
- "@hg-ts/types": "0.1.79",
27
- "@hg-ts/validation": "0.1.79",
20
+ "@hg-ts-config/typescript": "0.1.80",
21
+ "@hg-ts/exception": "0.1.80",
22
+ "@hg-ts/ioc": "0.1.80",
23
+ "@hg-ts/linter": "0.1.80",
24
+ "@hg-ts/logger": "0.1.80",
25
+ "@hg-ts/tests": "0.1.80",
26
+ "@hg-ts/types": "0.1.80",
27
+ "@hg-ts/validation": "0.1.80",
28
28
  "@nestjs/platform-fastify": "11.1.0",
29
29
  "@types/node": "22.10.6",
30
30
  "axios": "1.9.0",
@@ -38,10 +38,10 @@
38
38
  "typescript": "5.7.3"
39
39
  },
40
40
  "peerDependencies": {
41
- "@hg-ts/exception": "0.1.79",
42
- "@hg-ts/ioc": "0.1.79",
43
- "@hg-ts/logger": "0.1.79",
44
- "@hg-ts/validation": "0.1.79",
41
+ "@hg-ts/exception": "0.1.80",
42
+ "@hg-ts/ioc": "0.1.80",
43
+ "@hg-ts/logger": "0.1.80",
44
+ "@hg-ts/validation": "0.1.80",
45
45
  "reflect-metadata": "*",
46
46
  "rxjs": "*",
47
47
  "tslib": "*"