process-graph 1.2.0 → 1.4.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 +25 -20
- package/dist/bin.js +4 -3
- package/dist/cli.d.ts +87 -75
- package/dist/cli.js +4 -2
- package/dist/data-file-BVMxkTug.js +95 -0
- package/dist/{dist-BxHnxpcT.js → dist-C8zDuW-y.js} +293 -510
- package/dist/dist-DipyhCvb.js +4 -0
- package/dist/{dist-BpCBmnMl.js → dist-arkejVz2.js} +2 -112
- package/dist/graphql-3DSUSUvL.d.ts +17 -0
- package/dist/{index-CoA6vXqe.d.ts → index-4f4PVH7K.d.ts} +23 -2
- package/dist/index-Bb90VKMc.d.ts +71 -0
- package/dist/{index-DxWOY8f9.d.ts → index-CR8xUK3S.d.ts} +5 -572
- package/dist/{index-CptUHq6F.d.ts → index-Cp5selgs.d.ts} +2 -1
- package/dist/{graphql-C1j5wQFz.d.ts → index-Cs1CWlEg.d.ts} +3 -16
- package/dist/{index-BH1aFqkJ.d.ts → index-D4CnOhNf.d.ts} +1 -1
- package/dist/index-DoMIav3D.d.ts +118 -0
- package/dist/{index-CmZOswkx.d.ts → index-Dvz_I_uQ.d.ts} +17 -8
- package/dist/{index-BUheRLdG.d.ts → index-LWdwpjZG.d.ts} +5 -24
- package/dist/{index-CrM5qWUA.d.ts → index-RwwlDYZ7.d.ts} +2 -2
- package/dist/index.d.ts +25 -4
- package/dist/index.js +4 -3
- package/dist/layout.d.ts +1 -1
- package/dist/project-CP_ye6KI.js +27 -0
- package/dist/react-flow.d.ts +5 -5
- package/dist/react-flow.js +1 -1
- package/dist/react.d.ts +2 -1
- package/dist/react.js +1 -24
- package/dist/{router-DvGGLnNt.js → router-Dk91O_9p.js} +2 -2
- package/dist/{schema-CVnS6HiX.js → schema-BPT8fmfa.js} +2 -2
- package/dist/schema-DVAttrJg.js +126 -0
- package/dist/source/github/node.d.ts +1 -1
- package/dist/source/github.d.ts +3 -2
- package/dist/source/github.js +38 -1
- package/dist/{source-DRDpEA8Q.js → source-lTKshktI.js} +24 -163
- 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/sync-CkaJO3OQ.js +213 -0
- package/dist/sync.d.ts +26 -0
- package/dist/sync.js +16 -0
- 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-DMNBcTZ-.js +5 -0
- package/dist/view-DTeNUhGG.js +392 -0
- package/package.json +34 -23
- package/dist/dist-Cw63tKU9.js +0 -3
- package/dist/open-BF-UHqeW.js +0 -29
- package/dist/parse-CuipC_2K.js +0 -41
|
@@ -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,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as GraphSourcePager } from "./index-Cs1CWlEg.js";
|
|
2
|
+
import { n as GraphqlFetch, t as GitHubTokenPort } from "./graphql-3DSUSUvL.js";
|
|
2
3
|
//#region ../../adapters/graph/source-github-issues/dist/source.d.ts
|
|
3
4
|
/** What the GitHub issues source needs. */
|
|
4
5
|
interface GitHubIssuesSourceOptions {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as Model, o as Overlay, q as OpenIds } from "./index-Dvz_I_uQ.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { ContractRouterClient, InitialInputSchema, ProcedureContract, RouterContract, eventIterator } from "@orpc/contract";
|
|
4
4
|
import { ContractedRouter, DefaultInitialContext } from "@orpc/server";
|
|
@@ -471,7 +471,7 @@ type GraphSourceClient = ContractRouterClient<typeof graphSourceContract>;
|
|
|
471
471
|
/**
|
|
472
472
|
* The failures that end a sync call, as a closed union a caller can switch on exhaustively. What a source can still partly read is not a failure: it arrives as a `Gap` in the page.
|
|
473
473
|
*
|
|
474
|
-
* - `unauthorised`: the source rejected the credentials outright.
|
|
474
|
+
* - `unauthorised`: the source rejected the credentials outright, or none could be had for it.
|
|
475
475
|
* - `rate-limited`: the source refused the request until `resetAt` (an ISO 8601 instant) when it said so. Resume from the last page's `next` after that.
|
|
476
476
|
* - `bad-request`: the cursor or a scope identifier is not one this source issued or understands.
|
|
477
477
|
*/
|
|
@@ -615,17 +615,4 @@ interface FakeGraphSourceOptions {
|
|
|
615
615
|
*/
|
|
616
616
|
declare const createFakeGraphSource: (options: FakeGraphSourceOptions) => GraphSourcePager;
|
|
617
617
|
//#endregion
|
|
618
|
-
|
|
619
|
-
/** GitHub's GraphQL endpoint. */
|
|
620
|
-
declare const githubGraphqlEndpoint = "https://api.github.com/graphql";
|
|
621
|
-
/**
|
|
622
|
-
* Supplies the token for requests about one owner's repositories, so different organisations can use different credentials. The token is only ever sent in the `Authorization` header; this adapter never logs or returns it.
|
|
623
|
-
* @param owner - The login of the account whose repositories or board the request reads, or `undefined` for a request about the token's own holder (the viewer and the organisations it belongs to), which no owner names.
|
|
624
|
-
* @param signal - The caller's abort signal.
|
|
625
|
-
* @returns The token.
|
|
626
|
-
*/
|
|
627
|
-
type GitHubTokenPort = (owner: string | undefined, signal: AbortSignal | undefined) => Promise<string>;
|
|
628
|
-
/** The part of `fetch` this adapter uses: one POST to the GraphQL endpoint. The global `fetch` satisfies it. */
|
|
629
|
-
type GraphqlFetch = (url: string, init: RequestInit) => Promise<Response>;
|
|
630
|
-
//#endregion
|
|
631
|
-
export { scopeRootsInputSchema as $, ScopeEntry as A, badRequestReasons as B, Gap as C, Relation as D, OrderField as E, SourceParticipant as F, orderDirections as G, filterStates as H, SourceTransition as I, relationKinds as J, orderFields as K, SyncFilter as L, ScopeListingInput as M, ScopeRootsInput as N, RelationKind as O, SourceDescription as P, scopeListingSchema as Q, SyncInput as R, FilterState as S, OrderDirection as T, gapReasons as U, boundActivitySchema as V, gapSchema as W, scopeChildrenInputSchema as X, relationSchema as Y, scopeEntrySchema as Z, GraphSourceFailure as _, FakePage as a, BadRequestReason as b, assembleSync as c, GraphSourceRouter as d, sourceDescriptionSchema as et, GraphSourceScopes as f, GraphSourceError as g, createGraphSourceRouter as h, FakeGraphSourceOptions as i, transitionSchema as it, ScopeListing as j, ScopeChildrenInput as k, ChildrenRequest as l, PageRequest as m, GraphqlFetch as n, syncInputSchema as nt, createFakeGraphSource as o, ListingRequest as p, participantSchema as q, githubGraphqlEndpoint as r, syncPageSchema as rt, AssembledSync as s, GitHubTokenPort as t, syncFilterSchema as tt, GraphSourcePager as u, GraphSourceClient as v, GapReason as w, BoundActivity as x, graphSourceContract as y, SyncPage as z };
|
|
618
|
+
export { syncInputSchema as $, ScopeRootsInput as A, gapReasons as B, OrderField as C, ScopeEntry as D, ScopeChildrenInput as E, SyncInput as F, relationKinds as G, orderDirections as H, SyncPage as I, scopeEntrySchema as J, relationSchema as K, badRequestReasons as L, SourceParticipant as M, SourceTransition as N, ScopeListing as O, SyncFilter as P, syncFilterSchema as Q, boundActivitySchema as R, OrderDirection as S, RelationKind as T, orderFields as U, gapSchema as V, participantSchema as W, scopeRootsInputSchema as X, scopeListingSchema as Y, sourceDescriptionSchema as Z, BadRequestReason as _, assembleSync as a, Gap as b, GraphSourceRouter as c, PageRequest as d, syncPageSchema as et, createGraphSourceRouter as f, graphSourceContract as g, GraphSourceClient as h, AssembledSync as i, SourceDescription as j, ScopeListingInput as k, GraphSourceScopes as l, GraphSourceFailure as m, FakePage as n, ChildrenRequest as o, GraphSourceError as p, scopeChildrenInputSchema as q, createFakeGraphSource as r, GraphSourcePager as s, FakeGraphSourceOptions as t, transitionSchema as tt, ListingRequest as u, BoundActivity as v, Relation as w, GapReason as x, FilterState as y, filterStates as z };
|
|
@@ -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. */
|