@stateflowx/common 1.0.1 → 1.0.2
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/README.md +34 -0
- package/package.json +21 -2
- package/events/runtime-envelope.ts +0 -7
- package/events/runtime-event.ts +0 -8
- package/execution/execution-context.interface.ts +0 -15
- package/index.ts +0 -4
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# @stateflowx/common
|
|
2
|
+
|
|
3
|
+
Shared contracts and type definitions used throughout the StateFlowX ecosystem.
|
|
4
|
+
|
|
5
|
+
This package contains common interfaces, events, envelopes, and execution models shared between:
|
|
6
|
+
|
|
7
|
+
- `@stateflowx/runtime`
|
|
8
|
+
- `@stateflowx/client`
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install @stateflowx/common
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Included Contracts
|
|
17
|
+
|
|
18
|
+
Examples include:
|
|
19
|
+
|
|
20
|
+
- `RuntimeEvent`
|
|
21
|
+
- `RuntimeEnvelope`
|
|
22
|
+
- `ExecutionContext`
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import {
|
|
28
|
+
RuntimeEvent,
|
|
29
|
+
RuntimeEnvelope,
|
|
30
|
+
ExecutionContext
|
|
31
|
+
} from '@stateflowx/common';
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Most application developers will not need to install this package directly. It is primarily intended for StateFlowX package development and shared contract definitions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stateflowx/common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Shared contracts and types for StateFlowX runtime and client packages.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": "Burt Snyder",
|
|
7
|
+
"homepage": "https://github.com/NewJerseySoftware/stateflowx",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/NewJerseySoftware/stateflowx.git"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"stateflowx",
|
|
14
|
+
"workflow",
|
|
15
|
+
"orchestration",
|
|
16
|
+
"runtime",
|
|
17
|
+
"contracts",
|
|
18
|
+
"types"
|
|
19
|
+
],
|
|
4
20
|
"main": "dist/index.js",
|
|
5
|
-
"types": "dist/index.d.ts"
|
|
21
|
+
"types": "dist/index.d.ts",
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
]
|
|
6
25
|
}
|
package/events/runtime-event.ts
DELETED
package/index.ts
DELETED