process-graph 1.2.0 → 1.3.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/README.md +22 -19
- package/dist/bin.js +4 -3
- package/dist/cli.d.ts +42 -10
- package/dist/cli.js +3 -2
- package/dist/data-file-BVMxkTug.js +95 -0
- package/dist/dist-81kTKnMq.js +3 -0
- package/dist/{dist-BxHnxpcT.js → dist-BI01yxFA.js} +82 -84
- package/dist/{dist-BpCBmnMl.js → dist-arkejVz2.js} +2 -112
- package/dist/{graphql-C1j5wQFz.d.ts → graphql-BE7xm5dB.d.ts} +3 -2
- package/dist/{index-BUheRLdG.d.ts → index-9Au8pAmP.d.ts} +4 -4
- package/dist/{index-CrM5qWUA.d.ts → index-BC4tmAuQ.d.ts} +2 -2
- package/dist/{index-DxWOY8f9.d.ts → index-CR8xUK3S.d.ts} +5 -572
- package/dist/{index-CoA6vXqe.d.ts → index-D06bcdfw.d.ts} +1 -1
- package/dist/{index-BH1aFqkJ.d.ts → index-D4CnOhNf.d.ts} +1 -1
- package/dist/{index-CmZOswkx.d.ts → index-Dvz_I_uQ.d.ts} +17 -8
- package/dist/{index-CptUHq6F.d.ts → index-hri2a13-.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/layout.d.ts +1 -1
- package/dist/{parse-CuipC_2K.js → parse-C1Q1zsGt.js} +1 -1
- package/dist/react-flow.d.ts +5 -5
- package/dist/react-flow.js +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/{router-DvGGLnNt.js → router-Dk91O_9p.js} +2 -2
- package/dist/{schema-CVnS6HiX.js → schema-BPT8fmfa.js} +2 -2
- package/dist/source/github/node.d.ts +1 -1
- package/dist/source/github.d.ts +2 -2
- package/dist/source/github.js +1 -1
- package/dist/{source-DRDpEA8Q.js → source-D51N7K3A.js} +23 -3
- package/dist/store/node.d.ts +27 -2
- package/dist/store/node.js +2 -2
- package/dist/store/wasm/worker.js +2 -2
- package/dist/store/wasm.d.ts +1 -1
- package/dist/{store-BJILV4JS.js → store-DKzvLGgl.js} +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/store.js +2 -2
- package/dist/theme-values-BJJhAkUn-ORyRUrPf.js +114 -0
- package/dist/theme-values-BybZ-cle.d.ts +116 -0
- package/dist/ui/theme.d.ts +2 -0
- package/dist/ui/theme.js +2 -0
- package/dist/ui.d.ts +6 -120
- package/dist/ui.js +2 -1
- package/dist/version-Dagrkvwt.js +5 -0
- package/package.json +28 -23
- package/dist/dist-Cw63tKU9.js +0 -3
- package/dist/open-BF-UHqeW.js +0 -29
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as FactRecord } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { k as FactRecord } from "./index-D4CnOhNf.js";
|
|
2
|
+
import { _ as Model, f as Issue, i as ModelSchema, o as Overlay, q as OpenIds } from "./index-Dvz_I_uQ.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { ContractRouterClient } from "@orpc/contract";
|
|
5
5
|
import { ContractedRouter } from "@orpc/server";
|
|
@@ -31,196 +31,7 @@ declare const graphStoreContract: {
|
|
|
31
31
|
}, never> & object>;
|
|
32
32
|
save: import("@orpc/contract").ProcedureContract<z.ZodReadonly<z.ZodObject<{
|
|
33
33
|
modelId: z.ZodString;
|
|
34
|
-
model:
|
|
35
|
-
participants: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
36
|
-
id: z.ZodString;
|
|
37
|
-
label: z.ZodString;
|
|
38
|
-
kind: z.ZodEnum<{
|
|
39
|
-
role: "role";
|
|
40
|
-
system: "system";
|
|
41
|
-
entity: "entity";
|
|
42
|
-
}>;
|
|
43
|
-
}, z.core.$strict>>>>;
|
|
44
|
-
events: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
45
|
-
id: z.ZodString;
|
|
46
|
-
name: z.ZodString;
|
|
47
|
-
payload: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
48
|
-
}, z.core.$strict>>>>;
|
|
49
|
-
actions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
50
|
-
id: z.ZodString;
|
|
51
|
-
name: z.ZodString;
|
|
52
|
-
}, z.core.$strict>>>>;
|
|
53
|
-
artefacts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
54
|
-
id: z.ZodString;
|
|
55
|
-
name: z.ZodString;
|
|
56
|
-
deliverable: z.ZodExactOptional<z.ZodBoolean>;
|
|
57
|
-
}, z.core.$strict>>>>;
|
|
58
|
-
elements: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
59
|
-
kind: z.ZodLiteral<"activity">;
|
|
60
|
-
id: z.ZodString;
|
|
61
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
62
|
-
label: z.ZodString;
|
|
63
|
-
actor: z.ZodExactOptional<z.ZodString>;
|
|
64
|
-
action: z.ZodExactOptional<z.ZodString>;
|
|
65
|
-
source: z.ZodExactOptional<z.ZodString>;
|
|
66
|
-
affects: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
67
|
-
consumes: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
68
|
-
produces: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
69
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
70
|
-
kind: z.ZodLiteral<"decision">;
|
|
71
|
-
id: z.ZodString;
|
|
72
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
73
|
-
label: z.ZodString;
|
|
74
|
-
actor: z.ZodExactOptional<z.ZodString>;
|
|
75
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
76
|
-
kind: z.ZodLiteral<"state">;
|
|
77
|
-
id: z.ZodString;
|
|
78
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
79
|
-
label: z.ZodString;
|
|
80
|
-
parent: z.ZodExactOptional<z.ZodString>;
|
|
81
|
-
entry: z.ZodExactOptional<z.ZodString>;
|
|
82
|
-
exit: z.ZodExactOptional<z.ZodString>;
|
|
83
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
84
|
-
kind: z.ZodLiteral<"pseudo">;
|
|
85
|
-
id: z.ZodString;
|
|
86
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
87
|
-
role: z.ZodEnum<{
|
|
88
|
-
initial: "initial";
|
|
89
|
-
final: "final";
|
|
90
|
-
fork: "fork";
|
|
91
|
-
join: "join";
|
|
92
|
-
history: "history";
|
|
93
|
-
}>;
|
|
94
|
-
parent: z.ZodExactOptional<z.ZodString>;
|
|
95
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
96
|
-
kind: z.ZodLiteral<"message">;
|
|
97
|
-
id: z.ZodString;
|
|
98
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
99
|
-
label: z.ZodString;
|
|
100
|
-
from: z.ZodString;
|
|
101
|
-
to: z.ZodString;
|
|
102
|
-
mode: z.ZodEnum<{
|
|
103
|
-
sync: "sync";
|
|
104
|
-
async: "async";
|
|
105
|
-
reply: "reply";
|
|
106
|
-
create: "create";
|
|
107
|
-
destroy: "destroy";
|
|
108
|
-
}>;
|
|
109
|
-
event: z.ZodExactOptional<z.ZodString>;
|
|
110
|
-
}, z.core.$strict>>], "kind">>>;
|
|
111
|
-
transitions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
112
|
-
id: z.ZodString;
|
|
113
|
-
source: z.ZodString;
|
|
114
|
-
target: z.ZodString;
|
|
115
|
-
trigger: z.ZodExactOptional<z.ZodString>;
|
|
116
|
-
guard: z.ZodExactOptional<z.ZodString>;
|
|
117
|
-
condition: z.ZodExactOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
118
|
-
kind: z.ZodLiteral<"not">;
|
|
119
|
-
operand: typeof import("trilean").PredicateNodeSchema;
|
|
120
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
121
|
-
kind: z.ZodLiteral<"and">;
|
|
122
|
-
left: typeof import("trilean").PredicateNodeSchema;
|
|
123
|
-
right: typeof import("trilean").PredicateNodeSchema;
|
|
124
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
-
kind: z.ZodLiteral<"or">;
|
|
126
|
-
left: typeof import("trilean").PredicateNodeSchema;
|
|
127
|
-
right: typeof import("trilean").PredicateNodeSchema;
|
|
128
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
-
kind: z.ZodLiteral<"allOf">;
|
|
130
|
-
operands: z.ZodArray<typeof import("trilean").PredicateNodeSchema>;
|
|
131
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
132
|
-
kind: z.ZodLiteral<"anyOf">;
|
|
133
|
-
operands: z.ZodArray<typeof import("trilean").PredicateNodeSchema>;
|
|
134
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
-
kind: z.ZodLiteral<"compare">;
|
|
136
|
-
op: z.ZodEnum<{
|
|
137
|
-
gt: "gt";
|
|
138
|
-
gte: "gte";
|
|
139
|
-
lt: "lt";
|
|
140
|
-
lte: "lte";
|
|
141
|
-
eq: "eq";
|
|
142
|
-
neq: "neq";
|
|
143
|
-
}>;
|
|
144
|
-
left: typeof import("trilean").ExpressionNodeSchema;
|
|
145
|
-
right: typeof import("trilean").ExpressionNodeSchema;
|
|
146
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
147
|
-
kind: z.ZodLiteral<"textCompare">;
|
|
148
|
-
op: z.ZodEnum<{
|
|
149
|
-
equals: "equals";
|
|
150
|
-
notEquals: "notEquals";
|
|
151
|
-
matches: "matches";
|
|
152
|
-
notMatches: "notMatches";
|
|
153
|
-
portableMatches: "portableMatches";
|
|
154
|
-
portableNotMatches: "portableNotMatches";
|
|
155
|
-
}>;
|
|
156
|
-
left: typeof import("trilean").ExpressionNodeSchema;
|
|
157
|
-
right: typeof import("trilean").ExpressionNodeSchema;
|
|
158
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
159
|
-
kind: z.ZodLiteral<"memberOf">;
|
|
160
|
-
op: z.ZodEnum<{
|
|
161
|
-
in: "in";
|
|
162
|
-
notIn: "notIn";
|
|
163
|
-
}>;
|
|
164
|
-
operand: typeof import("trilean").ExpressionNodeSchema;
|
|
165
|
-
candidates: z.ZodArray<typeof import("trilean").ExpressionNodeSchema>;
|
|
166
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
167
|
-
kind: z.ZodLiteral<"exists">;
|
|
168
|
-
operand: typeof import("trilean").ExpressionNodeSchema;
|
|
169
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
170
|
-
kind: z.ZodLiteral<"some">;
|
|
171
|
-
collection: z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>;
|
|
172
|
-
item: typeof import("trilean").PredicateNodeSchema;
|
|
173
|
-
filter: z.ZodOptional<typeof import("trilean").PredicateNodeSchema>;
|
|
174
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
175
|
-
kind: z.ZodLiteral<"every">;
|
|
176
|
-
collection: z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>;
|
|
177
|
-
item: typeof import("trilean").PredicateNodeSchema;
|
|
178
|
-
filter: z.ZodOptional<typeof import("trilean").PredicateNodeSchema>;
|
|
179
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
180
|
-
kind: z.ZodLiteral<"treeReference">;
|
|
181
|
-
key: z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>;
|
|
182
|
-
}, z.core.$strip>], "kind">>;
|
|
183
|
-
effect: z.ZodExactOptional<z.ZodString>;
|
|
184
|
-
}, z.core.$strict>>>>;
|
|
185
|
-
fragments: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
186
|
-
id: z.ZodString;
|
|
187
|
-
operator: z.ZodEnum<{
|
|
188
|
-
alt: "alt";
|
|
189
|
-
opt: "opt";
|
|
190
|
-
loop: "loop";
|
|
191
|
-
par: "par";
|
|
192
|
-
break: "break";
|
|
193
|
-
}>;
|
|
194
|
-
operands: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
195
|
-
guard: z.ZodExactOptional<z.ZodString>;
|
|
196
|
-
body: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
197
|
-
}, z.core.$strict>>>>;
|
|
198
|
-
}, z.core.$strict>>>>;
|
|
199
|
-
projections: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
200
|
-
id: z.ZodString;
|
|
201
|
-
notation: z.ZodEnum<{
|
|
202
|
-
flowchart: "flowchart";
|
|
203
|
-
swimlane: "swimlane";
|
|
204
|
-
}>;
|
|
205
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
206
|
-
id: z.ZodString;
|
|
207
|
-
notation: z.ZodLiteral<"stateMachine">;
|
|
208
|
-
subject: z.ZodString;
|
|
209
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
210
|
-
id: z.ZodString;
|
|
211
|
-
notation: z.ZodLiteral<"sequence">;
|
|
212
|
-
scenario: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
213
|
-
}, z.core.$strict>>]>>>;
|
|
214
|
-
views: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodEnum<{
|
|
215
|
-
flowchart: "flowchart";
|
|
216
|
-
swimlane: "swimlane";
|
|
217
|
-
stateMachine: "stateMachine";
|
|
218
|
-
sequence: "sequence";
|
|
219
|
-
}> & z.core.$partial, z.ZodReadonly<z.ZodRecord<z.ZodString & z.core.$partial, z.ZodReadonly<z.ZodObject<{
|
|
220
|
-
x: z.ZodNumber;
|
|
221
|
-
y: z.ZodNumber;
|
|
222
|
-
}, z.core.$strict>>>>>>>;
|
|
223
|
-
}, z.core.$strict>>;
|
|
34
|
+
model: ModelSchema;
|
|
224
35
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
225
36
|
revision: z.ZodInt;
|
|
226
37
|
}, z.core.$strict>>, Omit<{
|
|
@@ -246,196 +57,7 @@ declare const graphStoreContract: {
|
|
|
246
57
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
247
58
|
modelId: z.ZodString;
|
|
248
59
|
revision: z.ZodInt;
|
|
249
|
-
model:
|
|
250
|
-
participants: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
251
|
-
id: z.ZodString;
|
|
252
|
-
label: z.ZodString;
|
|
253
|
-
kind: z.ZodEnum<{
|
|
254
|
-
role: "role";
|
|
255
|
-
system: "system";
|
|
256
|
-
entity: "entity";
|
|
257
|
-
}>;
|
|
258
|
-
}, z.core.$strict>>>>;
|
|
259
|
-
events: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
260
|
-
id: z.ZodString;
|
|
261
|
-
name: z.ZodString;
|
|
262
|
-
payload: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
263
|
-
}, z.core.$strict>>>>;
|
|
264
|
-
actions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
265
|
-
id: z.ZodString;
|
|
266
|
-
name: z.ZodString;
|
|
267
|
-
}, z.core.$strict>>>>;
|
|
268
|
-
artefacts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
269
|
-
id: z.ZodString;
|
|
270
|
-
name: z.ZodString;
|
|
271
|
-
deliverable: z.ZodExactOptional<z.ZodBoolean>;
|
|
272
|
-
}, z.core.$strict>>>>;
|
|
273
|
-
elements: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
274
|
-
kind: z.ZodLiteral<"activity">;
|
|
275
|
-
id: z.ZodString;
|
|
276
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
277
|
-
label: z.ZodString;
|
|
278
|
-
actor: z.ZodExactOptional<z.ZodString>;
|
|
279
|
-
action: z.ZodExactOptional<z.ZodString>;
|
|
280
|
-
source: z.ZodExactOptional<z.ZodString>;
|
|
281
|
-
affects: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
282
|
-
consumes: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
283
|
-
produces: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
284
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
285
|
-
kind: z.ZodLiteral<"decision">;
|
|
286
|
-
id: z.ZodString;
|
|
287
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
288
|
-
label: z.ZodString;
|
|
289
|
-
actor: z.ZodExactOptional<z.ZodString>;
|
|
290
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
291
|
-
kind: z.ZodLiteral<"state">;
|
|
292
|
-
id: z.ZodString;
|
|
293
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
294
|
-
label: z.ZodString;
|
|
295
|
-
parent: z.ZodExactOptional<z.ZodString>;
|
|
296
|
-
entry: z.ZodExactOptional<z.ZodString>;
|
|
297
|
-
exit: z.ZodExactOptional<z.ZodString>;
|
|
298
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
299
|
-
kind: z.ZodLiteral<"pseudo">;
|
|
300
|
-
id: z.ZodString;
|
|
301
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
302
|
-
role: z.ZodEnum<{
|
|
303
|
-
initial: "initial";
|
|
304
|
-
final: "final";
|
|
305
|
-
fork: "fork";
|
|
306
|
-
join: "join";
|
|
307
|
-
history: "history";
|
|
308
|
-
}>;
|
|
309
|
-
parent: z.ZodExactOptional<z.ZodString>;
|
|
310
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
311
|
-
kind: z.ZodLiteral<"message">;
|
|
312
|
-
id: z.ZodString;
|
|
313
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
314
|
-
label: z.ZodString;
|
|
315
|
-
from: z.ZodString;
|
|
316
|
-
to: z.ZodString;
|
|
317
|
-
mode: z.ZodEnum<{
|
|
318
|
-
sync: "sync";
|
|
319
|
-
async: "async";
|
|
320
|
-
reply: "reply";
|
|
321
|
-
create: "create";
|
|
322
|
-
destroy: "destroy";
|
|
323
|
-
}>;
|
|
324
|
-
event: z.ZodExactOptional<z.ZodString>;
|
|
325
|
-
}, z.core.$strict>>], "kind">>>;
|
|
326
|
-
transitions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
327
|
-
id: z.ZodString;
|
|
328
|
-
source: z.ZodString;
|
|
329
|
-
target: z.ZodString;
|
|
330
|
-
trigger: z.ZodExactOptional<z.ZodString>;
|
|
331
|
-
guard: z.ZodExactOptional<z.ZodString>;
|
|
332
|
-
condition: z.ZodExactOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
333
|
-
kind: z.ZodLiteral<"not">;
|
|
334
|
-
operand: typeof import("trilean").PredicateNodeSchema;
|
|
335
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
336
|
-
kind: z.ZodLiteral<"and">;
|
|
337
|
-
left: typeof import("trilean").PredicateNodeSchema;
|
|
338
|
-
right: typeof import("trilean").PredicateNodeSchema;
|
|
339
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
340
|
-
kind: z.ZodLiteral<"or">;
|
|
341
|
-
left: typeof import("trilean").PredicateNodeSchema;
|
|
342
|
-
right: typeof import("trilean").PredicateNodeSchema;
|
|
343
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
344
|
-
kind: z.ZodLiteral<"allOf">;
|
|
345
|
-
operands: z.ZodArray<typeof import("trilean").PredicateNodeSchema>;
|
|
346
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
347
|
-
kind: z.ZodLiteral<"anyOf">;
|
|
348
|
-
operands: z.ZodArray<typeof import("trilean").PredicateNodeSchema>;
|
|
349
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
350
|
-
kind: z.ZodLiteral<"compare">;
|
|
351
|
-
op: z.ZodEnum<{
|
|
352
|
-
gt: "gt";
|
|
353
|
-
gte: "gte";
|
|
354
|
-
lt: "lt";
|
|
355
|
-
lte: "lte";
|
|
356
|
-
eq: "eq";
|
|
357
|
-
neq: "neq";
|
|
358
|
-
}>;
|
|
359
|
-
left: typeof import("trilean").ExpressionNodeSchema;
|
|
360
|
-
right: typeof import("trilean").ExpressionNodeSchema;
|
|
361
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
362
|
-
kind: z.ZodLiteral<"textCompare">;
|
|
363
|
-
op: z.ZodEnum<{
|
|
364
|
-
equals: "equals";
|
|
365
|
-
notEquals: "notEquals";
|
|
366
|
-
matches: "matches";
|
|
367
|
-
notMatches: "notMatches";
|
|
368
|
-
portableMatches: "portableMatches";
|
|
369
|
-
portableNotMatches: "portableNotMatches";
|
|
370
|
-
}>;
|
|
371
|
-
left: typeof import("trilean").ExpressionNodeSchema;
|
|
372
|
-
right: typeof import("trilean").ExpressionNodeSchema;
|
|
373
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
374
|
-
kind: z.ZodLiteral<"memberOf">;
|
|
375
|
-
op: z.ZodEnum<{
|
|
376
|
-
in: "in";
|
|
377
|
-
notIn: "notIn";
|
|
378
|
-
}>;
|
|
379
|
-
operand: typeof import("trilean").ExpressionNodeSchema;
|
|
380
|
-
candidates: z.ZodArray<typeof import("trilean").ExpressionNodeSchema>;
|
|
381
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
382
|
-
kind: z.ZodLiteral<"exists">;
|
|
383
|
-
operand: typeof import("trilean").ExpressionNodeSchema;
|
|
384
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
385
|
-
kind: z.ZodLiteral<"some">;
|
|
386
|
-
collection: z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>;
|
|
387
|
-
item: typeof import("trilean").PredicateNodeSchema;
|
|
388
|
-
filter: z.ZodOptional<typeof import("trilean").PredicateNodeSchema>;
|
|
389
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
390
|
-
kind: z.ZodLiteral<"every">;
|
|
391
|
-
collection: z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>;
|
|
392
|
-
item: typeof import("trilean").PredicateNodeSchema;
|
|
393
|
-
filter: z.ZodOptional<typeof import("trilean").PredicateNodeSchema>;
|
|
394
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
395
|
-
kind: z.ZodLiteral<"treeReference">;
|
|
396
|
-
key: z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>;
|
|
397
|
-
}, z.core.$strip>], "kind">>;
|
|
398
|
-
effect: z.ZodExactOptional<z.ZodString>;
|
|
399
|
-
}, z.core.$strict>>>>;
|
|
400
|
-
fragments: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
401
|
-
id: z.ZodString;
|
|
402
|
-
operator: z.ZodEnum<{
|
|
403
|
-
alt: "alt";
|
|
404
|
-
opt: "opt";
|
|
405
|
-
loop: "loop";
|
|
406
|
-
par: "par";
|
|
407
|
-
break: "break";
|
|
408
|
-
}>;
|
|
409
|
-
operands: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
410
|
-
guard: z.ZodExactOptional<z.ZodString>;
|
|
411
|
-
body: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
412
|
-
}, z.core.$strict>>>>;
|
|
413
|
-
}, z.core.$strict>>>>;
|
|
414
|
-
projections: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
415
|
-
id: z.ZodString;
|
|
416
|
-
notation: z.ZodEnum<{
|
|
417
|
-
flowchart: "flowchart";
|
|
418
|
-
swimlane: "swimlane";
|
|
419
|
-
}>;
|
|
420
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
421
|
-
id: z.ZodString;
|
|
422
|
-
notation: z.ZodLiteral<"stateMachine">;
|
|
423
|
-
subject: z.ZodString;
|
|
424
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
425
|
-
id: z.ZodString;
|
|
426
|
-
notation: z.ZodLiteral<"sequence">;
|
|
427
|
-
scenario: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
428
|
-
}, z.core.$strict>>]>>>;
|
|
429
|
-
views: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodEnum<{
|
|
430
|
-
flowchart: "flowchart";
|
|
431
|
-
swimlane: "swimlane";
|
|
432
|
-
stateMachine: "stateMachine";
|
|
433
|
-
sequence: "sequence";
|
|
434
|
-
}> & z.core.$partial, z.ZodReadonly<z.ZodRecord<z.ZodString & z.core.$partial, z.ZodReadonly<z.ZodObject<{
|
|
435
|
-
x: z.ZodNumber;
|
|
436
|
-
y: z.ZodNumber;
|
|
437
|
-
}, z.core.$strict>>>>>>>;
|
|
438
|
-
}, z.core.$strict>>;
|
|
60
|
+
model: ModelSchema;
|
|
439
61
|
overlay: z.ZodReadonly<z.ZodRecord<z.ZodString & z.core.$partial, z.ZodEnum<{
|
|
440
62
|
done: "done";
|
|
441
63
|
open: "open";
|
|
@@ -1234,196 +856,7 @@ declare const factRecordSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1234
856
|
declare const storedModelSchema: z.ZodReadonly<z.ZodObject<{
|
|
1235
857
|
modelId: z.ZodString;
|
|
1236
858
|
revision: z.ZodInt;
|
|
1237
|
-
model:
|
|
1238
|
-
participants: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1239
|
-
id: z.ZodString;
|
|
1240
|
-
label: z.ZodString;
|
|
1241
|
-
kind: z.ZodEnum<{
|
|
1242
|
-
role: "role";
|
|
1243
|
-
system: "system";
|
|
1244
|
-
entity: "entity";
|
|
1245
|
-
}>;
|
|
1246
|
-
}, z.core.$strict>>>>;
|
|
1247
|
-
events: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1248
|
-
id: z.ZodString;
|
|
1249
|
-
name: z.ZodString;
|
|
1250
|
-
payload: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1251
|
-
}, z.core.$strict>>>>;
|
|
1252
|
-
actions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1253
|
-
id: z.ZodString;
|
|
1254
|
-
name: z.ZodString;
|
|
1255
|
-
}, z.core.$strict>>>>;
|
|
1256
|
-
artefacts: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1257
|
-
id: z.ZodString;
|
|
1258
|
-
name: z.ZodString;
|
|
1259
|
-
deliverable: z.ZodExactOptional<z.ZodBoolean>;
|
|
1260
|
-
}, z.core.$strict>>>>;
|
|
1261
|
-
elements: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
1262
|
-
kind: z.ZodLiteral<"activity">;
|
|
1263
|
-
id: z.ZodString;
|
|
1264
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
1265
|
-
label: z.ZodString;
|
|
1266
|
-
actor: z.ZodExactOptional<z.ZodString>;
|
|
1267
|
-
action: z.ZodExactOptional<z.ZodString>;
|
|
1268
|
-
source: z.ZodExactOptional<z.ZodString>;
|
|
1269
|
-
affects: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1270
|
-
consumes: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1271
|
-
produces: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1272
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1273
|
-
kind: z.ZodLiteral<"decision">;
|
|
1274
|
-
id: z.ZodString;
|
|
1275
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
1276
|
-
label: z.ZodString;
|
|
1277
|
-
actor: z.ZodExactOptional<z.ZodString>;
|
|
1278
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1279
|
-
kind: z.ZodLiteral<"state">;
|
|
1280
|
-
id: z.ZodString;
|
|
1281
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
1282
|
-
label: z.ZodString;
|
|
1283
|
-
parent: z.ZodExactOptional<z.ZodString>;
|
|
1284
|
-
entry: z.ZodExactOptional<z.ZodString>;
|
|
1285
|
-
exit: z.ZodExactOptional<z.ZodString>;
|
|
1286
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1287
|
-
kind: z.ZodLiteral<"pseudo">;
|
|
1288
|
-
id: z.ZodString;
|
|
1289
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
1290
|
-
role: z.ZodEnum<{
|
|
1291
|
-
initial: "initial";
|
|
1292
|
-
final: "final";
|
|
1293
|
-
fork: "fork";
|
|
1294
|
-
join: "join";
|
|
1295
|
-
history: "history";
|
|
1296
|
-
}>;
|
|
1297
|
-
parent: z.ZodExactOptional<z.ZodString>;
|
|
1298
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1299
|
-
kind: z.ZodLiteral<"message">;
|
|
1300
|
-
id: z.ZodString;
|
|
1301
|
-
extensions: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>>>>;
|
|
1302
|
-
label: z.ZodString;
|
|
1303
|
-
from: z.ZodString;
|
|
1304
|
-
to: z.ZodString;
|
|
1305
|
-
mode: z.ZodEnum<{
|
|
1306
|
-
sync: "sync";
|
|
1307
|
-
async: "async";
|
|
1308
|
-
reply: "reply";
|
|
1309
|
-
create: "create";
|
|
1310
|
-
destroy: "destroy";
|
|
1311
|
-
}>;
|
|
1312
|
-
event: z.ZodExactOptional<z.ZodString>;
|
|
1313
|
-
}, z.core.$strict>>], "kind">>>;
|
|
1314
|
-
transitions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1315
|
-
id: z.ZodString;
|
|
1316
|
-
source: z.ZodString;
|
|
1317
|
-
target: z.ZodString;
|
|
1318
|
-
trigger: z.ZodExactOptional<z.ZodString>;
|
|
1319
|
-
guard: z.ZodExactOptional<z.ZodString>;
|
|
1320
|
-
condition: z.ZodExactOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1321
|
-
kind: z.ZodLiteral<"not">;
|
|
1322
|
-
operand: typeof import("trilean").PredicateNodeSchema;
|
|
1323
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1324
|
-
kind: z.ZodLiteral<"and">;
|
|
1325
|
-
left: typeof import("trilean").PredicateNodeSchema;
|
|
1326
|
-
right: typeof import("trilean").PredicateNodeSchema;
|
|
1327
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1328
|
-
kind: z.ZodLiteral<"or">;
|
|
1329
|
-
left: typeof import("trilean").PredicateNodeSchema;
|
|
1330
|
-
right: typeof import("trilean").PredicateNodeSchema;
|
|
1331
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1332
|
-
kind: z.ZodLiteral<"allOf">;
|
|
1333
|
-
operands: z.ZodArray<typeof import("trilean").PredicateNodeSchema>;
|
|
1334
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1335
|
-
kind: z.ZodLiteral<"anyOf">;
|
|
1336
|
-
operands: z.ZodArray<typeof import("trilean").PredicateNodeSchema>;
|
|
1337
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1338
|
-
kind: z.ZodLiteral<"compare">;
|
|
1339
|
-
op: z.ZodEnum<{
|
|
1340
|
-
gt: "gt";
|
|
1341
|
-
gte: "gte";
|
|
1342
|
-
lt: "lt";
|
|
1343
|
-
lte: "lte";
|
|
1344
|
-
eq: "eq";
|
|
1345
|
-
neq: "neq";
|
|
1346
|
-
}>;
|
|
1347
|
-
left: typeof import("trilean").ExpressionNodeSchema;
|
|
1348
|
-
right: typeof import("trilean").ExpressionNodeSchema;
|
|
1349
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1350
|
-
kind: z.ZodLiteral<"textCompare">;
|
|
1351
|
-
op: z.ZodEnum<{
|
|
1352
|
-
equals: "equals";
|
|
1353
|
-
notEquals: "notEquals";
|
|
1354
|
-
matches: "matches";
|
|
1355
|
-
notMatches: "notMatches";
|
|
1356
|
-
portableMatches: "portableMatches";
|
|
1357
|
-
portableNotMatches: "portableNotMatches";
|
|
1358
|
-
}>;
|
|
1359
|
-
left: typeof import("trilean").ExpressionNodeSchema;
|
|
1360
|
-
right: typeof import("trilean").ExpressionNodeSchema;
|
|
1361
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1362
|
-
kind: z.ZodLiteral<"memberOf">;
|
|
1363
|
-
op: z.ZodEnum<{
|
|
1364
|
-
in: "in";
|
|
1365
|
-
notIn: "notIn";
|
|
1366
|
-
}>;
|
|
1367
|
-
operand: typeof import("trilean").ExpressionNodeSchema;
|
|
1368
|
-
candidates: z.ZodArray<typeof import("trilean").ExpressionNodeSchema>;
|
|
1369
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1370
|
-
kind: z.ZodLiteral<"exists">;
|
|
1371
|
-
operand: typeof import("trilean").ExpressionNodeSchema;
|
|
1372
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1373
|
-
kind: z.ZodLiteral<"some">;
|
|
1374
|
-
collection: z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>;
|
|
1375
|
-
item: typeof import("trilean").PredicateNodeSchema;
|
|
1376
|
-
filter: z.ZodOptional<typeof import("trilean").PredicateNodeSchema>;
|
|
1377
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1378
|
-
kind: z.ZodLiteral<"every">;
|
|
1379
|
-
collection: z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>;
|
|
1380
|
-
item: typeof import("trilean").PredicateNodeSchema;
|
|
1381
|
-
filter: z.ZodOptional<typeof import("trilean").PredicateNodeSchema>;
|
|
1382
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1383
|
-
kind: z.ZodLiteral<"treeReference">;
|
|
1384
|
-
key: z.ZodType<import("trilean").JsonValue, unknown, z.core.$ZodTypeInternals<import("trilean").JsonValue, unknown>>;
|
|
1385
|
-
}, z.core.$strip>], "kind">>;
|
|
1386
|
-
effect: z.ZodExactOptional<z.ZodString>;
|
|
1387
|
-
}, z.core.$strict>>>>;
|
|
1388
|
-
fragments: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1389
|
-
id: z.ZodString;
|
|
1390
|
-
operator: z.ZodEnum<{
|
|
1391
|
-
alt: "alt";
|
|
1392
|
-
opt: "opt";
|
|
1393
|
-
loop: "loop";
|
|
1394
|
-
par: "par";
|
|
1395
|
-
break: "break";
|
|
1396
|
-
}>;
|
|
1397
|
-
operands: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1398
|
-
guard: z.ZodExactOptional<z.ZodString>;
|
|
1399
|
-
body: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1400
|
-
}, z.core.$strict>>>>;
|
|
1401
|
-
}, z.core.$strict>>>>;
|
|
1402
|
-
projections: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1403
|
-
id: z.ZodString;
|
|
1404
|
-
notation: z.ZodEnum<{
|
|
1405
|
-
flowchart: "flowchart";
|
|
1406
|
-
swimlane: "swimlane";
|
|
1407
|
-
}>;
|
|
1408
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1409
|
-
id: z.ZodString;
|
|
1410
|
-
notation: z.ZodLiteral<"stateMachine">;
|
|
1411
|
-
subject: z.ZodString;
|
|
1412
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1413
|
-
id: z.ZodString;
|
|
1414
|
-
notation: z.ZodLiteral<"sequence">;
|
|
1415
|
-
scenario: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1416
|
-
}, z.core.$strict>>]>>>;
|
|
1417
|
-
views: z.ZodExactOptional<z.ZodReadonly<z.ZodRecord<z.ZodEnum<{
|
|
1418
|
-
flowchart: "flowchart";
|
|
1419
|
-
swimlane: "swimlane";
|
|
1420
|
-
stateMachine: "stateMachine";
|
|
1421
|
-
sequence: "sequence";
|
|
1422
|
-
}> & z.core.$partial, z.ZodReadonly<z.ZodRecord<z.ZodString & z.core.$partial, z.ZodReadonly<z.ZodObject<{
|
|
1423
|
-
x: z.ZodNumber;
|
|
1424
|
-
y: z.ZodNumber;
|
|
1425
|
-
}, z.core.$strict>>>>>>>;
|
|
1426
|
-
}, z.core.$strict>>;
|
|
859
|
+
model: ModelSchema;
|
|
1427
860
|
overlay: z.ZodReadonly<z.ZodRecord<z.ZodString & z.core.$partial, z.ZodEnum<{
|
|
1428
861
|
done: "done";
|
|
1429
862
|
open: "open";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as Transition, F as Notation, K as IdSpace, N as FragmentOperator, P as MessageMode, R as PseudoRole, S as Element, _ as Model } from "./index-Dvz_I_uQ.js";
|
|
2
2
|
//#region ../../core/graph/projection/dist/loss.d.ts
|
|
3
3
|
/** What an element that a notation cannot draw is: an element kind, or the role of a pseudo-state. A `message` element is one only when the notation would fold it but folding it would multiply edges. */
|
|
4
4
|
type UnrepresentedKind = "activity" | "decision" | "state" | "message" | PseudoRole;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as IdSpace, _ as Model, o as Overlay } from "./index-Dvz_I_uQ.js";
|
|
2
2
|
import { ComputedValue, ExpressionNode, JsonValue, PredicateNode, Resolution } from "trilean";
|
|
3
3
|
//#region ../../core/graph/domain/dist/status.d.ts
|
|
4
4
|
/** The derived states of an element, in the order the derivation considers them. */
|
|
@@ -282,12 +282,8 @@ declare const validateOverlay: <I extends IdSpace>(model: Model<I>, overlay: Rea
|
|
|
282
282
|
declare const parseOverlay: (input: unknown) => Overlay<OpenIds>;
|
|
283
283
|
//#endregion
|
|
284
284
|
//#region ../../core/graph/schema/dist/schema.d.ts
|
|
285
|
-
/**
|
|
286
|
-
|
|
287
|
-
*
|
|
288
|
-
* Every object is strict. The inferred type is exactly `Model<OpenIds>`, which a type-level test pins in both directions.
|
|
289
|
-
*/
|
|
290
|
-
declare const modelSchema: z.ZodReadonly<z.ZodObject<{
|
|
285
|
+
/** The strict object schema inside `modelSchema`, before it is made read-only. */
|
|
286
|
+
declare const modelObjectSchema: z.ZodObject<{
|
|
291
287
|
participants: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
292
288
|
id: z.ZodString;
|
|
293
289
|
label: z.ZodString;
|
|
@@ -476,7 +472,20 @@ declare const modelSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
476
472
|
x: z.ZodNumber;
|
|
477
473
|
y: z.ZodNumber;
|
|
478
474
|
}, z.core.$strict>>>>>>>;
|
|
479
|
-
}, z.core.$strict
|
|
475
|
+
}, z.core.$strict>;
|
|
476
|
+
/**
|
|
477
|
+
* The type of `modelSchema`, declared by name so that a declaration file that embeds the schema, such as a consumer's `z.object({ model: modelSchema })` under `declaration: true`, refers to `ModelSchema` rather than writing out the whole model schema with every record and trilean's JSON value inline, which can exceed the length the compiler will serialise (TS7056).
|
|
478
|
+
*/
|
|
479
|
+
interface ModelSchema extends z.ZodReadonly<typeof modelObjectSchema> {
|
|
480
|
+
/** The strict object schema inside, whose `shape` holds each record's own schema. */
|
|
481
|
+
readonly unwrap: () => typeof modelObjectSchema;
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* The open (runtime) shape of a model: identifiers are plain strings, so references are not checked here. `validate` checks what the shape cannot, and `parseModel` runs both.
|
|
485
|
+
*
|
|
486
|
+
* Every object is strict. The inferred type is exactly `Model<OpenIds>`, which a type-level test pins in both directions.
|
|
487
|
+
*/
|
|
488
|
+
declare const modelSchema: ModelSchema;
|
|
480
489
|
//#endregion
|
|
481
490
|
//#region ../../core/graph/schema/dist/parse.d.ts
|
|
482
491
|
/** A problem found while loading a model: a shape violation located by JSON pointer, or a rule `validate` reports. */
|
|
@@ -509,4 +518,4 @@ declare class ModelParseError extends Error {
|
|
|
509
518
|
*/
|
|
510
519
|
declare const parseModel: (input: unknown) => Model<OpenIds>;
|
|
511
520
|
//#endregion
|
|
512
|
-
export {
|
|
521
|
+
export { Transition as A, fragmentOperators as B, EventDef as C, Participant as D, FragmentOperand as E, Notation as F, pseudoRoles as G, notations as H, OverlayStatus as I, IdSpace as K, ParticipantKind as L, ElementKind as M, FragmentOperator as N, Point as O, MessageMode as P, PseudoRole as R, Element as S, Fragment as T, overlayStatuses as U, messageModes as V, participantKinds as W, Model as _, modelSchema as a, ActionDef as b, OverlayParseError as c, validateOverlay as d, Issue as f, outputsOf as g, inputsOf as h, ModelSchema as i, Views as j, Projection as k, overlaySchema as l, validate as m, ModelParseError as n, Overlay as o, IssueCode as p, OpenIds as q, parseModel as r, OverlayIssue as s, ModelIssue as t, parseOverlay as u, ModelParts as v, Extensions as w, ArtefactDef as x, defineModel as y, elementKinds as z };
|