@graview/studio 0.0.0-stage → 0.1.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.
Files changed (67) hide show
  1. package/LICENSE +96 -0
  2. package/README.md +31 -2
  3. package/dist/agent-panel.d.ts +11 -0
  4. package/dist/agent-panel.d.ts.map +1 -0
  5. package/dist/agent-panel.js +334 -0
  6. package/dist/agent-panel.js.map +1 -0
  7. package/dist/agent.d.ts +24 -0
  8. package/dist/agent.d.ts.map +1 -0
  9. package/dist/agent.js +371 -0
  10. package/dist/agent.js.map +1 -0
  11. package/dist/changes.d.ts +49 -0
  12. package/dist/changes.d.ts.map +1 -0
  13. package/dist/changes.js +217 -0
  14. package/dist/changes.js.map +1 -0
  15. package/dist/from-declaration.d.ts +13 -0
  16. package/dist/from-declaration.d.ts.map +1 -0
  17. package/dist/from-declaration.js +204 -0
  18. package/dist/from-declaration.js.map +1 -0
  19. package/dist/in-place.d.ts +27 -0
  20. package/dist/in-place.d.ts.map +1 -0
  21. package/dist/in-place.js +151 -0
  22. package/dist/in-place.js.map +1 -0
  23. package/dist/index.d.ts +24 -0
  24. package/dist/index.d.ts.map +1 -0
  25. package/dist/index.js +15 -0
  26. package/dist/index.js.map +1 -0
  27. package/dist/lens.d.ts +9 -0
  28. package/dist/lens.d.ts.map +1 -0
  29. package/dist/lens.js +40 -0
  30. package/dist/lens.js.map +1 -0
  31. package/dist/meta.d.ts +2648 -0
  32. package/dist/meta.d.ts.map +1 -0
  33. package/dist/meta.js +553 -0
  34. package/dist/meta.js.map +1 -0
  35. package/dist/migration.d.ts +15 -0
  36. package/dist/migration.d.ts.map +1 -0
  37. package/dist/migration.js +82 -0
  38. package/dist/migration.js.map +1 -0
  39. package/dist/place.d.ts +61 -0
  40. package/dist/place.d.ts.map +1 -0
  41. package/dist/place.js +328 -0
  42. package/dist/place.js.map +1 -0
  43. package/dist/rewrite.d.ts +28 -0
  44. package/dist/rewrite.d.ts.map +1 -0
  45. package/dist/rewrite.js +52 -0
  46. package/dist/rewrite.js.map +1 -0
  47. package/dist/source.d.ts +69 -0
  48. package/dist/source.d.ts.map +1 -0
  49. package/dist/source.js +465 -0
  50. package/dist/source.js.map +1 -0
  51. package/dist/studio.d.ts +64 -0
  52. package/dist/studio.d.ts.map +1 -0
  53. package/dist/studio.js +96 -0
  54. package/dist/studio.js.map +1 -0
  55. package/dist/to-declaration.d.ts +24 -0
  56. package/dist/to-declaration.d.ts.map +1 -0
  57. package/dist/to-declaration.js +439 -0
  58. package/dist/to-declaration.js.map +1 -0
  59. package/dist/write-in-place.d.ts +27 -0
  60. package/dist/write-in-place.d.ts.map +1 -0
  61. package/dist/write-in-place.js +61 -0
  62. package/dist/write-in-place.js.map +1 -0
  63. package/dist/zod-source.d.ts +7 -0
  64. package/dist/zod-source.d.ts.map +1 -0
  65. package/dist/zod-source.js +124 -0
  66. package/dist/zod-source.js.map +1 -0
  67. package/package.json +58 -3
