@markdy/stdlib-systems 0.7.26 → 0.7.27
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 +8 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +23 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,6 +14,14 @@ Adds actor types:
|
|
|
14
14
|
- `db`
|
|
15
15
|
- `queue`
|
|
16
16
|
- `client`
|
|
17
|
+
- `cloud`
|
|
18
|
+
- `region`
|
|
19
|
+
- `container`
|
|
20
|
+
- `cluster`
|
|
21
|
+
- `parking_map`
|
|
22
|
+
- `ascii_map`
|
|
23
|
+
- `game_scene`
|
|
24
|
+
- `byte_viz`
|
|
17
25
|
|
|
18
26
|
Adds actions:
|
|
19
27
|
- `.request(to=..., label=..., dur=...)`
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActorPack } from '@markdy/core';
|
|
2
2
|
|
|
3
|
-
declare const SYSTEM_ACTOR_TYPES: readonly ["service", "db", "queue", "client"];
|
|
3
|
+
declare const SYSTEM_ACTOR_TYPES: readonly ["service", "api", "microservice", "db", "database", "queue", "cache", "client", "user", "cloud", "region", "container", "cluster", "parking_map", "ascii_map", "game_scene", "byte_viz"];
|
|
4
4
|
declare const SYSTEM_FLOW_ACTIONS: readonly ["request", "response", "emit"];
|
|
5
5
|
declare const systemsPack: ActorPack;
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,32 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
var SYSTEM_ACTOR_TYPES = [
|
|
2
|
+
var SYSTEM_ACTOR_TYPES = [
|
|
3
|
+
"service",
|
|
4
|
+
"api",
|
|
5
|
+
"microservice",
|
|
6
|
+
"db",
|
|
7
|
+
"database",
|
|
8
|
+
"queue",
|
|
9
|
+
"cache",
|
|
10
|
+
"client",
|
|
11
|
+
"user",
|
|
12
|
+
"cloud",
|
|
13
|
+
"region",
|
|
14
|
+
"container",
|
|
15
|
+
"cluster",
|
|
16
|
+
"parking_map",
|
|
17
|
+
"ascii_map",
|
|
18
|
+
"game_scene",
|
|
19
|
+
"byte_viz"
|
|
20
|
+
];
|
|
3
21
|
var SYSTEM_FLOW_ACTIONS = ["request", "response", "emit"];
|
|
4
22
|
var FLOW_ACTIONS = [...SYSTEM_FLOW_ACTIONS];
|
|
23
|
+
var SYSTEM_ACTIONS = Object.fromEntries(
|
|
24
|
+
SYSTEM_ACTOR_TYPES.map((actorType) => [actorType, FLOW_ACTIONS])
|
|
25
|
+
);
|
|
5
26
|
var systemsPack = {
|
|
6
27
|
name: "systems",
|
|
7
28
|
actors: SYSTEM_ACTOR_TYPES,
|
|
8
|
-
actions:
|
|
9
|
-
service: FLOW_ACTIONS,
|
|
10
|
-
db: FLOW_ACTIONS,
|
|
11
|
-
queue: FLOW_ACTIONS,
|
|
12
|
-
client: FLOW_ACTIONS
|
|
13
|
-
}
|
|
29
|
+
actions: SYSTEM_ACTIONS
|
|
14
30
|
};
|
|
15
31
|
export {
|
|
16
32
|
SYSTEM_ACTOR_TYPES,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/stdlib-systems",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.27",
|
|
4
4
|
"description": "System diagram actor/action pack for Markdy.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@markdy/core": "0.7.
|
|
42
|
+
"@markdy/core": "0.7.27"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"tsup": "^8.5.1",
|