@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.
Files changed (67) hide show
  1. package/.eslintignore +13 -0
  2. package/.eslintrc.js +1 -0
  3. package/jest.config.js +19 -0
  4. package/lib/cjs/TemporalModule.js +53 -0
  5. package/lib/cjs/TemporalModule.js.map +1 -0
  6. package/lib/cjs/constants.js +5 -0
  7. package/lib/cjs/constants.js.map +1 -0
  8. package/lib/cjs/decorators/activity.js +17 -0
  9. package/lib/cjs/decorators/activity.js.map +1 -0
  10. package/lib/cjs/decorators/temporal.js +13 -0
  11. package/lib/cjs/decorators/temporal.js.map +1 -0
  12. package/lib/cjs/index.js +15 -0
  13. package/lib/cjs/index.js.map +1 -0
  14. package/lib/cjs/interfaces/TemporalStore.js +5 -0
  15. package/lib/cjs/interfaces/TemporalStore.js.map +1 -0
  16. package/lib/cjs/interfaces/interfaces.js +3 -0
  17. package/lib/cjs/interfaces/interfaces.js.map +1 -0
  18. package/lib/cjs/package.json +3 -0
  19. package/lib/cjs/services/TemporalFactory.js +51 -0
  20. package/lib/cjs/services/TemporalFactory.js.map +1 -0
  21. package/lib/cjs/utils/worker.js +35 -0
  22. package/lib/cjs/utils/worker.js.map +1 -0
  23. package/lib/esm/TemporalModule.js +50 -0
  24. package/lib/esm/TemporalModule.js.map +1 -0
  25. package/lib/esm/constants.js +2 -0
  26. package/lib/esm/constants.js.map +1 -0
  27. package/lib/esm/decorators/activity.js +13 -0
  28. package/lib/esm/decorators/activity.js.map +1 -0
  29. package/lib/esm/decorators/temporal.js +9 -0
  30. package/lib/esm/decorators/temporal.js.map +1 -0
  31. package/lib/esm/index.js +12 -0
  32. package/lib/esm/index.js.map +1 -0
  33. package/lib/esm/interfaces/TemporalStore.js +2 -0
  34. package/lib/esm/interfaces/TemporalStore.js.map +1 -0
  35. package/lib/esm/interfaces/interfaces.js +2 -0
  36. package/lib/esm/interfaces/interfaces.js.map +1 -0
  37. package/lib/esm/package.json +3 -0
  38. package/lib/esm/services/TemporalFactory.js +48 -0
  39. package/lib/esm/services/TemporalFactory.js.map +1 -0
  40. package/lib/esm/utils/worker.js +31 -0
  41. package/lib/esm/utils/worker.js.map +1 -0
  42. package/lib/tsconfig.esm.tsbuildinfo +1 -0
  43. package/lib/tsconfig.tsbuildinfo +1 -0
  44. package/lib/types/TemporalModule.d.ts +12 -0
  45. package/lib/types/constants.d.ts +1 -0
  46. package/lib/types/decorators/activity.d.ts +2 -0
  47. package/lib/types/decorators/temporal.d.ts +1 -0
  48. package/lib/types/index.d.ts +11 -0
  49. package/lib/types/interfaces/TemporalStore.d.ts +9 -0
  50. package/lib/types/interfaces/interfaces.d.ts +12 -0
  51. package/lib/types/services/TemporalFactory.d.ts +5 -0
  52. package/lib/types/utils/worker.d.ts +9 -0
  53. package/package.json +49 -0
  54. package/readme.md +256 -0
  55. package/src/TemporalModule.ts +39 -0
  56. package/src/constants.ts +1 -0
  57. package/src/decorators/activity.spec.ts +40 -0
  58. package/src/decorators/activity.ts +14 -0
  59. package/src/decorators/temporal.spec.ts +11 -0
  60. package/src/decorators/temporal.ts +11 -0
  61. package/src/index.ts +12 -0
  62. package/src/interfaces/TemporalStore.ts +9 -0
  63. package/src/interfaces/interfaces.ts +14 -0
  64. package/src/services/TemporalFactory.ts +55 -0
  65. package/src/utils/worker.ts +43 -0
  66. package/tsconfig.esm.json +39 -0
  67. 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
+ }