package/dist/meta.d.ts ADDED
@@ -0,0 +1,2648 @@
1
+ import { type AnyMutationDefinition, type GraviewApp } from "@graview/core";
2
+ import { z } from "zod";
3
+ /**
4
+ * The id namespace for a kind the app declares.
5
+ *
6
+ * Deliberately NOT `kind:`, which `@graview/layout` mints its district card
7
+ * ids in (`KIND_PREFIX`). A node and a card sharing an id is a node the
8
+ * scene cannot place, an edge drawn to the wrong district, and a `#sel=`
9
+ * that names two different things.
10
+ */
11
+ export declare const DECLARED_KIND = "declared:";
12
+ export declare const FIELD_TYPES: readonly ["string", "text", "number", "boolean", "date", "enum", "list"];
13
+ export type FieldType = (typeof FIELD_TYPES)[number];
14
+ export declare const kindNode: import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
15
+ label: z.ZodString;
16
+ plural: z.ZodOptional<z.ZodString>;
17
+ noun: z.ZodOptional<z.ZodString>;
18
+ description: z.ZodOptional<z.ZodString>;
19
+ lifecycleField: z.ZodOptional<z.ZodString>;
20
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ figure: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>;
23
+ export declare const fieldNode: import("@graview/core").NodeDefinition<"field", z.ZodObject<{
24
+ label: z.ZodString;
25
+ type: z.ZodEnum<{
26
+ string: "string";
27
+ number: "number";
28
+ boolean: "boolean";
29
+ text: "text";
30
+ date: "date";
31
+ enum: "enum";
32
+ list: "list";
33
+ }>;
34
+ required: z.ZodBoolean;
35
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
+ description: z.ZodOptional<z.ZodString>;
37
+ }, z.core.$strip>, {
38
+ readonly of: {
39
+ readonly to: readonly ["kind"];
40
+ readonly cardinality: "one";
41
+ readonly description: "the kind it belongs to";
42
+ readonly inverse: "its fields";
43
+ };
44
+ }>;
45
+ export declare const edgeNode: import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
46
+ label: z.ZodString;
47
+ description: z.ZodOptional<z.ZodString>;
48
+ inverse: z.ZodOptional<z.ZodString>;
49
+ cardinality: z.ZodEnum<{
50
+ one: "one";
51
+ many: "many";
52
+ }>;
53
+ appendOnly: z.ZodBoolean;
54
+ toAny: z.ZodBoolean;
55
+ }, z.core.$strip>, {
56
+ readonly "from-kind": {
57
+ readonly to: readonly ["kind"];
58
+ readonly cardinality: "one";
59
+ readonly description: "the kind it is declared on";
60
+ readonly inverse: "its edges";
61
+ };
62
+ readonly "to-kind": {
63
+ readonly to: readonly ["kind"];
64
+ readonly description: "the kinds it may reach";
65
+ readonly inverse: "the edges that reach it";
66
+ };
67
+ }>;
68
+ export declare const actNode: import("@graview/core").NodeDefinition<"act", z.ZodObject<{
69
+ label: z.ZodString;
70
+ title: z.ZodOptional<z.ZodString>;
71
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
72
+ description: z.ZodOptional<z.ZodString>;
73
+ destructive: z.ZodBoolean;
74
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
+ subjectArg: z.ZodOptional<z.ZodString>;
76
+ targetArg: z.ZodOptional<z.ZodString>;
77
+ onAny: z.ZodBoolean;
78
+ derived: z.ZodBoolean;
79
+ }, z.core.$strip>, {
80
+ readonly on: {
81
+ readonly to: readonly ["kind"];
82
+ readonly description: "the kinds it acts on";
83
+ readonly inverse: "the acts on it";
84
+ };
85
+ readonly creates: {
86
+ readonly to: readonly ["kind"];
87
+ readonly description: "the kind it brings into being";
88
+ readonly inverse: "how one comes to be";
89
+ };
90
+ readonly connects: {
91
+ readonly to: readonly ["edge"];
92
+ readonly description: "the relation it makes";
93
+ readonly inverse: "the acts that make it";
94
+ };
95
+ readonly severs: {
96
+ readonly to: readonly ["edge"];
97
+ readonly description: "the relation it breaks";
98
+ readonly inverse: "the acts that break it";
99
+ };
100
+ }>;
101
+ export declare const ruleNode: import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
102
+ label: z.ZodString;
103
+ title: z.ZodOptional<z.ZodString>;
104
+ description: z.ZodOptional<z.ZodString>;
105
+ judgesPast: z.ZodBoolean;
106
+ wholeGraph: z.ZodBoolean;
107
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
108
+ }, z.core.$strip>, {
109
+ readonly over: {
110
+ readonly to: readonly ["kind"];
111
+ readonly description: "the kind it judges";
112
+ readonly inverse: "the rules over it";
113
+ };
114
+ readonly repairs: {
115
+ readonly to: readonly ["act"];
116
+ readonly description: "the acts that put it right";
117
+ readonly inverse: "the rules it repairs";
118
+ };
119
+ }>;
120
+ export declare const roleNode: import("@graview/core").NodeDefinition<"role", z.ZodObject<{
121
+ label: z.ZodString;
122
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>;
123
+ export declare const grantNode: import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
124
+ label: z.ZodString;
125
+ describe: z.ZodOptional<z.ZodString>;
126
+ self: z.ZodBoolean;
127
+ everyone: z.ZodBoolean;
128
+ allActs: z.ZodBoolean;
129
+ allKinds: z.ZodBoolean;
130
+ }, z.core.$strip>, {
131
+ readonly lets: {
132
+ readonly to: readonly ["role"];
133
+ readonly description: "the roles it lets";
134
+ readonly inverse: "what they are let do";
135
+ };
136
+ readonly may: {
137
+ readonly to: readonly ["act"];
138
+ readonly description: "the acts it allows";
139
+ readonly inverse: "who may take it";
140
+ };
141
+ readonly "allows-on": {
142
+ readonly to: readonly ["kind"];
143
+ readonly description: "the kinds it allows those acts on";
144
+ readonly inverse: "who may act on it";
145
+ };
146
+ }>;
147
+ export declare const lensNode: import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
148
+ label: z.ZodString;
149
+ binds: z.ZodOptional<z.ZodEnum<{
150
+ fields: "fields";
151
+ entities: "entities";
152
+ }>>;
153
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
154
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>;
155
+ export declare const brandNode: import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
156
+ label: z.ZodString;
157
+ body: z.ZodOptional<z.ZodString>;
158
+ display: z.ZodOptional<z.ZodString>;
159
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>;
160
+ export declare const STUDIO_SCHEMA: import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
161
+ label: z.ZodString;
162
+ plural: z.ZodOptional<z.ZodString>;
163
+ noun: z.ZodOptional<z.ZodString>;
164
+ description: z.ZodOptional<z.ZodString>;
165
+ lifecycleField: z.ZodOptional<z.ZodString>;
166
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
167
+ figure: z.ZodOptional<z.ZodString>;
168
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
169
+ label: z.ZodString;
170
+ type: z.ZodEnum<{
171
+ string: "string";
172
+ number: "number";
173
+ boolean: "boolean";
174
+ text: "text";
175
+ date: "date";
176
+ enum: "enum";
177
+ list: "list";
178
+ }>;
179
+ required: z.ZodBoolean;
180
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
181
+ description: z.ZodOptional<z.ZodString>;
182
+ }, z.core.$strip>, {
183
+ readonly of: {
184
+ readonly to: readonly ["kind"];
185
+ readonly cardinality: "one";
186
+ readonly description: "the kind it belongs to";
187
+ readonly inverse: "its fields";
188
+ };
189
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
190
+ label: z.ZodString;
191
+ description: z.ZodOptional<z.ZodString>;
192
+ inverse: z.ZodOptional<z.ZodString>;
193
+ cardinality: z.ZodEnum<{
194
+ one: "one";
195
+ many: "many";
196
+ }>;
197
+ appendOnly: z.ZodBoolean;
198
+ toAny: z.ZodBoolean;
199
+ }, z.core.$strip>, {
200
+ readonly "from-kind": {
201
+ readonly to: readonly ["kind"];
202
+ readonly cardinality: "one";
203
+ readonly description: "the kind it is declared on";
204
+ readonly inverse: "its edges";
205
+ };
206
+ readonly "to-kind": {
207
+ readonly to: readonly ["kind"];
208
+ readonly description: "the kinds it may reach";
209
+ readonly inverse: "the edges that reach it";
210
+ };
211
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
212
+ label: z.ZodString;
213
+ title: z.ZodOptional<z.ZodString>;
214
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
215
+ description: z.ZodOptional<z.ZodString>;
216
+ destructive: z.ZodBoolean;
217
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
218
+ subjectArg: z.ZodOptional<z.ZodString>;
219
+ targetArg: z.ZodOptional<z.ZodString>;
220
+ onAny: z.ZodBoolean;
221
+ derived: z.ZodBoolean;
222
+ }, z.core.$strip>, {
223
+ readonly on: {
224
+ readonly to: readonly ["kind"];
225
+ readonly description: "the kinds it acts on";
226
+ readonly inverse: "the acts on it";
227
+ };
228
+ readonly creates: {
229
+ readonly to: readonly ["kind"];
230
+ readonly description: "the kind it brings into being";
231
+ readonly inverse: "how one comes to be";
232
+ };
233
+ readonly connects: {
234
+ readonly to: readonly ["edge"];
235
+ readonly description: "the relation it makes";
236
+ readonly inverse: "the acts that make it";
237
+ };
238
+ readonly severs: {
239
+ readonly to: readonly ["edge"];
240
+ readonly description: "the relation it breaks";
241
+ readonly inverse: "the acts that break it";
242
+ };
243
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
244
+ label: z.ZodString;
245
+ title: z.ZodOptional<z.ZodString>;
246
+ description: z.ZodOptional<z.ZodString>;
247
+ judgesPast: z.ZodBoolean;
248
+ wholeGraph: z.ZodBoolean;
249
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
250
+ }, z.core.$strip>, {
251
+ readonly over: {
252
+ readonly to: readonly ["kind"];
253
+ readonly description: "the kind it judges";
254
+ readonly inverse: "the rules over it";
255
+ };
256
+ readonly repairs: {
257
+ readonly to: readonly ["act"];
258
+ readonly description: "the acts that put it right";
259
+ readonly inverse: "the rules it repairs";
260
+ };
261
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
262
+ label: z.ZodString;
263
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
264
+ label: z.ZodString;
265
+ describe: z.ZodOptional<z.ZodString>;
266
+ self: z.ZodBoolean;
267
+ everyone: z.ZodBoolean;
268
+ allActs: z.ZodBoolean;
269
+ allKinds: z.ZodBoolean;
270
+ }, z.core.$strip>, {
271
+ readonly lets: {
272
+ readonly to: readonly ["role"];
273
+ readonly description: "the roles it lets";
274
+ readonly inverse: "what they are let do";
275
+ };
276
+ readonly may: {
277
+ readonly to: readonly ["act"];
278
+ readonly description: "the acts it allows";
279
+ readonly inverse: "who may take it";
280
+ };
281
+ readonly "allows-on": {
282
+ readonly to: readonly ["kind"];
283
+ readonly description: "the kinds it allows those acts on";
284
+ readonly inverse: "who may act on it";
285
+ };
286
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
287
+ label: z.ZodString;
288
+ binds: z.ZodOptional<z.ZodEnum<{
289
+ fields: "fields";
290
+ entities: "entities";
291
+ }>>;
292
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
293
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
294
+ label: z.ZodString;
295
+ body: z.ZodOptional<z.ZodString>;
296
+ display: z.ZodOptional<z.ZodString>;
297
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>;
298
+ export type StudioSchema = typeof STUDIO_SCHEMA;
299
+ export declare const addKind: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
300
+ label: z.ZodString;
301
+ plural: z.ZodOptional<z.ZodString>;
302
+ noun: z.ZodOptional<z.ZodString>;
303
+ description: z.ZodOptional<z.ZodString>;
304
+ lifecycleField: z.ZodOptional<z.ZodString>;
305
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
306
+ figure: z.ZodOptional<z.ZodString>;
307
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
308
+ label: z.ZodString;
309
+ type: z.ZodEnum<{
310
+ string: "string";
311
+ number: "number";
312
+ boolean: "boolean";
313
+ text: "text";
314
+ date: "date";
315
+ enum: "enum";
316
+ list: "list";
317
+ }>;
318
+ required: z.ZodBoolean;
319
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
320
+ description: z.ZodOptional<z.ZodString>;
321
+ }, z.core.$strip>, {
322
+ readonly of: {
323
+ readonly to: readonly ["kind"];
324
+ readonly cardinality: "one";
325
+ readonly description: "the kind it belongs to";
326
+ readonly inverse: "its fields";
327
+ };
328
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
329
+ label: z.ZodString;
330
+ description: z.ZodOptional<z.ZodString>;
331
+ inverse: z.ZodOptional<z.ZodString>;
332
+ cardinality: z.ZodEnum<{
333
+ one: "one";
334
+ many: "many";
335
+ }>;
336
+ appendOnly: z.ZodBoolean;
337
+ toAny: z.ZodBoolean;
338
+ }, z.core.$strip>, {
339
+ readonly "from-kind": {
340
+ readonly to: readonly ["kind"];
341
+ readonly cardinality: "one";
342
+ readonly description: "the kind it is declared on";
343
+ readonly inverse: "its edges";
344
+ };
345
+ readonly "to-kind": {
346
+ readonly to: readonly ["kind"];
347
+ readonly description: "the kinds it may reach";
348
+ readonly inverse: "the edges that reach it";
349
+ };
350
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
351
+ label: z.ZodString;
352
+ title: z.ZodOptional<z.ZodString>;
353
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
354
+ description: z.ZodOptional<z.ZodString>;
355
+ destructive: z.ZodBoolean;
356
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
357
+ subjectArg: z.ZodOptional<z.ZodString>;
358
+ targetArg: z.ZodOptional<z.ZodString>;
359
+ onAny: z.ZodBoolean;
360
+ derived: z.ZodBoolean;
361
+ }, z.core.$strip>, {
362
+ readonly on: {
363
+ readonly to: readonly ["kind"];
364
+ readonly description: "the kinds it acts on";
365
+ readonly inverse: "the acts on it";
366
+ };
367
+ readonly creates: {
368
+ readonly to: readonly ["kind"];
369
+ readonly description: "the kind it brings into being";
370
+ readonly inverse: "how one comes to be";
371
+ };
372
+ readonly connects: {
373
+ readonly to: readonly ["edge"];
374
+ readonly description: "the relation it makes";
375
+ readonly inverse: "the acts that make it";
376
+ };
377
+ readonly severs: {
378
+ readonly to: readonly ["edge"];
379
+ readonly description: "the relation it breaks";
380
+ readonly inverse: "the acts that break it";
381
+ };
382
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
383
+ label: z.ZodString;
384
+ title: z.ZodOptional<z.ZodString>;
385
+ description: z.ZodOptional<z.ZodString>;
386
+ judgesPast: z.ZodBoolean;
387
+ wholeGraph: z.ZodBoolean;
388
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
389
+ }, z.core.$strip>, {
390
+ readonly over: {
391
+ readonly to: readonly ["kind"];
392
+ readonly description: "the kind it judges";
393
+ readonly inverse: "the rules over it";
394
+ };
395
+ readonly repairs: {
396
+ readonly to: readonly ["act"];
397
+ readonly description: "the acts that put it right";
398
+ readonly inverse: "the rules it repairs";
399
+ };
400
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
401
+ label: z.ZodString;
402
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
403
+ label: z.ZodString;
404
+ describe: z.ZodOptional<z.ZodString>;
405
+ self: z.ZodBoolean;
406
+ everyone: z.ZodBoolean;
407
+ allActs: z.ZodBoolean;
408
+ allKinds: z.ZodBoolean;
409
+ }, z.core.$strip>, {
410
+ readonly lets: {
411
+ readonly to: readonly ["role"];
412
+ readonly description: "the roles it lets";
413
+ readonly inverse: "what they are let do";
414
+ };
415
+ readonly may: {
416
+ readonly to: readonly ["act"];
417
+ readonly description: "the acts it allows";
418
+ readonly inverse: "who may take it";
419
+ };
420
+ readonly "allows-on": {
421
+ readonly to: readonly ["kind"];
422
+ readonly description: "the kinds it allows those acts on";
423
+ readonly inverse: "who may act on it";
424
+ };
425
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
426
+ label: z.ZodString;
427
+ binds: z.ZodOptional<z.ZodEnum<{
428
+ fields: "fields";
429
+ entities: "entities";
430
+ }>>;
431
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
432
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
433
+ label: z.ZodString;
434
+ body: z.ZodOptional<z.ZodString>;
435
+ display: z.ZodOptional<z.ZodString>;
436
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
437
+ export declare const renameKind: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
438
+ label: z.ZodString;
439
+ plural: z.ZodOptional<z.ZodString>;
440
+ noun: z.ZodOptional<z.ZodString>;
441
+ description: z.ZodOptional<z.ZodString>;
442
+ lifecycleField: z.ZodOptional<z.ZodString>;
443
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
444
+ figure: z.ZodOptional<z.ZodString>;
445
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
446
+ label: z.ZodString;
447
+ type: z.ZodEnum<{
448
+ string: "string";
449
+ number: "number";
450
+ boolean: "boolean";
451
+ text: "text";
452
+ date: "date";
453
+ enum: "enum";
454
+ list: "list";
455
+ }>;
456
+ required: z.ZodBoolean;
457
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
458
+ description: z.ZodOptional<z.ZodString>;
459
+ }, z.core.$strip>, {
460
+ readonly of: {
461
+ readonly to: readonly ["kind"];
462
+ readonly cardinality: "one";
463
+ readonly description: "the kind it belongs to";
464
+ readonly inverse: "its fields";
465
+ };
466
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
467
+ label: z.ZodString;
468
+ description: z.ZodOptional<z.ZodString>;
469
+ inverse: z.ZodOptional<z.ZodString>;
470
+ cardinality: z.ZodEnum<{
471
+ one: "one";
472
+ many: "many";
473
+ }>;
474
+ appendOnly: z.ZodBoolean;
475
+ toAny: z.ZodBoolean;
476
+ }, z.core.$strip>, {
477
+ readonly "from-kind": {
478
+ readonly to: readonly ["kind"];
479
+ readonly cardinality: "one";
480
+ readonly description: "the kind it is declared on";
481
+ readonly inverse: "its edges";
482
+ };
483
+ readonly "to-kind": {
484
+ readonly to: readonly ["kind"];
485
+ readonly description: "the kinds it may reach";
486
+ readonly inverse: "the edges that reach it";
487
+ };
488
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
489
+ label: z.ZodString;
490
+ title: z.ZodOptional<z.ZodString>;
491
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
492
+ description: z.ZodOptional<z.ZodString>;
493
+ destructive: z.ZodBoolean;
494
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
495
+ subjectArg: z.ZodOptional<z.ZodString>;
496
+ targetArg: z.ZodOptional<z.ZodString>;
497
+ onAny: z.ZodBoolean;
498
+ derived: z.ZodBoolean;
499
+ }, z.core.$strip>, {
500
+ readonly on: {
501
+ readonly to: readonly ["kind"];
502
+ readonly description: "the kinds it acts on";
503
+ readonly inverse: "the acts on it";
504
+ };
505
+ readonly creates: {
506
+ readonly to: readonly ["kind"];
507
+ readonly description: "the kind it brings into being";
508
+ readonly inverse: "how one comes to be";
509
+ };
510
+ readonly connects: {
511
+ readonly to: readonly ["edge"];
512
+ readonly description: "the relation it makes";
513
+ readonly inverse: "the acts that make it";
514
+ };
515
+ readonly severs: {
516
+ readonly to: readonly ["edge"];
517
+ readonly description: "the relation it breaks";
518
+ readonly inverse: "the acts that break it";
519
+ };
520
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
521
+ label: z.ZodString;
522
+ title: z.ZodOptional<z.ZodString>;
523
+ description: z.ZodOptional<z.ZodString>;
524
+ judgesPast: z.ZodBoolean;
525
+ wholeGraph: z.ZodBoolean;
526
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
527
+ }, z.core.$strip>, {
528
+ readonly over: {
529
+ readonly to: readonly ["kind"];
530
+ readonly description: "the kind it judges";
531
+ readonly inverse: "the rules over it";
532
+ };
533
+ readonly repairs: {
534
+ readonly to: readonly ["act"];
535
+ readonly description: "the acts that put it right";
536
+ readonly inverse: "the rules it repairs";
537
+ };
538
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
539
+ label: z.ZodString;
540
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
541
+ label: z.ZodString;
542
+ describe: z.ZodOptional<z.ZodString>;
543
+ self: z.ZodBoolean;
544
+ everyone: z.ZodBoolean;
545
+ allActs: z.ZodBoolean;
546
+ allKinds: z.ZodBoolean;
547
+ }, z.core.$strip>, {
548
+ readonly lets: {
549
+ readonly to: readonly ["role"];
550
+ readonly description: "the roles it lets";
551
+ readonly inverse: "what they are let do";
552
+ };
553
+ readonly may: {
554
+ readonly to: readonly ["act"];
555
+ readonly description: "the acts it allows";
556
+ readonly inverse: "who may take it";
557
+ };
558
+ readonly "allows-on": {
559
+ readonly to: readonly ["kind"];
560
+ readonly description: "the kinds it allows those acts on";
561
+ readonly inverse: "who may act on it";
562
+ };
563
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
564
+ label: z.ZodString;
565
+ binds: z.ZodOptional<z.ZodEnum<{
566
+ fields: "fields";
567
+ entities: "entities";
568
+ }>>;
569
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
570
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
571
+ label: z.ZodString;
572
+ body: z.ZodOptional<z.ZodString>;
573
+ display: z.ZodOptional<z.ZodString>;
574
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
575
+ export declare const removeKind: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
576
+ label: z.ZodString;
577
+ plural: z.ZodOptional<z.ZodString>;
578
+ noun: z.ZodOptional<z.ZodString>;
579
+ description: z.ZodOptional<z.ZodString>;
580
+ lifecycleField: z.ZodOptional<z.ZodString>;
581
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
582
+ figure: z.ZodOptional<z.ZodString>;
583
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
584
+ label: z.ZodString;
585
+ type: z.ZodEnum<{
586
+ string: "string";
587
+ number: "number";
588
+ boolean: "boolean";
589
+ text: "text";
590
+ date: "date";
591
+ enum: "enum";
592
+ list: "list";
593
+ }>;
594
+ required: z.ZodBoolean;
595
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
596
+ description: z.ZodOptional<z.ZodString>;
597
+ }, z.core.$strip>, {
598
+ readonly of: {
599
+ readonly to: readonly ["kind"];
600
+ readonly cardinality: "one";
601
+ readonly description: "the kind it belongs to";
602
+ readonly inverse: "its fields";
603
+ };
604
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
605
+ label: z.ZodString;
606
+ description: z.ZodOptional<z.ZodString>;
607
+ inverse: z.ZodOptional<z.ZodString>;
608
+ cardinality: z.ZodEnum<{
609
+ one: "one";
610
+ many: "many";
611
+ }>;
612
+ appendOnly: z.ZodBoolean;
613
+ toAny: z.ZodBoolean;
614
+ }, z.core.$strip>, {
615
+ readonly "from-kind": {
616
+ readonly to: readonly ["kind"];
617
+ readonly cardinality: "one";
618
+ readonly description: "the kind it is declared on";
619
+ readonly inverse: "its edges";
620
+ };
621
+ readonly "to-kind": {
622
+ readonly to: readonly ["kind"];
623
+ readonly description: "the kinds it may reach";
624
+ readonly inverse: "the edges that reach it";
625
+ };
626
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
627
+ label: z.ZodString;
628
+ title: z.ZodOptional<z.ZodString>;
629
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
630
+ description: z.ZodOptional<z.ZodString>;
631
+ destructive: z.ZodBoolean;
632
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
633
+ subjectArg: z.ZodOptional<z.ZodString>;
634
+ targetArg: z.ZodOptional<z.ZodString>;
635
+ onAny: z.ZodBoolean;
636
+ derived: z.ZodBoolean;
637
+ }, z.core.$strip>, {
638
+ readonly on: {
639
+ readonly to: readonly ["kind"];
640
+ readonly description: "the kinds it acts on";
641
+ readonly inverse: "the acts on it";
642
+ };
643
+ readonly creates: {
644
+ readonly to: readonly ["kind"];
645
+ readonly description: "the kind it brings into being";
646
+ readonly inverse: "how one comes to be";
647
+ };
648
+ readonly connects: {
649
+ readonly to: readonly ["edge"];
650
+ readonly description: "the relation it makes";
651
+ readonly inverse: "the acts that make it";
652
+ };
653
+ readonly severs: {
654
+ readonly to: readonly ["edge"];
655
+ readonly description: "the relation it breaks";
656
+ readonly inverse: "the acts that break it";
657
+ };
658
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
659
+ label: z.ZodString;
660
+ title: z.ZodOptional<z.ZodString>;
661
+ description: z.ZodOptional<z.ZodString>;
662
+ judgesPast: z.ZodBoolean;
663
+ wholeGraph: z.ZodBoolean;
664
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
665
+ }, z.core.$strip>, {
666
+ readonly over: {
667
+ readonly to: readonly ["kind"];
668
+ readonly description: "the kind it judges";
669
+ readonly inverse: "the rules over it";
670
+ };
671
+ readonly repairs: {
672
+ readonly to: readonly ["act"];
673
+ readonly description: "the acts that put it right";
674
+ readonly inverse: "the rules it repairs";
675
+ };
676
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
677
+ label: z.ZodString;
678
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
679
+ label: z.ZodString;
680
+ describe: z.ZodOptional<z.ZodString>;
681
+ self: z.ZodBoolean;
682
+ everyone: z.ZodBoolean;
683
+ allActs: z.ZodBoolean;
684
+ allKinds: z.ZodBoolean;
685
+ }, z.core.$strip>, {
686
+ readonly lets: {
687
+ readonly to: readonly ["role"];
688
+ readonly description: "the roles it lets";
689
+ readonly inverse: "what they are let do";
690
+ };
691
+ readonly may: {
692
+ readonly to: readonly ["act"];
693
+ readonly description: "the acts it allows";
694
+ readonly inverse: "who may take it";
695
+ };
696
+ readonly "allows-on": {
697
+ readonly to: readonly ["kind"];
698
+ readonly description: "the kinds it allows those acts on";
699
+ readonly inverse: "who may act on it";
700
+ };
701
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
702
+ label: z.ZodString;
703
+ binds: z.ZodOptional<z.ZodEnum<{
704
+ fields: "fields";
705
+ entities: "entities";
706
+ }>>;
707
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
708
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
709
+ label: z.ZodString;
710
+ body: z.ZodOptional<z.ZodString>;
711
+ display: z.ZodOptional<z.ZodString>;
712
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
713
+ export declare const addField: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
714
+ label: z.ZodString;
715
+ plural: z.ZodOptional<z.ZodString>;
716
+ noun: z.ZodOptional<z.ZodString>;
717
+ description: z.ZodOptional<z.ZodString>;
718
+ lifecycleField: z.ZodOptional<z.ZodString>;
719
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
720
+ figure: z.ZodOptional<z.ZodString>;
721
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
722
+ label: z.ZodString;
723
+ type: z.ZodEnum<{
724
+ string: "string";
725
+ number: "number";
726
+ boolean: "boolean";
727
+ text: "text";
728
+ date: "date";
729
+ enum: "enum";
730
+ list: "list";
731
+ }>;
732
+ required: z.ZodBoolean;
733
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
734
+ description: z.ZodOptional<z.ZodString>;
735
+ }, z.core.$strip>, {
736
+ readonly of: {
737
+ readonly to: readonly ["kind"];
738
+ readonly cardinality: "one";
739
+ readonly description: "the kind it belongs to";
740
+ readonly inverse: "its fields";
741
+ };
742
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
743
+ label: z.ZodString;
744
+ description: z.ZodOptional<z.ZodString>;
745
+ inverse: z.ZodOptional<z.ZodString>;
746
+ cardinality: z.ZodEnum<{
747
+ one: "one";
748
+ many: "many";
749
+ }>;
750
+ appendOnly: z.ZodBoolean;
751
+ toAny: z.ZodBoolean;
752
+ }, z.core.$strip>, {
753
+ readonly "from-kind": {
754
+ readonly to: readonly ["kind"];
755
+ readonly cardinality: "one";
756
+ readonly description: "the kind it is declared on";
757
+ readonly inverse: "its edges";
758
+ };
759
+ readonly "to-kind": {
760
+ readonly to: readonly ["kind"];
761
+ readonly description: "the kinds it may reach";
762
+ readonly inverse: "the edges that reach it";
763
+ };
764
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
765
+ label: z.ZodString;
766
+ title: z.ZodOptional<z.ZodString>;
767
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
768
+ description: z.ZodOptional<z.ZodString>;
769
+ destructive: z.ZodBoolean;
770
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
771
+ subjectArg: z.ZodOptional<z.ZodString>;
772
+ targetArg: z.ZodOptional<z.ZodString>;
773
+ onAny: z.ZodBoolean;
774
+ derived: z.ZodBoolean;
775
+ }, z.core.$strip>, {
776
+ readonly on: {
777
+ readonly to: readonly ["kind"];
778
+ readonly description: "the kinds it acts on";
779
+ readonly inverse: "the acts on it";
780
+ };
781
+ readonly creates: {
782
+ readonly to: readonly ["kind"];
783
+ readonly description: "the kind it brings into being";
784
+ readonly inverse: "how one comes to be";
785
+ };
786
+ readonly connects: {
787
+ readonly to: readonly ["edge"];
788
+ readonly description: "the relation it makes";
789
+ readonly inverse: "the acts that make it";
790
+ };
791
+ readonly severs: {
792
+ readonly to: readonly ["edge"];
793
+ readonly description: "the relation it breaks";
794
+ readonly inverse: "the acts that break it";
795
+ };
796
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
797
+ label: z.ZodString;
798
+ title: z.ZodOptional<z.ZodString>;
799
+ description: z.ZodOptional<z.ZodString>;
800
+ judgesPast: z.ZodBoolean;
801
+ wholeGraph: z.ZodBoolean;
802
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
803
+ }, z.core.$strip>, {
804
+ readonly over: {
805
+ readonly to: readonly ["kind"];
806
+ readonly description: "the kind it judges";
807
+ readonly inverse: "the rules over it";
808
+ };
809
+ readonly repairs: {
810
+ readonly to: readonly ["act"];
811
+ readonly description: "the acts that put it right";
812
+ readonly inverse: "the rules it repairs";
813
+ };
814
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
815
+ label: z.ZodString;
816
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
817
+ label: z.ZodString;
818
+ describe: z.ZodOptional<z.ZodString>;
819
+ self: z.ZodBoolean;
820
+ everyone: z.ZodBoolean;
821
+ allActs: z.ZodBoolean;
822
+ allKinds: z.ZodBoolean;
823
+ }, z.core.$strip>, {
824
+ readonly lets: {
825
+ readonly to: readonly ["role"];
826
+ readonly description: "the roles it lets";
827
+ readonly inverse: "what they are let do";
828
+ };
829
+ readonly may: {
830
+ readonly to: readonly ["act"];
831
+ readonly description: "the acts it allows";
832
+ readonly inverse: "who may take it";
833
+ };
834
+ readonly "allows-on": {
835
+ readonly to: readonly ["kind"];
836
+ readonly description: "the kinds it allows those acts on";
837
+ readonly inverse: "who may act on it";
838
+ };
839
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
840
+ label: z.ZodString;
841
+ binds: z.ZodOptional<z.ZodEnum<{
842
+ fields: "fields";
843
+ entities: "entities";
844
+ }>>;
845
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
846
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
847
+ label: z.ZodString;
848
+ body: z.ZodOptional<z.ZodString>;
849
+ display: z.ZodOptional<z.ZodString>;
850
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
851
+ export declare const removeField: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
852
+ label: z.ZodString;
853
+ plural: z.ZodOptional<z.ZodString>;
854
+ noun: z.ZodOptional<z.ZodString>;
855
+ description: z.ZodOptional<z.ZodString>;
856
+ lifecycleField: z.ZodOptional<z.ZodString>;
857
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
858
+ figure: z.ZodOptional<z.ZodString>;
859
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
860
+ label: z.ZodString;
861
+ type: z.ZodEnum<{
862
+ string: "string";
863
+ number: "number";
864
+ boolean: "boolean";
865
+ text: "text";
866
+ date: "date";
867
+ enum: "enum";
868
+ list: "list";
869
+ }>;
870
+ required: z.ZodBoolean;
871
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
872
+ description: z.ZodOptional<z.ZodString>;
873
+ }, z.core.$strip>, {
874
+ readonly of: {
875
+ readonly to: readonly ["kind"];
876
+ readonly cardinality: "one";
877
+ readonly description: "the kind it belongs to";
878
+ readonly inverse: "its fields";
879
+ };
880
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
881
+ label: z.ZodString;
882
+ description: z.ZodOptional<z.ZodString>;
883
+ inverse: z.ZodOptional<z.ZodString>;
884
+ cardinality: z.ZodEnum<{
885
+ one: "one";
886
+ many: "many";
887
+ }>;
888
+ appendOnly: z.ZodBoolean;
889
+ toAny: z.ZodBoolean;
890
+ }, z.core.$strip>, {
891
+ readonly "from-kind": {
892
+ readonly to: readonly ["kind"];
893
+ readonly cardinality: "one";
894
+ readonly description: "the kind it is declared on";
895
+ readonly inverse: "its edges";
896
+ };
897
+ readonly "to-kind": {
898
+ readonly to: readonly ["kind"];
899
+ readonly description: "the kinds it may reach";
900
+ readonly inverse: "the edges that reach it";
901
+ };
902
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
903
+ label: z.ZodString;
904
+ title: z.ZodOptional<z.ZodString>;
905
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
906
+ description: z.ZodOptional<z.ZodString>;
907
+ destructive: z.ZodBoolean;
908
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
909
+ subjectArg: z.ZodOptional<z.ZodString>;
910
+ targetArg: z.ZodOptional<z.ZodString>;
911
+ onAny: z.ZodBoolean;
912
+ derived: z.ZodBoolean;
913
+ }, z.core.$strip>, {
914
+ readonly on: {
915
+ readonly to: readonly ["kind"];
916
+ readonly description: "the kinds it acts on";
917
+ readonly inverse: "the acts on it";
918
+ };
919
+ readonly creates: {
920
+ readonly to: readonly ["kind"];
921
+ readonly description: "the kind it brings into being";
922
+ readonly inverse: "how one comes to be";
923
+ };
924
+ readonly connects: {
925
+ readonly to: readonly ["edge"];
926
+ readonly description: "the relation it makes";
927
+ readonly inverse: "the acts that make it";
928
+ };
929
+ readonly severs: {
930
+ readonly to: readonly ["edge"];
931
+ readonly description: "the relation it breaks";
932
+ readonly inverse: "the acts that break it";
933
+ };
934
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
935
+ label: z.ZodString;
936
+ title: z.ZodOptional<z.ZodString>;
937
+ description: z.ZodOptional<z.ZodString>;
938
+ judgesPast: z.ZodBoolean;
939
+ wholeGraph: z.ZodBoolean;
940
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
941
+ }, z.core.$strip>, {
942
+ readonly over: {
943
+ readonly to: readonly ["kind"];
944
+ readonly description: "the kind it judges";
945
+ readonly inverse: "the rules over it";
946
+ };
947
+ readonly repairs: {
948
+ readonly to: readonly ["act"];
949
+ readonly description: "the acts that put it right";
950
+ readonly inverse: "the rules it repairs";
951
+ };
952
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
953
+ label: z.ZodString;
954
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
955
+ label: z.ZodString;
956
+ describe: z.ZodOptional<z.ZodString>;
957
+ self: z.ZodBoolean;
958
+ everyone: z.ZodBoolean;
959
+ allActs: z.ZodBoolean;
960
+ allKinds: z.ZodBoolean;
961
+ }, z.core.$strip>, {
962
+ readonly lets: {
963
+ readonly to: readonly ["role"];
964
+ readonly description: "the roles it lets";
965
+ readonly inverse: "what they are let do";
966
+ };
967
+ readonly may: {
968
+ readonly to: readonly ["act"];
969
+ readonly description: "the acts it allows";
970
+ readonly inverse: "who may take it";
971
+ };
972
+ readonly "allows-on": {
973
+ readonly to: readonly ["kind"];
974
+ readonly description: "the kinds it allows those acts on";
975
+ readonly inverse: "who may act on it";
976
+ };
977
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
978
+ label: z.ZodString;
979
+ binds: z.ZodOptional<z.ZodEnum<{
980
+ fields: "fields";
981
+ entities: "entities";
982
+ }>>;
983
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
984
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
985
+ label: z.ZodString;
986
+ body: z.ZodOptional<z.ZodString>;
987
+ display: z.ZodOptional<z.ZodString>;
988
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
989
+ export declare const addEdge: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
990
+ label: z.ZodString;
991
+ plural: z.ZodOptional<z.ZodString>;
992
+ noun: z.ZodOptional<z.ZodString>;
993
+ description: z.ZodOptional<z.ZodString>;
994
+ lifecycleField: z.ZodOptional<z.ZodString>;
995
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
996
+ figure: z.ZodOptional<z.ZodString>;
997
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
998
+ label: z.ZodString;
999
+ type: z.ZodEnum<{
1000
+ string: "string";
1001
+ number: "number";
1002
+ boolean: "boolean";
1003
+ text: "text";
1004
+ date: "date";
1005
+ enum: "enum";
1006
+ list: "list";
1007
+ }>;
1008
+ required: z.ZodBoolean;
1009
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1010
+ description: z.ZodOptional<z.ZodString>;
1011
+ }, z.core.$strip>, {
1012
+ readonly of: {
1013
+ readonly to: readonly ["kind"];
1014
+ readonly cardinality: "one";
1015
+ readonly description: "the kind it belongs to";
1016
+ readonly inverse: "its fields";
1017
+ };
1018
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
1019
+ label: z.ZodString;
1020
+ description: z.ZodOptional<z.ZodString>;
1021
+ inverse: z.ZodOptional<z.ZodString>;
1022
+ cardinality: z.ZodEnum<{
1023
+ one: "one";
1024
+ many: "many";
1025
+ }>;
1026
+ appendOnly: z.ZodBoolean;
1027
+ toAny: z.ZodBoolean;
1028
+ }, z.core.$strip>, {
1029
+ readonly "from-kind": {
1030
+ readonly to: readonly ["kind"];
1031
+ readonly cardinality: "one";
1032
+ readonly description: "the kind it is declared on";
1033
+ readonly inverse: "its edges";
1034
+ };
1035
+ readonly "to-kind": {
1036
+ readonly to: readonly ["kind"];
1037
+ readonly description: "the kinds it may reach";
1038
+ readonly inverse: "the edges that reach it";
1039
+ };
1040
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
1041
+ label: z.ZodString;
1042
+ title: z.ZodOptional<z.ZodString>;
1043
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
1044
+ description: z.ZodOptional<z.ZodString>;
1045
+ destructive: z.ZodBoolean;
1046
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1047
+ subjectArg: z.ZodOptional<z.ZodString>;
1048
+ targetArg: z.ZodOptional<z.ZodString>;
1049
+ onAny: z.ZodBoolean;
1050
+ derived: z.ZodBoolean;
1051
+ }, z.core.$strip>, {
1052
+ readonly on: {
1053
+ readonly to: readonly ["kind"];
1054
+ readonly description: "the kinds it acts on";
1055
+ readonly inverse: "the acts on it";
1056
+ };
1057
+ readonly creates: {
1058
+ readonly to: readonly ["kind"];
1059
+ readonly description: "the kind it brings into being";
1060
+ readonly inverse: "how one comes to be";
1061
+ };
1062
+ readonly connects: {
1063
+ readonly to: readonly ["edge"];
1064
+ readonly description: "the relation it makes";
1065
+ readonly inverse: "the acts that make it";
1066
+ };
1067
+ readonly severs: {
1068
+ readonly to: readonly ["edge"];
1069
+ readonly description: "the relation it breaks";
1070
+ readonly inverse: "the acts that break it";
1071
+ };
1072
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
1073
+ label: z.ZodString;
1074
+ title: z.ZodOptional<z.ZodString>;
1075
+ description: z.ZodOptional<z.ZodString>;
1076
+ judgesPast: z.ZodBoolean;
1077
+ wholeGraph: z.ZodBoolean;
1078
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1079
+ }, z.core.$strip>, {
1080
+ readonly over: {
1081
+ readonly to: readonly ["kind"];
1082
+ readonly description: "the kind it judges";
1083
+ readonly inverse: "the rules over it";
1084
+ };
1085
+ readonly repairs: {
1086
+ readonly to: readonly ["act"];
1087
+ readonly description: "the acts that put it right";
1088
+ readonly inverse: "the rules it repairs";
1089
+ };
1090
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
1091
+ label: z.ZodString;
1092
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
1093
+ label: z.ZodString;
1094
+ describe: z.ZodOptional<z.ZodString>;
1095
+ self: z.ZodBoolean;
1096
+ everyone: z.ZodBoolean;
1097
+ allActs: z.ZodBoolean;
1098
+ allKinds: z.ZodBoolean;
1099
+ }, z.core.$strip>, {
1100
+ readonly lets: {
1101
+ readonly to: readonly ["role"];
1102
+ readonly description: "the roles it lets";
1103
+ readonly inverse: "what they are let do";
1104
+ };
1105
+ readonly may: {
1106
+ readonly to: readonly ["act"];
1107
+ readonly description: "the acts it allows";
1108
+ readonly inverse: "who may take it";
1109
+ };
1110
+ readonly "allows-on": {
1111
+ readonly to: readonly ["kind"];
1112
+ readonly description: "the kinds it allows those acts on";
1113
+ readonly inverse: "who may act on it";
1114
+ };
1115
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
1116
+ label: z.ZodString;
1117
+ binds: z.ZodOptional<z.ZodEnum<{
1118
+ fields: "fields";
1119
+ entities: "entities";
1120
+ }>>;
1121
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
1122
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
1123
+ label: z.ZodString;
1124
+ body: z.ZodOptional<z.ZodString>;
1125
+ display: z.ZodOptional<z.ZodString>;
1126
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
1127
+ export declare const removeEdge: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
1128
+ label: z.ZodString;
1129
+ plural: z.ZodOptional<z.ZodString>;
1130
+ noun: z.ZodOptional<z.ZodString>;
1131
+ description: z.ZodOptional<z.ZodString>;
1132
+ lifecycleField: z.ZodOptional<z.ZodString>;
1133
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1134
+ figure: z.ZodOptional<z.ZodString>;
1135
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
1136
+ label: z.ZodString;
1137
+ type: z.ZodEnum<{
1138
+ string: "string";
1139
+ number: "number";
1140
+ boolean: "boolean";
1141
+ text: "text";
1142
+ date: "date";
1143
+ enum: "enum";
1144
+ list: "list";
1145
+ }>;
1146
+ required: z.ZodBoolean;
1147
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1148
+ description: z.ZodOptional<z.ZodString>;
1149
+ }, z.core.$strip>, {
1150
+ readonly of: {
1151
+ readonly to: readonly ["kind"];
1152
+ readonly cardinality: "one";
1153
+ readonly description: "the kind it belongs to";
1154
+ readonly inverse: "its fields";
1155
+ };
1156
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
1157
+ label: z.ZodString;
1158
+ description: z.ZodOptional<z.ZodString>;
1159
+ inverse: z.ZodOptional<z.ZodString>;
1160
+ cardinality: z.ZodEnum<{
1161
+ one: "one";
1162
+ many: "many";
1163
+ }>;
1164
+ appendOnly: z.ZodBoolean;
1165
+ toAny: z.ZodBoolean;
1166
+ }, z.core.$strip>, {
1167
+ readonly "from-kind": {
1168
+ readonly to: readonly ["kind"];
1169
+ readonly cardinality: "one";
1170
+ readonly description: "the kind it is declared on";
1171
+ readonly inverse: "its edges";
1172
+ };
1173
+ readonly "to-kind": {
1174
+ readonly to: readonly ["kind"];
1175
+ readonly description: "the kinds it may reach";
1176
+ readonly inverse: "the edges that reach it";
1177
+ };
1178
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
1179
+ label: z.ZodString;
1180
+ title: z.ZodOptional<z.ZodString>;
1181
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
1182
+ description: z.ZodOptional<z.ZodString>;
1183
+ destructive: z.ZodBoolean;
1184
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1185
+ subjectArg: z.ZodOptional<z.ZodString>;
1186
+ targetArg: z.ZodOptional<z.ZodString>;
1187
+ onAny: z.ZodBoolean;
1188
+ derived: z.ZodBoolean;
1189
+ }, z.core.$strip>, {
1190
+ readonly on: {
1191
+ readonly to: readonly ["kind"];
1192
+ readonly description: "the kinds it acts on";
1193
+ readonly inverse: "the acts on it";
1194
+ };
1195
+ readonly creates: {
1196
+ readonly to: readonly ["kind"];
1197
+ readonly description: "the kind it brings into being";
1198
+ readonly inverse: "how one comes to be";
1199
+ };
1200
+ readonly connects: {
1201
+ readonly to: readonly ["edge"];
1202
+ readonly description: "the relation it makes";
1203
+ readonly inverse: "the acts that make it";
1204
+ };
1205
+ readonly severs: {
1206
+ readonly to: readonly ["edge"];
1207
+ readonly description: "the relation it breaks";
1208
+ readonly inverse: "the acts that break it";
1209
+ };
1210
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
1211
+ label: z.ZodString;
1212
+ title: z.ZodOptional<z.ZodString>;
1213
+ description: z.ZodOptional<z.ZodString>;
1214
+ judgesPast: z.ZodBoolean;
1215
+ wholeGraph: z.ZodBoolean;
1216
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1217
+ }, z.core.$strip>, {
1218
+ readonly over: {
1219
+ readonly to: readonly ["kind"];
1220
+ readonly description: "the kind it judges";
1221
+ readonly inverse: "the rules over it";
1222
+ };
1223
+ readonly repairs: {
1224
+ readonly to: readonly ["act"];
1225
+ readonly description: "the acts that put it right";
1226
+ readonly inverse: "the rules it repairs";
1227
+ };
1228
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
1229
+ label: z.ZodString;
1230
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
1231
+ label: z.ZodString;
1232
+ describe: z.ZodOptional<z.ZodString>;
1233
+ self: z.ZodBoolean;
1234
+ everyone: z.ZodBoolean;
1235
+ allActs: z.ZodBoolean;
1236
+ allKinds: z.ZodBoolean;
1237
+ }, z.core.$strip>, {
1238
+ readonly lets: {
1239
+ readonly to: readonly ["role"];
1240
+ readonly description: "the roles it lets";
1241
+ readonly inverse: "what they are let do";
1242
+ };
1243
+ readonly may: {
1244
+ readonly to: readonly ["act"];
1245
+ readonly description: "the acts it allows";
1246
+ readonly inverse: "who may take it";
1247
+ };
1248
+ readonly "allows-on": {
1249
+ readonly to: readonly ["kind"];
1250
+ readonly description: "the kinds it allows those acts on";
1251
+ readonly inverse: "who may act on it";
1252
+ };
1253
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
1254
+ label: z.ZodString;
1255
+ binds: z.ZodOptional<z.ZodEnum<{
1256
+ fields: "fields";
1257
+ entities: "entities";
1258
+ }>>;
1259
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
1260
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
1261
+ label: z.ZodString;
1262
+ body: z.ZodOptional<z.ZodString>;
1263
+ display: z.ZodOptional<z.ZodString>;
1264
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
1265
+ export declare const addAct: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
1266
+ label: z.ZodString;
1267
+ plural: z.ZodOptional<z.ZodString>;
1268
+ noun: z.ZodOptional<z.ZodString>;
1269
+ description: z.ZodOptional<z.ZodString>;
1270
+ lifecycleField: z.ZodOptional<z.ZodString>;
1271
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1272
+ figure: z.ZodOptional<z.ZodString>;
1273
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
1274
+ label: z.ZodString;
1275
+ type: z.ZodEnum<{
1276
+ string: "string";
1277
+ number: "number";
1278
+ boolean: "boolean";
1279
+ text: "text";
1280
+ date: "date";
1281
+ enum: "enum";
1282
+ list: "list";
1283
+ }>;
1284
+ required: z.ZodBoolean;
1285
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1286
+ description: z.ZodOptional<z.ZodString>;
1287
+ }, z.core.$strip>, {
1288
+ readonly of: {
1289
+ readonly to: readonly ["kind"];
1290
+ readonly cardinality: "one";
1291
+ readonly description: "the kind it belongs to";
1292
+ readonly inverse: "its fields";
1293
+ };
1294
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
1295
+ label: z.ZodString;
1296
+ description: z.ZodOptional<z.ZodString>;
1297
+ inverse: z.ZodOptional<z.ZodString>;
1298
+ cardinality: z.ZodEnum<{
1299
+ one: "one";
1300
+ many: "many";
1301
+ }>;
1302
+ appendOnly: z.ZodBoolean;
1303
+ toAny: z.ZodBoolean;
1304
+ }, z.core.$strip>, {
1305
+ readonly "from-kind": {
1306
+ readonly to: readonly ["kind"];
1307
+ readonly cardinality: "one";
1308
+ readonly description: "the kind it is declared on";
1309
+ readonly inverse: "its edges";
1310
+ };
1311
+ readonly "to-kind": {
1312
+ readonly to: readonly ["kind"];
1313
+ readonly description: "the kinds it may reach";
1314
+ readonly inverse: "the edges that reach it";
1315
+ };
1316
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
1317
+ label: z.ZodString;
1318
+ title: z.ZodOptional<z.ZodString>;
1319
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
1320
+ description: z.ZodOptional<z.ZodString>;
1321
+ destructive: z.ZodBoolean;
1322
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1323
+ subjectArg: z.ZodOptional<z.ZodString>;
1324
+ targetArg: z.ZodOptional<z.ZodString>;
1325
+ onAny: z.ZodBoolean;
1326
+ derived: z.ZodBoolean;
1327
+ }, z.core.$strip>, {
1328
+ readonly on: {
1329
+ readonly to: readonly ["kind"];
1330
+ readonly description: "the kinds it acts on";
1331
+ readonly inverse: "the acts on it";
1332
+ };
1333
+ readonly creates: {
1334
+ readonly to: readonly ["kind"];
1335
+ readonly description: "the kind it brings into being";
1336
+ readonly inverse: "how one comes to be";
1337
+ };
1338
+ readonly connects: {
1339
+ readonly to: readonly ["edge"];
1340
+ readonly description: "the relation it makes";
1341
+ readonly inverse: "the acts that make it";
1342
+ };
1343
+ readonly severs: {
1344
+ readonly to: readonly ["edge"];
1345
+ readonly description: "the relation it breaks";
1346
+ readonly inverse: "the acts that break it";
1347
+ };
1348
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
1349
+ label: z.ZodString;
1350
+ title: z.ZodOptional<z.ZodString>;
1351
+ description: z.ZodOptional<z.ZodString>;
1352
+ judgesPast: z.ZodBoolean;
1353
+ wholeGraph: z.ZodBoolean;
1354
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1355
+ }, z.core.$strip>, {
1356
+ readonly over: {
1357
+ readonly to: readonly ["kind"];
1358
+ readonly description: "the kind it judges";
1359
+ readonly inverse: "the rules over it";
1360
+ };
1361
+ readonly repairs: {
1362
+ readonly to: readonly ["act"];
1363
+ readonly description: "the acts that put it right";
1364
+ readonly inverse: "the rules it repairs";
1365
+ };
1366
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
1367
+ label: z.ZodString;
1368
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
1369
+ label: z.ZodString;
1370
+ describe: z.ZodOptional<z.ZodString>;
1371
+ self: z.ZodBoolean;
1372
+ everyone: z.ZodBoolean;
1373
+ allActs: z.ZodBoolean;
1374
+ allKinds: z.ZodBoolean;
1375
+ }, z.core.$strip>, {
1376
+ readonly lets: {
1377
+ readonly to: readonly ["role"];
1378
+ readonly description: "the roles it lets";
1379
+ readonly inverse: "what they are let do";
1380
+ };
1381
+ readonly may: {
1382
+ readonly to: readonly ["act"];
1383
+ readonly description: "the acts it allows";
1384
+ readonly inverse: "who may take it";
1385
+ };
1386
+ readonly "allows-on": {
1387
+ readonly to: readonly ["kind"];
1388
+ readonly description: "the kinds it allows those acts on";
1389
+ readonly inverse: "who may act on it";
1390
+ };
1391
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
1392
+ label: z.ZodString;
1393
+ binds: z.ZodOptional<z.ZodEnum<{
1394
+ fields: "fields";
1395
+ entities: "entities";
1396
+ }>>;
1397
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
1398
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
1399
+ label: z.ZodString;
1400
+ body: z.ZodOptional<z.ZodString>;
1401
+ display: z.ZodOptional<z.ZodString>;
1402
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
1403
+ export declare const removeAct: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
1404
+ label: z.ZodString;
1405
+ plural: z.ZodOptional<z.ZodString>;
1406
+ noun: z.ZodOptional<z.ZodString>;
1407
+ description: z.ZodOptional<z.ZodString>;
1408
+ lifecycleField: z.ZodOptional<z.ZodString>;
1409
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1410
+ figure: z.ZodOptional<z.ZodString>;
1411
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
1412
+ label: z.ZodString;
1413
+ type: z.ZodEnum<{
1414
+ string: "string";
1415
+ number: "number";
1416
+ boolean: "boolean";
1417
+ text: "text";
1418
+ date: "date";
1419
+ enum: "enum";
1420
+ list: "list";
1421
+ }>;
1422
+ required: z.ZodBoolean;
1423
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1424
+ description: z.ZodOptional<z.ZodString>;
1425
+ }, z.core.$strip>, {
1426
+ readonly of: {
1427
+ readonly to: readonly ["kind"];
1428
+ readonly cardinality: "one";
1429
+ readonly description: "the kind it belongs to";
1430
+ readonly inverse: "its fields";
1431
+ };
1432
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
1433
+ label: z.ZodString;
1434
+ description: z.ZodOptional<z.ZodString>;
1435
+ inverse: z.ZodOptional<z.ZodString>;
1436
+ cardinality: z.ZodEnum<{
1437
+ one: "one";
1438
+ many: "many";
1439
+ }>;
1440
+ appendOnly: z.ZodBoolean;
1441
+ toAny: z.ZodBoolean;
1442
+ }, z.core.$strip>, {
1443
+ readonly "from-kind": {
1444
+ readonly to: readonly ["kind"];
1445
+ readonly cardinality: "one";
1446
+ readonly description: "the kind it is declared on";
1447
+ readonly inverse: "its edges";
1448
+ };
1449
+ readonly "to-kind": {
1450
+ readonly to: readonly ["kind"];
1451
+ readonly description: "the kinds it may reach";
1452
+ readonly inverse: "the edges that reach it";
1453
+ };
1454
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
1455
+ label: z.ZodString;
1456
+ title: z.ZodOptional<z.ZodString>;
1457
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
1458
+ description: z.ZodOptional<z.ZodString>;
1459
+ destructive: z.ZodBoolean;
1460
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1461
+ subjectArg: z.ZodOptional<z.ZodString>;
1462
+ targetArg: z.ZodOptional<z.ZodString>;
1463
+ onAny: z.ZodBoolean;
1464
+ derived: z.ZodBoolean;
1465
+ }, z.core.$strip>, {
1466
+ readonly on: {
1467
+ readonly to: readonly ["kind"];
1468
+ readonly description: "the kinds it acts on";
1469
+ readonly inverse: "the acts on it";
1470
+ };
1471
+ readonly creates: {
1472
+ readonly to: readonly ["kind"];
1473
+ readonly description: "the kind it brings into being";
1474
+ readonly inverse: "how one comes to be";
1475
+ };
1476
+ readonly connects: {
1477
+ readonly to: readonly ["edge"];
1478
+ readonly description: "the relation it makes";
1479
+ readonly inverse: "the acts that make it";
1480
+ };
1481
+ readonly severs: {
1482
+ readonly to: readonly ["edge"];
1483
+ readonly description: "the relation it breaks";
1484
+ readonly inverse: "the acts that break it";
1485
+ };
1486
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
1487
+ label: z.ZodString;
1488
+ title: z.ZodOptional<z.ZodString>;
1489
+ description: z.ZodOptional<z.ZodString>;
1490
+ judgesPast: z.ZodBoolean;
1491
+ wholeGraph: z.ZodBoolean;
1492
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1493
+ }, z.core.$strip>, {
1494
+ readonly over: {
1495
+ readonly to: readonly ["kind"];
1496
+ readonly description: "the kind it judges";
1497
+ readonly inverse: "the rules over it";
1498
+ };
1499
+ readonly repairs: {
1500
+ readonly to: readonly ["act"];
1501
+ readonly description: "the acts that put it right";
1502
+ readonly inverse: "the rules it repairs";
1503
+ };
1504
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
1505
+ label: z.ZodString;
1506
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
1507
+ label: z.ZodString;
1508
+ describe: z.ZodOptional<z.ZodString>;
1509
+ self: z.ZodBoolean;
1510
+ everyone: z.ZodBoolean;
1511
+ allActs: z.ZodBoolean;
1512
+ allKinds: z.ZodBoolean;
1513
+ }, z.core.$strip>, {
1514
+ readonly lets: {
1515
+ readonly to: readonly ["role"];
1516
+ readonly description: "the roles it lets";
1517
+ readonly inverse: "what they are let do";
1518
+ };
1519
+ readonly may: {
1520
+ readonly to: readonly ["act"];
1521
+ readonly description: "the acts it allows";
1522
+ readonly inverse: "who may take it";
1523
+ };
1524
+ readonly "allows-on": {
1525
+ readonly to: readonly ["kind"];
1526
+ readonly description: "the kinds it allows those acts on";
1527
+ readonly inverse: "who may act on it";
1528
+ };
1529
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
1530
+ label: z.ZodString;
1531
+ binds: z.ZodOptional<z.ZodEnum<{
1532
+ fields: "fields";
1533
+ entities: "entities";
1534
+ }>>;
1535
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
1536
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
1537
+ label: z.ZodString;
1538
+ body: z.ZodOptional<z.ZodString>;
1539
+ display: z.ZodOptional<z.ZodString>;
1540
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
1541
+ export declare const addRule: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
1542
+ label: z.ZodString;
1543
+ plural: z.ZodOptional<z.ZodString>;
1544
+ noun: z.ZodOptional<z.ZodString>;
1545
+ description: z.ZodOptional<z.ZodString>;
1546
+ lifecycleField: z.ZodOptional<z.ZodString>;
1547
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1548
+ figure: z.ZodOptional<z.ZodString>;
1549
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
1550
+ label: z.ZodString;
1551
+ type: z.ZodEnum<{
1552
+ string: "string";
1553
+ number: "number";
1554
+ boolean: "boolean";
1555
+ text: "text";
1556
+ date: "date";
1557
+ enum: "enum";
1558
+ list: "list";
1559
+ }>;
1560
+ required: z.ZodBoolean;
1561
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1562
+ description: z.ZodOptional<z.ZodString>;
1563
+ }, z.core.$strip>, {
1564
+ readonly of: {
1565
+ readonly to: readonly ["kind"];
1566
+ readonly cardinality: "one";
1567
+ readonly description: "the kind it belongs to";
1568
+ readonly inverse: "its fields";
1569
+ };
1570
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
1571
+ label: z.ZodString;
1572
+ description: z.ZodOptional<z.ZodString>;
1573
+ inverse: z.ZodOptional<z.ZodString>;
1574
+ cardinality: z.ZodEnum<{
1575
+ one: "one";
1576
+ many: "many";
1577
+ }>;
1578
+ appendOnly: z.ZodBoolean;
1579
+ toAny: z.ZodBoolean;
1580
+ }, z.core.$strip>, {
1581
+ readonly "from-kind": {
1582
+ readonly to: readonly ["kind"];
1583
+ readonly cardinality: "one";
1584
+ readonly description: "the kind it is declared on";
1585
+ readonly inverse: "its edges";
1586
+ };
1587
+ readonly "to-kind": {
1588
+ readonly to: readonly ["kind"];
1589
+ readonly description: "the kinds it may reach";
1590
+ readonly inverse: "the edges that reach it";
1591
+ };
1592
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
1593
+ label: z.ZodString;
1594
+ title: z.ZodOptional<z.ZodString>;
1595
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
1596
+ description: z.ZodOptional<z.ZodString>;
1597
+ destructive: z.ZodBoolean;
1598
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1599
+ subjectArg: z.ZodOptional<z.ZodString>;
1600
+ targetArg: z.ZodOptional<z.ZodString>;
1601
+ onAny: z.ZodBoolean;
1602
+ derived: z.ZodBoolean;
1603
+ }, z.core.$strip>, {
1604
+ readonly on: {
1605
+ readonly to: readonly ["kind"];
1606
+ readonly description: "the kinds it acts on";
1607
+ readonly inverse: "the acts on it";
1608
+ };
1609
+ readonly creates: {
1610
+ readonly to: readonly ["kind"];
1611
+ readonly description: "the kind it brings into being";
1612
+ readonly inverse: "how one comes to be";
1613
+ };
1614
+ readonly connects: {
1615
+ readonly to: readonly ["edge"];
1616
+ readonly description: "the relation it makes";
1617
+ readonly inverse: "the acts that make it";
1618
+ };
1619
+ readonly severs: {
1620
+ readonly to: readonly ["edge"];
1621
+ readonly description: "the relation it breaks";
1622
+ readonly inverse: "the acts that break it";
1623
+ };
1624
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
1625
+ label: z.ZodString;
1626
+ title: z.ZodOptional<z.ZodString>;
1627
+ description: z.ZodOptional<z.ZodString>;
1628
+ judgesPast: z.ZodBoolean;
1629
+ wholeGraph: z.ZodBoolean;
1630
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1631
+ }, z.core.$strip>, {
1632
+ readonly over: {
1633
+ readonly to: readonly ["kind"];
1634
+ readonly description: "the kind it judges";
1635
+ readonly inverse: "the rules over it";
1636
+ };
1637
+ readonly repairs: {
1638
+ readonly to: readonly ["act"];
1639
+ readonly description: "the acts that put it right";
1640
+ readonly inverse: "the rules it repairs";
1641
+ };
1642
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
1643
+ label: z.ZodString;
1644
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
1645
+ label: z.ZodString;
1646
+ describe: z.ZodOptional<z.ZodString>;
1647
+ self: z.ZodBoolean;
1648
+ everyone: z.ZodBoolean;
1649
+ allActs: z.ZodBoolean;
1650
+ allKinds: z.ZodBoolean;
1651
+ }, z.core.$strip>, {
1652
+ readonly lets: {
1653
+ readonly to: readonly ["role"];
1654
+ readonly description: "the roles it lets";
1655
+ readonly inverse: "what they are let do";
1656
+ };
1657
+ readonly may: {
1658
+ readonly to: readonly ["act"];
1659
+ readonly description: "the acts it allows";
1660
+ readonly inverse: "who may take it";
1661
+ };
1662
+ readonly "allows-on": {
1663
+ readonly to: readonly ["kind"];
1664
+ readonly description: "the kinds it allows those acts on";
1665
+ readonly inverse: "who may act on it";
1666
+ };
1667
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
1668
+ label: z.ZodString;
1669
+ binds: z.ZodOptional<z.ZodEnum<{
1670
+ fields: "fields";
1671
+ entities: "entities";
1672
+ }>>;
1673
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
1674
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
1675
+ label: z.ZodString;
1676
+ body: z.ZodOptional<z.ZodString>;
1677
+ display: z.ZodOptional<z.ZodString>;
1678
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
1679
+ export declare const removeRule: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
1680
+ label: z.ZodString;
1681
+ plural: z.ZodOptional<z.ZodString>;
1682
+ noun: z.ZodOptional<z.ZodString>;
1683
+ description: z.ZodOptional<z.ZodString>;
1684
+ lifecycleField: z.ZodOptional<z.ZodString>;
1685
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1686
+ figure: z.ZodOptional<z.ZodString>;
1687
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
1688
+ label: z.ZodString;
1689
+ type: z.ZodEnum<{
1690
+ string: "string";
1691
+ number: "number";
1692
+ boolean: "boolean";
1693
+ text: "text";
1694
+ date: "date";
1695
+ enum: "enum";
1696
+ list: "list";
1697
+ }>;
1698
+ required: z.ZodBoolean;
1699
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1700
+ description: z.ZodOptional<z.ZodString>;
1701
+ }, z.core.$strip>, {
1702
+ readonly of: {
1703
+ readonly to: readonly ["kind"];
1704
+ readonly cardinality: "one";
1705
+ readonly description: "the kind it belongs to";
1706
+ readonly inverse: "its fields";
1707
+ };
1708
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
1709
+ label: z.ZodString;
1710
+ description: z.ZodOptional<z.ZodString>;
1711
+ inverse: z.ZodOptional<z.ZodString>;
1712
+ cardinality: z.ZodEnum<{
1713
+ one: "one";
1714
+ many: "many";
1715
+ }>;
1716
+ appendOnly: z.ZodBoolean;
1717
+ toAny: z.ZodBoolean;
1718
+ }, z.core.$strip>, {
1719
+ readonly "from-kind": {
1720
+ readonly to: readonly ["kind"];
1721
+ readonly cardinality: "one";
1722
+ readonly description: "the kind it is declared on";
1723
+ readonly inverse: "its edges";
1724
+ };
1725
+ readonly "to-kind": {
1726
+ readonly to: readonly ["kind"];
1727
+ readonly description: "the kinds it may reach";
1728
+ readonly inverse: "the edges that reach it";
1729
+ };
1730
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
1731
+ label: z.ZodString;
1732
+ title: z.ZodOptional<z.ZodString>;
1733
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
1734
+ description: z.ZodOptional<z.ZodString>;
1735
+ destructive: z.ZodBoolean;
1736
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1737
+ subjectArg: z.ZodOptional<z.ZodString>;
1738
+ targetArg: z.ZodOptional<z.ZodString>;
1739
+ onAny: z.ZodBoolean;
1740
+ derived: z.ZodBoolean;
1741
+ }, z.core.$strip>, {
1742
+ readonly on: {
1743
+ readonly to: readonly ["kind"];
1744
+ readonly description: "the kinds it acts on";
1745
+ readonly inverse: "the acts on it";
1746
+ };
1747
+ readonly creates: {
1748
+ readonly to: readonly ["kind"];
1749
+ readonly description: "the kind it brings into being";
1750
+ readonly inverse: "how one comes to be";
1751
+ };
1752
+ readonly connects: {
1753
+ readonly to: readonly ["edge"];
1754
+ readonly description: "the relation it makes";
1755
+ readonly inverse: "the acts that make it";
1756
+ };
1757
+ readonly severs: {
1758
+ readonly to: readonly ["edge"];
1759
+ readonly description: "the relation it breaks";
1760
+ readonly inverse: "the acts that break it";
1761
+ };
1762
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
1763
+ label: z.ZodString;
1764
+ title: z.ZodOptional<z.ZodString>;
1765
+ description: z.ZodOptional<z.ZodString>;
1766
+ judgesPast: z.ZodBoolean;
1767
+ wholeGraph: z.ZodBoolean;
1768
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1769
+ }, z.core.$strip>, {
1770
+ readonly over: {
1771
+ readonly to: readonly ["kind"];
1772
+ readonly description: "the kind it judges";
1773
+ readonly inverse: "the rules over it";
1774
+ };
1775
+ readonly repairs: {
1776
+ readonly to: readonly ["act"];
1777
+ readonly description: "the acts that put it right";
1778
+ readonly inverse: "the rules it repairs";
1779
+ };
1780
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
1781
+ label: z.ZodString;
1782
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
1783
+ label: z.ZodString;
1784
+ describe: z.ZodOptional<z.ZodString>;
1785
+ self: z.ZodBoolean;
1786
+ everyone: z.ZodBoolean;
1787
+ allActs: z.ZodBoolean;
1788
+ allKinds: z.ZodBoolean;
1789
+ }, z.core.$strip>, {
1790
+ readonly lets: {
1791
+ readonly to: readonly ["role"];
1792
+ readonly description: "the roles it lets";
1793
+ readonly inverse: "what they are let do";
1794
+ };
1795
+ readonly may: {
1796
+ readonly to: readonly ["act"];
1797
+ readonly description: "the acts it allows";
1798
+ readonly inverse: "who may take it";
1799
+ };
1800
+ readonly "allows-on": {
1801
+ readonly to: readonly ["kind"];
1802
+ readonly description: "the kinds it allows those acts on";
1803
+ readonly inverse: "who may act on it";
1804
+ };
1805
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
1806
+ label: z.ZodString;
1807
+ binds: z.ZodOptional<z.ZodEnum<{
1808
+ fields: "fields";
1809
+ entities: "entities";
1810
+ }>>;
1811
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
1812
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
1813
+ label: z.ZodString;
1814
+ body: z.ZodOptional<z.ZodString>;
1815
+ display: z.ZodOptional<z.ZodString>;
1816
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
1817
+ export declare const nameRepair: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
1818
+ label: z.ZodString;
1819
+ plural: z.ZodOptional<z.ZodString>;
1820
+ noun: z.ZodOptional<z.ZodString>;
1821
+ description: z.ZodOptional<z.ZodString>;
1822
+ lifecycleField: z.ZodOptional<z.ZodString>;
1823
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1824
+ figure: z.ZodOptional<z.ZodString>;
1825
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
1826
+ label: z.ZodString;
1827
+ type: z.ZodEnum<{
1828
+ string: "string";
1829
+ number: "number";
1830
+ boolean: "boolean";
1831
+ text: "text";
1832
+ date: "date";
1833
+ enum: "enum";
1834
+ list: "list";
1835
+ }>;
1836
+ required: z.ZodBoolean;
1837
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1838
+ description: z.ZodOptional<z.ZodString>;
1839
+ }, z.core.$strip>, {
1840
+ readonly of: {
1841
+ readonly to: readonly ["kind"];
1842
+ readonly cardinality: "one";
1843
+ readonly description: "the kind it belongs to";
1844
+ readonly inverse: "its fields";
1845
+ };
1846
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
1847
+ label: z.ZodString;
1848
+ description: z.ZodOptional<z.ZodString>;
1849
+ inverse: z.ZodOptional<z.ZodString>;
1850
+ cardinality: z.ZodEnum<{
1851
+ one: "one";
1852
+ many: "many";
1853
+ }>;
1854
+ appendOnly: z.ZodBoolean;
1855
+ toAny: z.ZodBoolean;
1856
+ }, z.core.$strip>, {
1857
+ readonly "from-kind": {
1858
+ readonly to: readonly ["kind"];
1859
+ readonly cardinality: "one";
1860
+ readonly description: "the kind it is declared on";
1861
+ readonly inverse: "its edges";
1862
+ };
1863
+ readonly "to-kind": {
1864
+ readonly to: readonly ["kind"];
1865
+ readonly description: "the kinds it may reach";
1866
+ readonly inverse: "the edges that reach it";
1867
+ };
1868
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
1869
+ label: z.ZodString;
1870
+ title: z.ZodOptional<z.ZodString>;
1871
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
1872
+ description: z.ZodOptional<z.ZodString>;
1873
+ destructive: z.ZodBoolean;
1874
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1875
+ subjectArg: z.ZodOptional<z.ZodString>;
1876
+ targetArg: z.ZodOptional<z.ZodString>;
1877
+ onAny: z.ZodBoolean;
1878
+ derived: z.ZodBoolean;
1879
+ }, z.core.$strip>, {
1880
+ readonly on: {
1881
+ readonly to: readonly ["kind"];
1882
+ readonly description: "the kinds it acts on";
1883
+ readonly inverse: "the acts on it";
1884
+ };
1885
+ readonly creates: {
1886
+ readonly to: readonly ["kind"];
1887
+ readonly description: "the kind it brings into being";
1888
+ readonly inverse: "how one comes to be";
1889
+ };
1890
+ readonly connects: {
1891
+ readonly to: readonly ["edge"];
1892
+ readonly description: "the relation it makes";
1893
+ readonly inverse: "the acts that make it";
1894
+ };
1895
+ readonly severs: {
1896
+ readonly to: readonly ["edge"];
1897
+ readonly description: "the relation it breaks";
1898
+ readonly inverse: "the acts that break it";
1899
+ };
1900
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
1901
+ label: z.ZodString;
1902
+ title: z.ZodOptional<z.ZodString>;
1903
+ description: z.ZodOptional<z.ZodString>;
1904
+ judgesPast: z.ZodBoolean;
1905
+ wholeGraph: z.ZodBoolean;
1906
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1907
+ }, z.core.$strip>, {
1908
+ readonly over: {
1909
+ readonly to: readonly ["kind"];
1910
+ readonly description: "the kind it judges";
1911
+ readonly inverse: "the rules over it";
1912
+ };
1913
+ readonly repairs: {
1914
+ readonly to: readonly ["act"];
1915
+ readonly description: "the acts that put it right";
1916
+ readonly inverse: "the rules it repairs";
1917
+ };
1918
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
1919
+ label: z.ZodString;
1920
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
1921
+ label: z.ZodString;
1922
+ describe: z.ZodOptional<z.ZodString>;
1923
+ self: z.ZodBoolean;
1924
+ everyone: z.ZodBoolean;
1925
+ allActs: z.ZodBoolean;
1926
+ allKinds: z.ZodBoolean;
1927
+ }, z.core.$strip>, {
1928
+ readonly lets: {
1929
+ readonly to: readonly ["role"];
1930
+ readonly description: "the roles it lets";
1931
+ readonly inverse: "what they are let do";
1932
+ };
1933
+ readonly may: {
1934
+ readonly to: readonly ["act"];
1935
+ readonly description: "the acts it allows";
1936
+ readonly inverse: "who may take it";
1937
+ };
1938
+ readonly "allows-on": {
1939
+ readonly to: readonly ["kind"];
1940
+ readonly description: "the kinds it allows those acts on";
1941
+ readonly inverse: "who may act on it";
1942
+ };
1943
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
1944
+ label: z.ZodString;
1945
+ binds: z.ZodOptional<z.ZodEnum<{
1946
+ fields: "fields";
1947
+ entities: "entities";
1948
+ }>>;
1949
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
1950
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
1951
+ label: z.ZodString;
1952
+ body: z.ZodOptional<z.ZodString>;
1953
+ display: z.ZodOptional<z.ZodString>;
1954
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
1955
+ export declare const forgetRepair: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
1956
+ label: z.ZodString;
1957
+ plural: z.ZodOptional<z.ZodString>;
1958
+ noun: z.ZodOptional<z.ZodString>;
1959
+ description: z.ZodOptional<z.ZodString>;
1960
+ lifecycleField: z.ZodOptional<z.ZodString>;
1961
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
1962
+ figure: z.ZodOptional<z.ZodString>;
1963
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
1964
+ label: z.ZodString;
1965
+ type: z.ZodEnum<{
1966
+ string: "string";
1967
+ number: "number";
1968
+ boolean: "boolean";
1969
+ text: "text";
1970
+ date: "date";
1971
+ enum: "enum";
1972
+ list: "list";
1973
+ }>;
1974
+ required: z.ZodBoolean;
1975
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1976
+ description: z.ZodOptional<z.ZodString>;
1977
+ }, z.core.$strip>, {
1978
+ readonly of: {
1979
+ readonly to: readonly ["kind"];
1980
+ readonly cardinality: "one";
1981
+ readonly description: "the kind it belongs to";
1982
+ readonly inverse: "its fields";
1983
+ };
1984
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
1985
+ label: z.ZodString;
1986
+ description: z.ZodOptional<z.ZodString>;
1987
+ inverse: z.ZodOptional<z.ZodString>;
1988
+ cardinality: z.ZodEnum<{
1989
+ one: "one";
1990
+ many: "many";
1991
+ }>;
1992
+ appendOnly: z.ZodBoolean;
1993
+ toAny: z.ZodBoolean;
1994
+ }, z.core.$strip>, {
1995
+ readonly "from-kind": {
1996
+ readonly to: readonly ["kind"];
1997
+ readonly cardinality: "one";
1998
+ readonly description: "the kind it is declared on";
1999
+ readonly inverse: "its edges";
2000
+ };
2001
+ readonly "to-kind": {
2002
+ readonly to: readonly ["kind"];
2003
+ readonly description: "the kinds it may reach";
2004
+ readonly inverse: "the edges that reach it";
2005
+ };
2006
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
2007
+ label: z.ZodString;
2008
+ title: z.ZodOptional<z.ZodString>;
2009
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
2010
+ description: z.ZodOptional<z.ZodString>;
2011
+ destructive: z.ZodBoolean;
2012
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2013
+ subjectArg: z.ZodOptional<z.ZodString>;
2014
+ targetArg: z.ZodOptional<z.ZodString>;
2015
+ onAny: z.ZodBoolean;
2016
+ derived: z.ZodBoolean;
2017
+ }, z.core.$strip>, {
2018
+ readonly on: {
2019
+ readonly to: readonly ["kind"];
2020
+ readonly description: "the kinds it acts on";
2021
+ readonly inverse: "the acts on it";
2022
+ };
2023
+ readonly creates: {
2024
+ readonly to: readonly ["kind"];
2025
+ readonly description: "the kind it brings into being";
2026
+ readonly inverse: "how one comes to be";
2027
+ };
2028
+ readonly connects: {
2029
+ readonly to: readonly ["edge"];
2030
+ readonly description: "the relation it makes";
2031
+ readonly inverse: "the acts that make it";
2032
+ };
2033
+ readonly severs: {
2034
+ readonly to: readonly ["edge"];
2035
+ readonly description: "the relation it breaks";
2036
+ readonly inverse: "the acts that break it";
2037
+ };
2038
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
2039
+ label: z.ZodString;
2040
+ title: z.ZodOptional<z.ZodString>;
2041
+ description: z.ZodOptional<z.ZodString>;
2042
+ judgesPast: z.ZodBoolean;
2043
+ wholeGraph: z.ZodBoolean;
2044
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
2045
+ }, z.core.$strip>, {
2046
+ readonly over: {
2047
+ readonly to: readonly ["kind"];
2048
+ readonly description: "the kind it judges";
2049
+ readonly inverse: "the rules over it";
2050
+ };
2051
+ readonly repairs: {
2052
+ readonly to: readonly ["act"];
2053
+ readonly description: "the acts that put it right";
2054
+ readonly inverse: "the rules it repairs";
2055
+ };
2056
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
2057
+ label: z.ZodString;
2058
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
2059
+ label: z.ZodString;
2060
+ describe: z.ZodOptional<z.ZodString>;
2061
+ self: z.ZodBoolean;
2062
+ everyone: z.ZodBoolean;
2063
+ allActs: z.ZodBoolean;
2064
+ allKinds: z.ZodBoolean;
2065
+ }, z.core.$strip>, {
2066
+ readonly lets: {
2067
+ readonly to: readonly ["role"];
2068
+ readonly description: "the roles it lets";
2069
+ readonly inverse: "what they are let do";
2070
+ };
2071
+ readonly may: {
2072
+ readonly to: readonly ["act"];
2073
+ readonly description: "the acts it allows";
2074
+ readonly inverse: "who may take it";
2075
+ };
2076
+ readonly "allows-on": {
2077
+ readonly to: readonly ["kind"];
2078
+ readonly description: "the kinds it allows those acts on";
2079
+ readonly inverse: "who may act on it";
2080
+ };
2081
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
2082
+ label: z.ZodString;
2083
+ binds: z.ZodOptional<z.ZodEnum<{
2084
+ fields: "fields";
2085
+ entities: "entities";
2086
+ }>>;
2087
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
2088
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
2089
+ label: z.ZodString;
2090
+ body: z.ZodOptional<z.ZodString>;
2091
+ display: z.ZodOptional<z.ZodString>;
2092
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
2093
+ export declare const setFigure: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
2094
+ label: z.ZodString;
2095
+ plural: z.ZodOptional<z.ZodString>;
2096
+ noun: z.ZodOptional<z.ZodString>;
2097
+ description: z.ZodOptional<z.ZodString>;
2098
+ lifecycleField: z.ZodOptional<z.ZodString>;
2099
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2100
+ figure: z.ZodOptional<z.ZodString>;
2101
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
2102
+ label: z.ZodString;
2103
+ type: z.ZodEnum<{
2104
+ string: "string";
2105
+ number: "number";
2106
+ boolean: "boolean";
2107
+ text: "text";
2108
+ date: "date";
2109
+ enum: "enum";
2110
+ list: "list";
2111
+ }>;
2112
+ required: z.ZodBoolean;
2113
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
2114
+ description: z.ZodOptional<z.ZodString>;
2115
+ }, z.core.$strip>, {
2116
+ readonly of: {
2117
+ readonly to: readonly ["kind"];
2118
+ readonly cardinality: "one";
2119
+ readonly description: "the kind it belongs to";
2120
+ readonly inverse: "its fields";
2121
+ };
2122
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
2123
+ label: z.ZodString;
2124
+ description: z.ZodOptional<z.ZodString>;
2125
+ inverse: z.ZodOptional<z.ZodString>;
2126
+ cardinality: z.ZodEnum<{
2127
+ one: "one";
2128
+ many: "many";
2129
+ }>;
2130
+ appendOnly: z.ZodBoolean;
2131
+ toAny: z.ZodBoolean;
2132
+ }, z.core.$strip>, {
2133
+ readonly "from-kind": {
2134
+ readonly to: readonly ["kind"];
2135
+ readonly cardinality: "one";
2136
+ readonly description: "the kind it is declared on";
2137
+ readonly inverse: "its edges";
2138
+ };
2139
+ readonly "to-kind": {
2140
+ readonly to: readonly ["kind"];
2141
+ readonly description: "the kinds it may reach";
2142
+ readonly inverse: "the edges that reach it";
2143
+ };
2144
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
2145
+ label: z.ZodString;
2146
+ title: z.ZodOptional<z.ZodString>;
2147
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
2148
+ description: z.ZodOptional<z.ZodString>;
2149
+ destructive: z.ZodBoolean;
2150
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2151
+ subjectArg: z.ZodOptional<z.ZodString>;
2152
+ targetArg: z.ZodOptional<z.ZodString>;
2153
+ onAny: z.ZodBoolean;
2154
+ derived: z.ZodBoolean;
2155
+ }, z.core.$strip>, {
2156
+ readonly on: {
2157
+ readonly to: readonly ["kind"];
2158
+ readonly description: "the kinds it acts on";
2159
+ readonly inverse: "the acts on it";
2160
+ };
2161
+ readonly creates: {
2162
+ readonly to: readonly ["kind"];
2163
+ readonly description: "the kind it brings into being";
2164
+ readonly inverse: "how one comes to be";
2165
+ };
2166
+ readonly connects: {
2167
+ readonly to: readonly ["edge"];
2168
+ readonly description: "the relation it makes";
2169
+ readonly inverse: "the acts that make it";
2170
+ };
2171
+ readonly severs: {
2172
+ readonly to: readonly ["edge"];
2173
+ readonly description: "the relation it breaks";
2174
+ readonly inverse: "the acts that break it";
2175
+ };
2176
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
2177
+ label: z.ZodString;
2178
+ title: z.ZodOptional<z.ZodString>;
2179
+ description: z.ZodOptional<z.ZodString>;
2180
+ judgesPast: z.ZodBoolean;
2181
+ wholeGraph: z.ZodBoolean;
2182
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
2183
+ }, z.core.$strip>, {
2184
+ readonly over: {
2185
+ readonly to: readonly ["kind"];
2186
+ readonly description: "the kind it judges";
2187
+ readonly inverse: "the rules over it";
2188
+ };
2189
+ readonly repairs: {
2190
+ readonly to: readonly ["act"];
2191
+ readonly description: "the acts that put it right";
2192
+ readonly inverse: "the rules it repairs";
2193
+ };
2194
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
2195
+ label: z.ZodString;
2196
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
2197
+ label: z.ZodString;
2198
+ describe: z.ZodOptional<z.ZodString>;
2199
+ self: z.ZodBoolean;
2200
+ everyone: z.ZodBoolean;
2201
+ allActs: z.ZodBoolean;
2202
+ allKinds: z.ZodBoolean;
2203
+ }, z.core.$strip>, {
2204
+ readonly lets: {
2205
+ readonly to: readonly ["role"];
2206
+ readonly description: "the roles it lets";
2207
+ readonly inverse: "what they are let do";
2208
+ };
2209
+ readonly may: {
2210
+ readonly to: readonly ["act"];
2211
+ readonly description: "the acts it allows";
2212
+ readonly inverse: "who may take it";
2213
+ };
2214
+ readonly "allows-on": {
2215
+ readonly to: readonly ["kind"];
2216
+ readonly description: "the kinds it allows those acts on";
2217
+ readonly inverse: "who may act on it";
2218
+ };
2219
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
2220
+ label: z.ZodString;
2221
+ binds: z.ZodOptional<z.ZodEnum<{
2222
+ fields: "fields";
2223
+ entities: "entities";
2224
+ }>>;
2225
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
2226
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
2227
+ label: z.ZodString;
2228
+ body: z.ZodOptional<z.ZodString>;
2229
+ display: z.ZodOptional<z.ZodString>;
2230
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
2231
+ export declare const addRole: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
2232
+ label: z.ZodString;
2233
+ plural: z.ZodOptional<z.ZodString>;
2234
+ noun: z.ZodOptional<z.ZodString>;
2235
+ description: z.ZodOptional<z.ZodString>;
2236
+ lifecycleField: z.ZodOptional<z.ZodString>;
2237
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2238
+ figure: z.ZodOptional<z.ZodString>;
2239
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
2240
+ label: z.ZodString;
2241
+ type: z.ZodEnum<{
2242
+ string: "string";
2243
+ number: "number";
2244
+ boolean: "boolean";
2245
+ text: "text";
2246
+ date: "date";
2247
+ enum: "enum";
2248
+ list: "list";
2249
+ }>;
2250
+ required: z.ZodBoolean;
2251
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
2252
+ description: z.ZodOptional<z.ZodString>;
2253
+ }, z.core.$strip>, {
2254
+ readonly of: {
2255
+ readonly to: readonly ["kind"];
2256
+ readonly cardinality: "one";
2257
+ readonly description: "the kind it belongs to";
2258
+ readonly inverse: "its fields";
2259
+ };
2260
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
2261
+ label: z.ZodString;
2262
+ description: z.ZodOptional<z.ZodString>;
2263
+ inverse: z.ZodOptional<z.ZodString>;
2264
+ cardinality: z.ZodEnum<{
2265
+ one: "one";
2266
+ many: "many";
2267
+ }>;
2268
+ appendOnly: z.ZodBoolean;
2269
+ toAny: z.ZodBoolean;
2270
+ }, z.core.$strip>, {
2271
+ readonly "from-kind": {
2272
+ readonly to: readonly ["kind"];
2273
+ readonly cardinality: "one";
2274
+ readonly description: "the kind it is declared on";
2275
+ readonly inverse: "its edges";
2276
+ };
2277
+ readonly "to-kind": {
2278
+ readonly to: readonly ["kind"];
2279
+ readonly description: "the kinds it may reach";
2280
+ readonly inverse: "the edges that reach it";
2281
+ };
2282
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
2283
+ label: z.ZodString;
2284
+ title: z.ZodOptional<z.ZodString>;
2285
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
2286
+ description: z.ZodOptional<z.ZodString>;
2287
+ destructive: z.ZodBoolean;
2288
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2289
+ subjectArg: z.ZodOptional<z.ZodString>;
2290
+ targetArg: z.ZodOptional<z.ZodString>;
2291
+ onAny: z.ZodBoolean;
2292
+ derived: z.ZodBoolean;
2293
+ }, z.core.$strip>, {
2294
+ readonly on: {
2295
+ readonly to: readonly ["kind"];
2296
+ readonly description: "the kinds it acts on";
2297
+ readonly inverse: "the acts on it";
2298
+ };
2299
+ readonly creates: {
2300
+ readonly to: readonly ["kind"];
2301
+ readonly description: "the kind it brings into being";
2302
+ readonly inverse: "how one comes to be";
2303
+ };
2304
+ readonly connects: {
2305
+ readonly to: readonly ["edge"];
2306
+ readonly description: "the relation it makes";
2307
+ readonly inverse: "the acts that make it";
2308
+ };
2309
+ readonly severs: {
2310
+ readonly to: readonly ["edge"];
2311
+ readonly description: "the relation it breaks";
2312
+ readonly inverse: "the acts that break it";
2313
+ };
2314
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
2315
+ label: z.ZodString;
2316
+ title: z.ZodOptional<z.ZodString>;
2317
+ description: z.ZodOptional<z.ZodString>;
2318
+ judgesPast: z.ZodBoolean;
2319
+ wholeGraph: z.ZodBoolean;
2320
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
2321
+ }, z.core.$strip>, {
2322
+ readonly over: {
2323
+ readonly to: readonly ["kind"];
2324
+ readonly description: "the kind it judges";
2325
+ readonly inverse: "the rules over it";
2326
+ };
2327
+ readonly repairs: {
2328
+ readonly to: readonly ["act"];
2329
+ readonly description: "the acts that put it right";
2330
+ readonly inverse: "the rules it repairs";
2331
+ };
2332
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
2333
+ label: z.ZodString;
2334
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
2335
+ label: z.ZodString;
2336
+ describe: z.ZodOptional<z.ZodString>;
2337
+ self: z.ZodBoolean;
2338
+ everyone: z.ZodBoolean;
2339
+ allActs: z.ZodBoolean;
2340
+ allKinds: z.ZodBoolean;
2341
+ }, z.core.$strip>, {
2342
+ readonly lets: {
2343
+ readonly to: readonly ["role"];
2344
+ readonly description: "the roles it lets";
2345
+ readonly inverse: "what they are let do";
2346
+ };
2347
+ readonly may: {
2348
+ readonly to: readonly ["act"];
2349
+ readonly description: "the acts it allows";
2350
+ readonly inverse: "who may take it";
2351
+ };
2352
+ readonly "allows-on": {
2353
+ readonly to: readonly ["kind"];
2354
+ readonly description: "the kinds it allows those acts on";
2355
+ readonly inverse: "who may act on it";
2356
+ };
2357
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
2358
+ label: z.ZodString;
2359
+ binds: z.ZodOptional<z.ZodEnum<{
2360
+ fields: "fields";
2361
+ entities: "entities";
2362
+ }>>;
2363
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
2364
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
2365
+ label: z.ZodString;
2366
+ body: z.ZodOptional<z.ZodString>;
2367
+ display: z.ZodOptional<z.ZodString>;
2368
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
2369
+ export declare const grant: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
2370
+ label: z.ZodString;
2371
+ plural: z.ZodOptional<z.ZodString>;
2372
+ noun: z.ZodOptional<z.ZodString>;
2373
+ description: z.ZodOptional<z.ZodString>;
2374
+ lifecycleField: z.ZodOptional<z.ZodString>;
2375
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2376
+ figure: z.ZodOptional<z.ZodString>;
2377
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
2378
+ label: z.ZodString;
2379
+ type: z.ZodEnum<{
2380
+ string: "string";
2381
+ number: "number";
2382
+ boolean: "boolean";
2383
+ text: "text";
2384
+ date: "date";
2385
+ enum: "enum";
2386
+ list: "list";
2387
+ }>;
2388
+ required: z.ZodBoolean;
2389
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
2390
+ description: z.ZodOptional<z.ZodString>;
2391
+ }, z.core.$strip>, {
2392
+ readonly of: {
2393
+ readonly to: readonly ["kind"];
2394
+ readonly cardinality: "one";
2395
+ readonly description: "the kind it belongs to";
2396
+ readonly inverse: "its fields";
2397
+ };
2398
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
2399
+ label: z.ZodString;
2400
+ description: z.ZodOptional<z.ZodString>;
2401
+ inverse: z.ZodOptional<z.ZodString>;
2402
+ cardinality: z.ZodEnum<{
2403
+ one: "one";
2404
+ many: "many";
2405
+ }>;
2406
+ appendOnly: z.ZodBoolean;
2407
+ toAny: z.ZodBoolean;
2408
+ }, z.core.$strip>, {
2409
+ readonly "from-kind": {
2410
+ readonly to: readonly ["kind"];
2411
+ readonly cardinality: "one";
2412
+ readonly description: "the kind it is declared on";
2413
+ readonly inverse: "its edges";
2414
+ };
2415
+ readonly "to-kind": {
2416
+ readonly to: readonly ["kind"];
2417
+ readonly description: "the kinds it may reach";
2418
+ readonly inverse: "the edges that reach it";
2419
+ };
2420
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
2421
+ label: z.ZodString;
2422
+ title: z.ZodOptional<z.ZodString>;
2423
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
2424
+ description: z.ZodOptional<z.ZodString>;
2425
+ destructive: z.ZodBoolean;
2426
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2427
+ subjectArg: z.ZodOptional<z.ZodString>;
2428
+ targetArg: z.ZodOptional<z.ZodString>;
2429
+ onAny: z.ZodBoolean;
2430
+ derived: z.ZodBoolean;
2431
+ }, z.core.$strip>, {
2432
+ readonly on: {
2433
+ readonly to: readonly ["kind"];
2434
+ readonly description: "the kinds it acts on";
2435
+ readonly inverse: "the acts on it";
2436
+ };
2437
+ readonly creates: {
2438
+ readonly to: readonly ["kind"];
2439
+ readonly description: "the kind it brings into being";
2440
+ readonly inverse: "how one comes to be";
2441
+ };
2442
+ readonly connects: {
2443
+ readonly to: readonly ["edge"];
2444
+ readonly description: "the relation it makes";
2445
+ readonly inverse: "the acts that make it";
2446
+ };
2447
+ readonly severs: {
2448
+ readonly to: readonly ["edge"];
2449
+ readonly description: "the relation it breaks";
2450
+ readonly inverse: "the acts that break it";
2451
+ };
2452
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
2453
+ label: z.ZodString;
2454
+ title: z.ZodOptional<z.ZodString>;
2455
+ description: z.ZodOptional<z.ZodString>;
2456
+ judgesPast: z.ZodBoolean;
2457
+ wholeGraph: z.ZodBoolean;
2458
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
2459
+ }, z.core.$strip>, {
2460
+ readonly over: {
2461
+ readonly to: readonly ["kind"];
2462
+ readonly description: "the kind it judges";
2463
+ readonly inverse: "the rules over it";
2464
+ };
2465
+ readonly repairs: {
2466
+ readonly to: readonly ["act"];
2467
+ readonly description: "the acts that put it right";
2468
+ readonly inverse: "the rules it repairs";
2469
+ };
2470
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
2471
+ label: z.ZodString;
2472
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
2473
+ label: z.ZodString;
2474
+ describe: z.ZodOptional<z.ZodString>;
2475
+ self: z.ZodBoolean;
2476
+ everyone: z.ZodBoolean;
2477
+ allActs: z.ZodBoolean;
2478
+ allKinds: z.ZodBoolean;
2479
+ }, z.core.$strip>, {
2480
+ readonly lets: {
2481
+ readonly to: readonly ["role"];
2482
+ readonly description: "the roles it lets";
2483
+ readonly inverse: "what they are let do";
2484
+ };
2485
+ readonly may: {
2486
+ readonly to: readonly ["act"];
2487
+ readonly description: "the acts it allows";
2488
+ readonly inverse: "who may take it";
2489
+ };
2490
+ readonly "allows-on": {
2491
+ readonly to: readonly ["kind"];
2492
+ readonly description: "the kinds it allows those acts on";
2493
+ readonly inverse: "who may act on it";
2494
+ };
2495
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
2496
+ label: z.ZodString;
2497
+ binds: z.ZodOptional<z.ZodEnum<{
2498
+ fields: "fields";
2499
+ entities: "entities";
2500
+ }>>;
2501
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
2502
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
2503
+ label: z.ZodString;
2504
+ body: z.ZodOptional<z.ZodString>;
2505
+ display: z.ZodOptional<z.ZodString>;
2506
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
2507
+ export declare const revokeGrant: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
2508
+ label: z.ZodString;
2509
+ plural: z.ZodOptional<z.ZodString>;
2510
+ noun: z.ZodOptional<z.ZodString>;
2511
+ description: z.ZodOptional<z.ZodString>;
2512
+ lifecycleField: z.ZodOptional<z.ZodString>;
2513
+ retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2514
+ figure: z.ZodOptional<z.ZodString>;
2515
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
2516
+ label: z.ZodString;
2517
+ type: z.ZodEnum<{
2518
+ string: "string";
2519
+ number: "number";
2520
+ boolean: "boolean";
2521
+ text: "text";
2522
+ date: "date";
2523
+ enum: "enum";
2524
+ list: "list";
2525
+ }>;
2526
+ required: z.ZodBoolean;
2527
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
2528
+ description: z.ZodOptional<z.ZodString>;
2529
+ }, z.core.$strip>, {
2530
+ readonly of: {
2531
+ readonly to: readonly ["kind"];
2532
+ readonly cardinality: "one";
2533
+ readonly description: "the kind it belongs to";
2534
+ readonly inverse: "its fields";
2535
+ };
2536
+ }>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
2537
+ label: z.ZodString;
2538
+ description: z.ZodOptional<z.ZodString>;
2539
+ inverse: z.ZodOptional<z.ZodString>;
2540
+ cardinality: z.ZodEnum<{
2541
+ one: "one";
2542
+ many: "many";
2543
+ }>;
2544
+ appendOnly: z.ZodBoolean;
2545
+ toAny: z.ZodBoolean;
2546
+ }, z.core.$strip>, {
2547
+ readonly "from-kind": {
2548
+ readonly to: readonly ["kind"];
2549
+ readonly cardinality: "one";
2550
+ readonly description: "the kind it is declared on";
2551
+ readonly inverse: "its edges";
2552
+ };
2553
+ readonly "to-kind": {
2554
+ readonly to: readonly ["kind"];
2555
+ readonly description: "the kinds it may reach";
2556
+ readonly inverse: "the edges that reach it";
2557
+ };
2558
+ }>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
2559
+ label: z.ZodString;
2560
+ title: z.ZodOptional<z.ZodString>;
2561
+ fromTheOtherEnd: z.ZodOptional<z.ZodString>;
2562
+ description: z.ZodOptional<z.ZodString>;
2563
+ destructive: z.ZodBoolean;
2564
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2565
+ subjectArg: z.ZodOptional<z.ZodString>;
2566
+ targetArg: z.ZodOptional<z.ZodString>;
2567
+ onAny: z.ZodBoolean;
2568
+ derived: z.ZodBoolean;
2569
+ }, z.core.$strip>, {
2570
+ readonly on: {
2571
+ readonly to: readonly ["kind"];
2572
+ readonly description: "the kinds it acts on";
2573
+ readonly inverse: "the acts on it";
2574
+ };
2575
+ readonly creates: {
2576
+ readonly to: readonly ["kind"];
2577
+ readonly description: "the kind it brings into being";
2578
+ readonly inverse: "how one comes to be";
2579
+ };
2580
+ readonly connects: {
2581
+ readonly to: readonly ["edge"];
2582
+ readonly description: "the relation it makes";
2583
+ readonly inverse: "the acts that make it";
2584
+ };
2585
+ readonly severs: {
2586
+ readonly to: readonly ["edge"];
2587
+ readonly description: "the relation it breaks";
2588
+ readonly inverse: "the acts that break it";
2589
+ };
2590
+ }>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
2591
+ label: z.ZodString;
2592
+ title: z.ZodOptional<z.ZodString>;
2593
+ description: z.ZodOptional<z.ZodString>;
2594
+ judgesPast: z.ZodBoolean;
2595
+ wholeGraph: z.ZodBoolean;
2596
+ derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
2597
+ }, z.core.$strip>, {
2598
+ readonly over: {
2599
+ readonly to: readonly ["kind"];
2600
+ readonly description: "the kind it judges";
2601
+ readonly inverse: "the rules over it";
2602
+ };
2603
+ readonly repairs: {
2604
+ readonly to: readonly ["act"];
2605
+ readonly description: "the acts that put it right";
2606
+ readonly inverse: "the rules it repairs";
2607
+ };
2608
+ }>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
2609
+ label: z.ZodString;
2610
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
2611
+ label: z.ZodString;
2612
+ describe: z.ZodOptional<z.ZodString>;
2613
+ self: z.ZodBoolean;
2614
+ everyone: z.ZodBoolean;
2615
+ allActs: z.ZodBoolean;
2616
+ allKinds: z.ZodBoolean;
2617
+ }, z.core.$strip>, {
2618
+ readonly lets: {
2619
+ readonly to: readonly ["role"];
2620
+ readonly description: "the roles it lets";
2621
+ readonly inverse: "what they are let do";
2622
+ };
2623
+ readonly may: {
2624
+ readonly to: readonly ["act"];
2625
+ readonly description: "the acts it allows";
2626
+ readonly inverse: "who may take it";
2627
+ };
2628
+ readonly "allows-on": {
2629
+ readonly to: readonly ["kind"];
2630
+ readonly description: "the kinds it allows those acts on";
2631
+ readonly inverse: "who may act on it";
2632
+ };
2633
+ }>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
2634
+ label: z.ZodString;
2635
+ binds: z.ZodOptional<z.ZodEnum<{
2636
+ fields: "fields";
2637
+ entities: "entities";
2638
+ }>>;
2639
+ requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
2640
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
2641
+ label: z.ZodString;
2642
+ body: z.ZodOptional<z.ZodString>;
2643
+ display: z.ZodOptional<z.ZodString>;
2644
+ }, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
2645
+ export declare const STUDIO_MUTATIONS: readonly AnyMutationDefinition<StudioSchema>[];
2646
+ /** The studio as an app: the meta-schema, its acts, and an agent seat that may propose any of them. */
2647
+ export declare function studioApp(name?: string): GraviewApp<StudioSchema>;
2648
+ //# sourceMappingURL=meta.d.ts.map