@hg-ts/cqrs 0.1.72 → 0.1.73
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/dist/decorators/command-handler.decorator.d.ts +1 -1
- package/dist/decorators/command-handler.decorator.d.ts.map +1 -1
- package/dist/decorators/command-handler.decorator.js.map +1 -1
- package/dist/decorators/query-handler.decorator.d.ts +1 -1
- package/dist/decorators/query-handler.decorator.d.ts.map +1 -1
- package/dist/decorators/query-handler.decorator.js.map +1 -1
- package/package.json +10 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { BaseCommand, BaseCommandHandler } from '../abstracts';
|
|
2
2
|
export declare const COMMAND_HANDLER_METADATA: unique symbol;
|
|
3
|
-
export declare function CommandHandler<Command extends BaseCommand<any>>(commandCtor: Class<Command, any[]>): TypedClassDecorator<Class<
|
|
3
|
+
export declare function CommandHandler<Command extends BaseCommand<any>, Handler extends BaseCommandHandler<Command>>(commandCtor: Class<Command, any[]>): TypedClassDecorator<Class<Handler>>;
|
|
4
4
|
//# sourceMappingURL=command-handler.decorator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-handler.decorator.d.ts","sourceRoot":"","sources":["../../src/decorators/command-handler.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,WAAW,EACX,kBAAkB,EAClB,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,wBAAwB,eAAqC,CAAC;AAE3E,wBAAgB,cAAc,CAAC,OAAO,SAAS,WAAW,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"command-handler.decorator.d.ts","sourceRoot":"","sources":["../../src/decorators/command-handler.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,WAAW,EACX,kBAAkB,EAClB,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,wBAAwB,eAAqC,CAAC;AAE3E,wBAAgB,cAAc,CAAC,OAAO,SAAS,WAAW,CAAC,GAAG,CAAC,EAAE,OAAO,SAAS,kBAAkB,CAAC,OAAO,CAAC,EAC3G,WAAW,EAAE,KAAK,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,GAChC,mBAAmB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAIrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-handler.decorator.js","sourceRoot":"","sources":["../../src/decorators/command-handler.decorator.ts"],"names":[],"mappings":";;;AAOA,wCAMC;AARY,QAAA,wBAAwB,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC;AAE3E,SAAgB,cAAc,CAC7B,WAAkC;IAElC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"command-handler.decorator.js","sourceRoot":"","sources":["../../src/decorators/command-handler.decorator.ts"],"names":[],"mappings":";;;AAOA,wCAMC;AARY,QAAA,wBAAwB,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC;AAE3E,SAAgB,cAAc,CAC7B,WAAkC;IAElC,OAAO,CAAC,IAAoB,EAAE,EAAE;QAC/B,OAAO,CAAC,cAAc,CAAC,gCAAwB,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { BaseQuery, BaseQueryHandler } from '../abstracts';
|
|
2
2
|
export declare const QUERY_HANDLER_METADATA: unique symbol;
|
|
3
|
-
export declare function QueryHandler<Query extends BaseQuery<any>>(queryCtor: Class<Query, any[]>): TypedClassDecorator<Class<
|
|
3
|
+
export declare function QueryHandler<Query extends BaseQuery<any>, Handler extends BaseQueryHandler<Query>>(queryCtor: Class<Query, any[]>): TypedClassDecorator<Class<Handler>>;
|
|
4
4
|
//# sourceMappingURL=query-handler.decorator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-handler.decorator.d.ts","sourceRoot":"","sources":["../../src/decorators/query-handler.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,gBAAgB,EAChB,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,sBAAsB,eAAmC,CAAC;AAEvE,wBAAgB,YAAY,CAAC,KAAK,SAAS,SAAS,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"query-handler.decorator.d.ts","sourceRoot":"","sources":["../../src/decorators/query-handler.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,gBAAgB,EAChB,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,sBAAsB,eAAmC,CAAC;AAEvE,wBAAgB,YAAY,CAAC,KAAK,SAAS,SAAS,CAAC,GAAG,CAAC,EAAE,OAAO,SAAS,gBAAgB,CAAC,KAAK,CAAC,EACjG,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,GAC5B,mBAAmB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAIrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-handler.decorator.js","sourceRoot":"","sources":["../../src/decorators/query-handler.decorator.ts"],"names":[],"mappings":";;;AAOA,oCAMC;AARY,QAAA,sBAAsB,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAEvE,SAAgB,YAAY,CAC3B,SAA8B;IAE9B,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"query-handler.decorator.js","sourceRoot":"","sources":["../../src/decorators/query-handler.decorator.ts"],"names":[],"mappings":";;;AAOA,oCAMC;AARY,QAAA,sBAAsB,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAEvE,SAAgB,YAAY,CAC3B,SAA8B;IAE9B,OAAO,CAAC,IAAoB,EAAE,EAAE;QAC/B,OAAO,CAAC,cAAc,CAAC,8BAAsB,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hg-ts/cqrs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.73",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js"
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"test:dev": "yarn build:dev --onSuccess \"yarn test\""
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@hg-ts-config/typescript": "0.1.
|
|
20
|
-
"@hg-ts/exception": "0.1.
|
|
21
|
-
"@hg-ts/ioc": "0.1.
|
|
22
|
-
"@hg-ts/linter": "0.1.
|
|
23
|
-
"@hg-ts/tests": "0.1.
|
|
24
|
-
"@hg-ts/types": "0.1.
|
|
19
|
+
"@hg-ts-config/typescript": "0.1.73",
|
|
20
|
+
"@hg-ts/exception": "0.1.73",
|
|
21
|
+
"@hg-ts/ioc": "0.1.73",
|
|
22
|
+
"@hg-ts/linter": "0.1.73",
|
|
23
|
+
"@hg-ts/tests": "0.1.73",
|
|
24
|
+
"@hg-ts/types": "0.1.73",
|
|
25
25
|
"@types/node": "22.10.6",
|
|
26
26
|
"eslint": "9.18.0",
|
|
27
27
|
"reflect-metadata": "0.2.2",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"typescript": "5.7.3"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@hg-ts/exception": "0.1.
|
|
34
|
-
"@hg-ts/ioc": "0.1.
|
|
35
|
-
"@hg-ts/tests": "0.1.
|
|
33
|
+
"@hg-ts/exception": "0.1.73",
|
|
34
|
+
"@hg-ts/ioc": "0.1.73",
|
|
35
|
+
"@hg-ts/tests": "0.1.73",
|
|
36
36
|
"reflect-metadata": "*",
|
|
37
37
|
"tslib": "*"
|
|
38
38
|
}
|