@lite-fsm/entities 0.1.0-alpha.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 (76) hide show
  1. package/LICENSE +21 -0
  2. package/PERFORMANCE.md +537 -0
  3. package/README.md +395 -0
  4. package/dist/index.cjs +1 -0
  5. package/dist/index.d.cts +8 -0
  6. package/dist/index.d.ts +8 -0
  7. package/dist/index.js +1 -0
  8. package/dist/internal.d.cts +5 -0
  9. package/dist/internal.d.ts +5 -0
  10. package/dist/machine-extension.d.cts +153 -0
  11. package/dist/machine-extension.d.ts +153 -0
  12. package/dist/plugin.d.cts +32 -0
  13. package/dist/plugin.d.ts +32 -0
  14. package/dist/react/index.d.cts +11 -0
  15. package/dist/react/index.d.ts +11 -0
  16. package/dist/react.cjs +1 -0
  17. package/dist/react.js +1 -0
  18. package/dist/runtime/access.d.cts +72 -0
  19. package/dist/runtime/access.d.ts +72 -0
  20. package/dist/runtime/columns.d.cts +11 -0
  21. package/dist/runtime/columns.d.ts +11 -0
  22. package/dist/runtime/compile.d.cts +68 -0
  23. package/dist/runtime/compile.d.ts +68 -0
  24. package/dist/runtime/effects.d.cts +26 -0
  25. package/dist/runtime/effects.d.ts +26 -0
  26. package/dist/runtime/lifecycle.d.cts +10 -0
  27. package/dist/runtime/lifecycle.d.ts +10 -0
  28. package/dist/runtime/mutation-snapshot.d.cts +41 -0
  29. package/dist/runtime/mutation-snapshot.d.ts +41 -0
  30. package/dist/runtime/react.d.cts +29 -0
  31. package/dist/runtime/react.d.ts +29 -0
  32. package/dist/runtime/reactions.d.cts +15 -0
  33. package/dist/runtime/reactions.d.ts +15 -0
  34. package/dist/runtime/reduce-batch.d.cts +6 -0
  35. package/dist/runtime/reduce-batch.d.ts +6 -0
  36. package/dist/runtime/reduce-despawn.d.cts +7 -0
  37. package/dist/runtime/reduce-despawn.d.ts +7 -0
  38. package/dist/runtime/reduce-post-process.d.cts +35 -0
  39. package/dist/runtime/reduce-post-process.d.ts +35 -0
  40. package/dist/runtime/reduce-shared.d.cts +34 -0
  41. package/dist/runtime/reduce-shared.d.ts +34 -0
  42. package/dist/runtime/reduce-spawn.d.cts +5 -0
  43. package/dist/runtime/reduce-spawn.d.ts +5 -0
  44. package/dist/runtime/reduce-transitions.d.cts +11 -0
  45. package/dist/runtime/reduce-transitions.d.ts +11 -0
  46. package/dist/runtime/reduce.d.cts +5 -0
  47. package/dist/runtime/reduce.d.ts +5 -0
  48. package/dist/runtime/routing.d.cts +11 -0
  49. package/dist/runtime/routing.d.ts +11 -0
  50. package/dist/runtime/runtime-index.d.cts +23 -0
  51. package/dist/runtime/runtime-index.d.ts +23 -0
  52. package/dist/runtime/snapshot-export.d.cts +12 -0
  53. package/dist/runtime/snapshot-export.d.ts +12 -0
  54. package/dist/runtime/snapshot-import.d.cts +5 -0
  55. package/dist/runtime/snapshot-import.d.ts +5 -0
  56. package/dist/runtime/snapshot-types.d.cts +56 -0
  57. package/dist/runtime/snapshot-types.d.ts +56 -0
  58. package/dist/runtime/snapshot.d.cts +15 -0
  59. package/dist/runtime/snapshot.d.ts +15 -0
  60. package/dist/runtime/spawn-commit.d.cts +10 -0
  61. package/dist/runtime/spawn-commit.d.ts +10 -0
  62. package/dist/runtime/state.d.cts +15 -0
  63. package/dist/runtime/state.d.ts +15 -0
  64. package/dist/runtime/storage.d.cts +19 -0
  65. package/dist/runtime/storage.d.ts +19 -0
  66. package/dist/runtime/store-types.d.cts +81 -0
  67. package/dist/runtime/store-types.d.ts +81 -0
  68. package/dist/runtime/transaction.d.cts +104 -0
  69. package/dist/runtime/transaction.d.ts +104 -0
  70. package/dist/runtime/transitionTrace.d.cts +19 -0
  71. package/dist/runtime/transitionTrace.d.ts +19 -0
  72. package/dist/schema.d.cts +90 -0
  73. package/dist/schema.d.ts +90 -0
  74. package/dist/spawn.d.cts +56 -0
  75. package/dist/spawn.d.ts +56 -0
  76. package/package.json +90 -0
package/package.json ADDED
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "@lite-fsm/entities",
3
+ "version": "0.1.0-alpha.0",
4
+ "type": "module",
5
+ "description": "Alpha entity runtime plugin for lite-fsm",
6
+ "license": "MIT",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "main": "./dist/index.cjs",
11
+ "module": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "sideEffects": false,
14
+ "exports": {
15
+ "./package.json": "./package.json",
16
+ ".": {
17
+ "import": {
18
+ "types": "./dist/index.d.ts",
19
+ "default": "./dist/index.js"
20
+ },
21
+ "require": {
22
+ "types": "./dist/index.d.cts",
23
+ "default": "./dist/index.cjs"
24
+ }
25
+ },
26
+ "./react": {
27
+ "import": {
28
+ "types": "./dist/react/index.d.ts",
29
+ "default": "./dist/react.js"
30
+ },
31
+ "require": {
32
+ "types": "./dist/react/index.d.cts",
33
+ "default": "./dist/react.cjs"
34
+ }
35
+ }
36
+ },
37
+ "typesVersions": {
38
+ "*": {
39
+ "*": [
40
+ "dist/index.d.ts"
41
+ ],
42
+ "react": [
43
+ "dist/react/index.d.ts"
44
+ ]
45
+ }
46
+ },
47
+ "files": [
48
+ "dist",
49
+ "examples",
50
+ "PERFORMANCE.md"
51
+ ],
52
+ "keywords": [
53
+ "lite-fsm",
54
+ "fsm",
55
+ "finite-state-machine",
56
+ "entity-runtime",
57
+ "state-management",
58
+ "typescript"
59
+ ],
60
+ "repository": {
61
+ "type": "git",
62
+ "url": "git+https://github.com/AlexanderGureev/lite-fsm.git",
63
+ "directory": "packages/entities"
64
+ },
65
+ "engines": {
66
+ "node": ">=16"
67
+ },
68
+ "dependencies": {
69
+ "@lite-fsm/core": "2.1.0-alpha.0"
70
+ },
71
+ "devDependencies": {
72
+ "@lite-fsm/react": "2.1.0-alpha.0"
73
+ },
74
+ "peerDependencies": {
75
+ "react": ">=18.0.0",
76
+ "@lite-fsm/react": "2.1.0-alpha.0"
77
+ },
78
+ "peerDependenciesMeta": {
79
+ "@lite-fsm/react": {
80
+ "optional": true
81
+ },
82
+ "react": {
83
+ "optional": true
84
+ }
85
+ },
86
+ "scripts": {
87
+ "build": "tsup --config tsup.config.ts && tsc -p tsconfig.build.json && node ../../scripts/dts-to-dcts.mjs dist",
88
+ "check-types": "tsc --noEmit -p tsconfig.json"
89
+ }
90
+ }