stentor-handler-factory 1.57.0 → 1.57.1
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/HandlerFactory.d.ts +2 -2
- package/package.json +13 -13
package/lib/HandlerFactory.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractHandler } from "stentor-handler";
|
|
2
2
|
import { Context, Handler, HandlerDelegates, Request } from "stentor-models";
|
|
3
|
-
export
|
|
3
|
+
export type HandlersArray = Array<new (props: Handler) => AbstractHandler>;
|
|
4
4
|
export interface HandlersKeyValue {
|
|
5
5
|
[key: string]: new (props: Handler) => AbstractHandler;
|
|
6
6
|
}
|
|
@@ -12,7 +12,7 @@ export interface HandlerFactoryProps {
|
|
|
12
12
|
mappings?: HandlersKeyValue;
|
|
13
13
|
delegates?: DelegatingHandlersMap;
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type HandlersMap = Map<string, new (props: Handler) => AbstractHandler>;
|
|
16
16
|
export declare class HandlerFactory {
|
|
17
17
|
private handlers;
|
|
18
18
|
private delegates?;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.57.
|
|
7
|
+
"version": "1.57.1",
|
|
8
8
|
"description": "Handler factory for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -23,20 +23,20 @@
|
|
|
23
23
|
"mocha": "9.2.2",
|
|
24
24
|
"sinon": "14.0.1",
|
|
25
25
|
"sinon-chai": "3.7.0",
|
|
26
|
-
"stentor-models": "1.57.
|
|
27
|
-
"stentor-request": "1.57.
|
|
26
|
+
"stentor-models": "1.57.1",
|
|
27
|
+
"stentor-request": "1.57.1",
|
|
28
28
|
"ts-node": "10.9.1",
|
|
29
|
-
"typescript": "4.
|
|
29
|
+
"typescript": "4.9.3"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"stentor-constants": "1.57.
|
|
33
|
-
"stentor-context": "1.57.
|
|
34
|
-
"stentor-handler": "1.57.
|
|
35
|
-
"stentor-handler-delegating": "1.57.
|
|
36
|
-
"stentor-interaction-model": "1.57.
|
|
37
|
-
"stentor-logger": "1.57.
|
|
38
|
-
"stentor-response": "1.57.
|
|
39
|
-
"stentor-utils": "1.57.
|
|
32
|
+
"stentor-constants": "1.57.1",
|
|
33
|
+
"stentor-context": "1.57.1",
|
|
34
|
+
"stentor-handler": "1.57.1",
|
|
35
|
+
"stentor-handler-delegating": "1.57.1",
|
|
36
|
+
"stentor-interaction-model": "1.57.1",
|
|
37
|
+
"stentor-logger": "1.57.1",
|
|
38
|
+
"stentor-response": "1.57.1",
|
|
39
|
+
"stentor-utils": "1.57.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"stentor-models": "1.x"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"clean": "rm -rf ./lib/*",
|
|
47
47
|
"test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "09019818f24aeb1882fe2e8a73f43a01a0cc2789"
|
|
50
50
|
}
|