@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.
- package/LICENSE +21 -0
- package/PERFORMANCE.md +537 -0
- package/README.md +395 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -0
- package/dist/internal.d.cts +5 -0
- package/dist/internal.d.ts +5 -0
- package/dist/machine-extension.d.cts +153 -0
- package/dist/machine-extension.d.ts +153 -0
- package/dist/plugin.d.cts +32 -0
- package/dist/plugin.d.ts +32 -0
- package/dist/react/index.d.cts +11 -0
- package/dist/react/index.d.ts +11 -0
- package/dist/react.cjs +1 -0
- package/dist/react.js +1 -0
- package/dist/runtime/access.d.cts +72 -0
- package/dist/runtime/access.d.ts +72 -0
- package/dist/runtime/columns.d.cts +11 -0
- package/dist/runtime/columns.d.ts +11 -0
- package/dist/runtime/compile.d.cts +68 -0
- package/dist/runtime/compile.d.ts +68 -0
- package/dist/runtime/effects.d.cts +26 -0
- package/dist/runtime/effects.d.ts +26 -0
- package/dist/runtime/lifecycle.d.cts +10 -0
- package/dist/runtime/lifecycle.d.ts +10 -0
- package/dist/runtime/mutation-snapshot.d.cts +41 -0
- package/dist/runtime/mutation-snapshot.d.ts +41 -0
- package/dist/runtime/react.d.cts +29 -0
- package/dist/runtime/react.d.ts +29 -0
- package/dist/runtime/reactions.d.cts +15 -0
- package/dist/runtime/reactions.d.ts +15 -0
- package/dist/runtime/reduce-batch.d.cts +6 -0
- package/dist/runtime/reduce-batch.d.ts +6 -0
- package/dist/runtime/reduce-despawn.d.cts +7 -0
- package/dist/runtime/reduce-despawn.d.ts +7 -0
- package/dist/runtime/reduce-post-process.d.cts +35 -0
- package/dist/runtime/reduce-post-process.d.ts +35 -0
- package/dist/runtime/reduce-shared.d.cts +34 -0
- package/dist/runtime/reduce-shared.d.ts +34 -0
- package/dist/runtime/reduce-spawn.d.cts +5 -0
- package/dist/runtime/reduce-spawn.d.ts +5 -0
- package/dist/runtime/reduce-transitions.d.cts +11 -0
- package/dist/runtime/reduce-transitions.d.ts +11 -0
- package/dist/runtime/reduce.d.cts +5 -0
- package/dist/runtime/reduce.d.ts +5 -0
- package/dist/runtime/routing.d.cts +11 -0
- package/dist/runtime/routing.d.ts +11 -0
- package/dist/runtime/runtime-index.d.cts +23 -0
- package/dist/runtime/runtime-index.d.ts +23 -0
- package/dist/runtime/snapshot-export.d.cts +12 -0
- package/dist/runtime/snapshot-export.d.ts +12 -0
- package/dist/runtime/snapshot-import.d.cts +5 -0
- package/dist/runtime/snapshot-import.d.ts +5 -0
- package/dist/runtime/snapshot-types.d.cts +56 -0
- package/dist/runtime/snapshot-types.d.ts +56 -0
- package/dist/runtime/snapshot.d.cts +15 -0
- package/dist/runtime/snapshot.d.ts +15 -0
- package/dist/runtime/spawn-commit.d.cts +10 -0
- package/dist/runtime/spawn-commit.d.ts +10 -0
- package/dist/runtime/state.d.cts +15 -0
- package/dist/runtime/state.d.ts +15 -0
- package/dist/runtime/storage.d.cts +19 -0
- package/dist/runtime/storage.d.ts +19 -0
- package/dist/runtime/store-types.d.cts +81 -0
- package/dist/runtime/store-types.d.ts +81 -0
- package/dist/runtime/transaction.d.cts +104 -0
- package/dist/runtime/transaction.d.ts +104 -0
- package/dist/runtime/transitionTrace.d.cts +19 -0
- package/dist/runtime/transitionTrace.d.ts +19 -0
- package/dist/schema.d.cts +90 -0
- package/dist/schema.d.ts +90 -0
- package/dist/spawn.d.cts +56 -0
- package/dist/spawn.d.ts +56 -0
- 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
|
+
}
|