@tsed/temporal 7.37.0
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/.eslintignore +13 -0
- package/.eslintrc.js +1 -0
- package/jest.config.js +19 -0
- package/lib/cjs/TemporalModule.js +53 -0
- package/lib/cjs/TemporalModule.js.map +1 -0
- package/lib/cjs/constants.js +5 -0
- package/lib/cjs/constants.js.map +1 -0
- package/lib/cjs/decorators/activity.js +17 -0
- package/lib/cjs/decorators/activity.js.map +1 -0
- package/lib/cjs/decorators/temporal.js +13 -0
- package/lib/cjs/decorators/temporal.js.map +1 -0
- package/lib/cjs/index.js +15 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/cjs/interfaces/TemporalStore.js +5 -0
- package/lib/cjs/interfaces/TemporalStore.js.map +1 -0
- package/lib/cjs/interfaces/interfaces.js +3 -0
- package/lib/cjs/interfaces/interfaces.js.map +1 -0
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/services/TemporalFactory.js +51 -0
- package/lib/cjs/services/TemporalFactory.js.map +1 -0
- package/lib/cjs/utils/worker.js +35 -0
- package/lib/cjs/utils/worker.js.map +1 -0
- package/lib/esm/TemporalModule.js +50 -0
- package/lib/esm/TemporalModule.js.map +1 -0
- package/lib/esm/constants.js +2 -0
- package/lib/esm/constants.js.map +1 -0
- package/lib/esm/decorators/activity.js +13 -0
- package/lib/esm/decorators/activity.js.map +1 -0
- package/lib/esm/decorators/temporal.js +9 -0
- package/lib/esm/decorators/temporal.js.map +1 -0
- package/lib/esm/index.js +12 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/interfaces/TemporalStore.js +2 -0
- package/lib/esm/interfaces/TemporalStore.js.map +1 -0
- package/lib/esm/interfaces/interfaces.js +2 -0
- package/lib/esm/interfaces/interfaces.js.map +1 -0
- package/lib/esm/package.json +3 -0
- package/lib/esm/services/TemporalFactory.js +48 -0
- package/lib/esm/services/TemporalFactory.js.map +1 -0
- package/lib/esm/utils/worker.js +31 -0
- package/lib/esm/utils/worker.js.map +1 -0
- package/lib/tsconfig.esm.tsbuildinfo +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/lib/types/TemporalModule.d.ts +12 -0
- package/lib/types/constants.d.ts +1 -0
- package/lib/types/decorators/activity.d.ts +2 -0
- package/lib/types/decorators/temporal.d.ts +1 -0
- package/lib/types/index.d.ts +11 -0
- package/lib/types/interfaces/TemporalStore.d.ts +9 -0
- package/lib/types/interfaces/interfaces.d.ts +12 -0
- package/lib/types/services/TemporalFactory.d.ts +5 -0
- package/lib/types/utils/worker.d.ts +9 -0
- package/package.json +49 -0
- package/readme.md +256 -0
- package/src/TemporalModule.ts +39 -0
- package/src/constants.ts +1 -0
- package/src/decorators/activity.spec.ts +40 -0
- package/src/decorators/activity.ts +14 -0
- package/src/decorators/temporal.spec.ts +11 -0
- package/src/decorators/temporal.ts +11 -0
- package/src/index.ts +12 -0
- package/src/interfaces/TemporalStore.ts +9 -0
- package/src/interfaces/interfaces.ts +14 -0
- package/src/services/TemporalFactory.ts +55 -0
- package/src/utils/worker.ts +43 -0
- package/tsconfig.esm.json +39 -0
- package/tsconfig.json +39 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@tsed/typescript/tsconfig.node.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"baseUrl": ".",
|
|
5
|
+
"module": "ES2020",
|
|
6
|
+
"rootDir": "src",
|
|
7
|
+
"outDir": "./lib/esm",
|
|
8
|
+
"declaration": true,
|
|
9
|
+
"declarationDir": "./lib/types",
|
|
10
|
+
"composite": true,
|
|
11
|
+
"noEmit": false
|
|
12
|
+
},
|
|
13
|
+
"include": ["src", "src/**/*.json"],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"node_modules",
|
|
16
|
+
"test",
|
|
17
|
+
"lib",
|
|
18
|
+
"benchmark",
|
|
19
|
+
"coverage",
|
|
20
|
+
"spec",
|
|
21
|
+
"**/*.benchmark.ts",
|
|
22
|
+
"**/*.spec.ts",
|
|
23
|
+
"keys",
|
|
24
|
+
"jest.config.js",
|
|
25
|
+
"**/__mock__/**",
|
|
26
|
+
"webpack.config.js"
|
|
27
|
+
],
|
|
28
|
+
"references": [
|
|
29
|
+
{
|
|
30
|
+
"path": "../../platform/common"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../core"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../di"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@tsed/typescript/tsconfig.node.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"baseUrl": ".",
|
|
5
|
+
"module": "commonjs",
|
|
6
|
+
"rootDir": "src",
|
|
7
|
+
"outDir": "./lib/cjs",
|
|
8
|
+
"declaration": true,
|
|
9
|
+
"declarationDir": "./lib/types",
|
|
10
|
+
"composite": true,
|
|
11
|
+
"noEmit": false
|
|
12
|
+
},
|
|
13
|
+
"include": ["src", "src/**/*.json"],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"node_modules",
|
|
16
|
+
"test",
|
|
17
|
+
"lib",
|
|
18
|
+
"benchmark",
|
|
19
|
+
"coverage",
|
|
20
|
+
"spec",
|
|
21
|
+
"**/*.benchmark.ts",
|
|
22
|
+
"**/*.spec.ts",
|
|
23
|
+
"keys",
|
|
24
|
+
"jest.config.js",
|
|
25
|
+
"**/__mock__/**",
|
|
26
|
+
"webpack.config.js"
|
|
27
|
+
],
|
|
28
|
+
"references": [
|
|
29
|
+
{
|
|
30
|
+
"path": "../../platform/common"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../core"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../di"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|