@graview/studio 0.1.29 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/edits.d.ts.map +1 -1
- package/dist/edits.js +10 -0
- package/dist/edits.js.map +1 -1
- package/dist/from-declaration.d.ts.map +1 -1
- package/dist/from-declaration.js +1 -0
- package/dist/from-declaration.js.map +1 -1
- package/dist/meta.d.ts +224 -0
- package/dist/meta.d.ts.map +1 -1
- package/dist/meta.js +43 -1
- package/dist/meta.js.map +1 -1
- package/dist/to-declaration.d.ts.map +1 -1
- package/dist/to-declaration.js +4 -1
- package/dist/to-declaration.js.map +1 -1
- package/package.json +8 -8
package/dist/meta.d.ts
CHANGED
|
@@ -211,6 +211,7 @@ export declare const lensNode: import("@graview/core").NodeDefinition<"lens", z.
|
|
|
211
211
|
entities: "entities";
|
|
212
212
|
}>>;
|
|
213
213
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
214
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
214
215
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>;
|
|
215
216
|
export declare const brandNode: import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
216
217
|
label: z.ZodString;
|
|
@@ -400,6 +401,7 @@ export declare const STUDIO_SCHEMA: import("@graview/core").Schema<readonly [imp
|
|
|
400
401
|
entities: "entities";
|
|
401
402
|
}>>;
|
|
402
403
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
404
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
403
405
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
404
406
|
label: z.ZodString;
|
|
405
407
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -589,6 +591,7 @@ export declare const addKind: AnyMutationDefinition<import("@graview/core").Sche
|
|
|
589
591
|
entities: "entities";
|
|
590
592
|
}>>;
|
|
591
593
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
594
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
592
595
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
593
596
|
label: z.ZodString;
|
|
594
597
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -777,6 +780,7 @@ export declare const renameKind: AnyMutationDefinition<import("@graview/core").S
|
|
|
777
780
|
entities: "entities";
|
|
778
781
|
}>>;
|
|
779
782
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
783
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
780
784
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
781
785
|
label: z.ZodString;
|
|
782
786
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -965,6 +969,7 @@ export declare const removeKind: AnyMutationDefinition<import("@graview/core").S
|
|
|
965
969
|
entities: "entities";
|
|
966
970
|
}>>;
|
|
967
971
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
972
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
968
973
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
969
974
|
label: z.ZodString;
|
|
970
975
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -1153,6 +1158,7 @@ export declare const addField: AnyMutationDefinition<import("@graview/core").Sch
|
|
|
1153
1158
|
entities: "entities";
|
|
1154
1159
|
}>>;
|
|
1155
1160
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1161
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1156
1162
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
1157
1163
|
label: z.ZodString;
|
|
1158
1164
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -1341,6 +1347,7 @@ export declare const renameField: AnyMutationDefinition<import("@graview/core").
|
|
|
1341
1347
|
entities: "entities";
|
|
1342
1348
|
}>>;
|
|
1343
1349
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1350
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1344
1351
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
1345
1352
|
label: z.ZodString;
|
|
1346
1353
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -1529,6 +1536,7 @@ export declare const removeField: AnyMutationDefinition<import("@graview/core").
|
|
|
1529
1536
|
entities: "entities";
|
|
1530
1537
|
}>>;
|
|
1531
1538
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1539
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1532
1540
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
1533
1541
|
label: z.ZodString;
|
|
1534
1542
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -1717,6 +1725,7 @@ export declare const retypeField: AnyMutationDefinition<import("@graview/core").
|
|
|
1717
1725
|
entities: "entities";
|
|
1718
1726
|
}>>;
|
|
1719
1727
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1728
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1720
1729
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
1721
1730
|
label: z.ZodString;
|
|
1722
1731
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -1905,6 +1914,7 @@ export declare const setRequired: AnyMutationDefinition<import("@graview/core").
|
|
|
1905
1914
|
entities: "entities";
|
|
1906
1915
|
}>>;
|
|
1907
1916
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1917
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1908
1918
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
1909
1919
|
label: z.ZodString;
|
|
1910
1920
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -2093,6 +2103,7 @@ export declare const setRepeats: AnyMutationDefinition<import("@graview/core").S
|
|
|
2093
2103
|
entities: "entities";
|
|
2094
2104
|
}>>;
|
|
2095
2105
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2106
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2096
2107
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
2097
2108
|
label: z.ZodString;
|
|
2098
2109
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -2281,6 +2292,7 @@ export declare const setOptions: AnyMutationDefinition<import("@graview/core").S
|
|
|
2281
2292
|
entities: "entities";
|
|
2282
2293
|
}>>;
|
|
2283
2294
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2295
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2284
2296
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
2285
2297
|
label: z.ZodString;
|
|
2286
2298
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -2469,6 +2481,7 @@ export declare const describeField: AnyMutationDefinition<import("@graview/core"
|
|
|
2469
2481
|
entities: "entities";
|
|
2470
2482
|
}>>;
|
|
2471
2483
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2484
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2472
2485
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
2473
2486
|
label: z.ZodString;
|
|
2474
2487
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -2657,6 +2670,7 @@ export declare const addEdge: AnyMutationDefinition<import("@graview/core").Sche
|
|
|
2657
2670
|
entities: "entities";
|
|
2658
2671
|
}>>;
|
|
2659
2672
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2673
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2660
2674
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
2661
2675
|
label: z.ZodString;
|
|
2662
2676
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -2845,6 +2859,7 @@ export declare const removeEdge: AnyMutationDefinition<import("@graview/core").S
|
|
|
2845
2859
|
entities: "entities";
|
|
2846
2860
|
}>>;
|
|
2847
2861
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2862
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2848
2863
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
2849
2864
|
label: z.ZodString;
|
|
2850
2865
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -3033,6 +3048,7 @@ export declare const addAct: AnyMutationDefinition<import("@graview/core").Schem
|
|
|
3033
3048
|
entities: "entities";
|
|
3034
3049
|
}>>;
|
|
3035
3050
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3051
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3036
3052
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
3037
3053
|
label: z.ZodString;
|
|
3038
3054
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -3221,6 +3237,7 @@ export declare const removeAct: AnyMutationDefinition<import("@graview/core").Sc
|
|
|
3221
3237
|
entities: "entities";
|
|
3222
3238
|
}>>;
|
|
3223
3239
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3240
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3224
3241
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
3225
3242
|
label: z.ZodString;
|
|
3226
3243
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -3409,6 +3426,7 @@ export declare const addRule: AnyMutationDefinition<import("@graview/core").Sche
|
|
|
3409
3426
|
entities: "entities";
|
|
3410
3427
|
}>>;
|
|
3411
3428
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3429
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3412
3430
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
3413
3431
|
label: z.ZodString;
|
|
3414
3432
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -3597,6 +3615,7 @@ export declare const removeRule: AnyMutationDefinition<import("@graview/core").S
|
|
|
3597
3615
|
entities: "entities";
|
|
3598
3616
|
}>>;
|
|
3599
3617
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3618
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3600
3619
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
3601
3620
|
label: z.ZodString;
|
|
3602
3621
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -3785,6 +3804,7 @@ export declare const nameRepair: AnyMutationDefinition<import("@graview/core").S
|
|
|
3785
3804
|
entities: "entities";
|
|
3786
3805
|
}>>;
|
|
3787
3806
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3807
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3788
3808
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
3789
3809
|
label: z.ZodString;
|
|
3790
3810
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -3973,6 +3993,7 @@ export declare const forgetRepair: AnyMutationDefinition<import("@graview/core")
|
|
|
3973
3993
|
entities: "entities";
|
|
3974
3994
|
}>>;
|
|
3975
3995
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3996
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3976
3997
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
3977
3998
|
label: z.ZodString;
|
|
3978
3999
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -4161,6 +4182,7 @@ export declare const setFigure: AnyMutationDefinition<import("@graview/core").Sc
|
|
|
4161
4182
|
entities: "entities";
|
|
4162
4183
|
}>>;
|
|
4163
4184
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4185
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4164
4186
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
4165
4187
|
label: z.ZodString;
|
|
4166
4188
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -4349,6 +4371,7 @@ export declare const addRole: AnyMutationDefinition<import("@graview/core").Sche
|
|
|
4349
4371
|
entities: "entities";
|
|
4350
4372
|
}>>;
|
|
4351
4373
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4374
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4352
4375
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
4353
4376
|
label: z.ZodString;
|
|
4354
4377
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -4537,6 +4560,7 @@ export declare const grant: AnyMutationDefinition<import("@graview/core").Schema
|
|
|
4537
4560
|
entities: "entities";
|
|
4538
4561
|
}>>;
|
|
4539
4562
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4563
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4540
4564
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
4541
4565
|
label: z.ZodString;
|
|
4542
4566
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -4725,6 +4749,7 @@ export declare const revokeGrant: AnyMutationDefinition<import("@graview/core").
|
|
|
4725
4749
|
entities: "entities";
|
|
4726
4750
|
}>>;
|
|
4727
4751
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4752
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4728
4753
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
4729
4754
|
label: z.ZodString;
|
|
4730
4755
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -4913,6 +4938,7 @@ export declare const addSight: AnyMutationDefinition<import("@graview/core").Sch
|
|
|
4913
4938
|
entities: "entities";
|
|
4914
4939
|
}>>;
|
|
4915
4940
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4941
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4916
4942
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
4917
4943
|
label: z.ZodString;
|
|
4918
4944
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -5101,6 +5127,7 @@ export declare const changeSight: AnyMutationDefinition<import("@graview/core").
|
|
|
5101
5127
|
entities: "entities";
|
|
5102
5128
|
}>>;
|
|
5103
5129
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5130
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
5104
5131
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
5105
5132
|
label: z.ZodString;
|
|
5106
5133
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -5289,6 +5316,7 @@ export declare const removeSight: AnyMutationDefinition<import("@graview/core").
|
|
|
5289
5316
|
entities: "entities";
|
|
5290
5317
|
}>>;
|
|
5291
5318
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5319
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
5292
5320
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
5293
5321
|
label: z.ZodString;
|
|
5294
5322
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -5482,6 +5510,202 @@ export declare const removeLens: AnyMutationDefinition<import("@graview/core").S
|
|
|
5482
5510
|
entities: "entities";
|
|
5483
5511
|
}>>;
|
|
5484
5512
|
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5513
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
5514
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
5515
|
+
label: z.ZodString;
|
|
5516
|
+
body: z.ZodOptional<z.ZodString>;
|
|
5517
|
+
display: z.ZodOptional<z.ZodString>;
|
|
5518
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
|
|
5519
|
+
/**
|
|
5520
|
+
* KEEP A PLACE OFF THE LISTS, or put it back: a lens with a title stays a
|
|
5521
|
+
* place at its address — a link or a view's `navigate` still reaches it —
|
|
5522
|
+
* but the bar and the page list do not offer it. Said to the document as
|
|
5523
|
+
* `set-lens-hidden`.
|
|
5524
|
+
*/
|
|
5525
|
+
export declare const setLensHidden: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
|
|
5526
|
+
label: z.ZodString;
|
|
5527
|
+
plural: z.ZodOptional<z.ZodString>;
|
|
5528
|
+
noun: z.ZodOptional<z.ZodString>;
|
|
5529
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5530
|
+
lifecycleField: z.ZodOptional<z.ZodString>;
|
|
5531
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5532
|
+
figure: z.ZodOptional<z.ZodString>;
|
|
5533
|
+
people: z.ZodOptional<z.ZodBoolean>;
|
|
5534
|
+
neverArchived: z.ZodOptional<z.ZodBoolean>;
|
|
5535
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
|
|
5536
|
+
label: z.ZodString;
|
|
5537
|
+
type: z.ZodEnum<{
|
|
5538
|
+
string: "string";
|
|
5539
|
+
number: "number";
|
|
5540
|
+
boolean: "boolean";
|
|
5541
|
+
text: "text";
|
|
5542
|
+
integer: "integer";
|
|
5543
|
+
date: "date";
|
|
5544
|
+
datetime: "datetime";
|
|
5545
|
+
enum: "enum";
|
|
5546
|
+
list: "list";
|
|
5547
|
+
url: "url";
|
|
5548
|
+
email: "email";
|
|
5549
|
+
image: "image";
|
|
5550
|
+
file: "file";
|
|
5551
|
+
"app-link": "app-link";
|
|
5552
|
+
phone: "phone";
|
|
5553
|
+
place: "place";
|
|
5554
|
+
duration: "duration";
|
|
5555
|
+
}>;
|
|
5556
|
+
required: z.ZodBoolean;
|
|
5557
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5558
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5559
|
+
repeats: z.ZodOptional<z.ZodBoolean>;
|
|
5560
|
+
markdown: z.ZodOptional<z.ZodBoolean>;
|
|
5561
|
+
}, z.core.$strip>, {
|
|
5562
|
+
readonly of: {
|
|
5563
|
+
readonly to: readonly ["kind"];
|
|
5564
|
+
readonly cardinality: "one";
|
|
5565
|
+
readonly description: "the kind it belongs to";
|
|
5566
|
+
readonly inverse: "its fields";
|
|
5567
|
+
};
|
|
5568
|
+
}>, import("@graview/core").NodeDefinition<"computed", z.ZodObject<{
|
|
5569
|
+
label: z.ZodString;
|
|
5570
|
+
expr: z.ZodString;
|
|
5571
|
+
shownAs: z.ZodOptional<z.ZodString>;
|
|
5572
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5573
|
+
}, z.core.$strip>, {
|
|
5574
|
+
readonly "computed-on": {
|
|
5575
|
+
readonly to: readonly ["kind"];
|
|
5576
|
+
readonly cardinality: "one";
|
|
5577
|
+
readonly description: "the kind that works it out";
|
|
5578
|
+
readonly inverse: "what it works out";
|
|
5579
|
+
};
|
|
5580
|
+
}>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
|
|
5581
|
+
label: z.ZodString;
|
|
5582
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5583
|
+
inverse: z.ZodOptional<z.ZodString>;
|
|
5584
|
+
cardinality: z.ZodEnum<{
|
|
5585
|
+
one: "one";
|
|
5586
|
+
many: "many";
|
|
5587
|
+
}>;
|
|
5588
|
+
appendOnly: z.ZodBoolean;
|
|
5589
|
+
toAny: z.ZodBoolean;
|
|
5590
|
+
}, z.core.$strip>, {
|
|
5591
|
+
readonly "from-kind": {
|
|
5592
|
+
readonly to: readonly ["kind"];
|
|
5593
|
+
readonly cardinality: "one";
|
|
5594
|
+
readonly description: "the kind it is declared on";
|
|
5595
|
+
readonly inverse: "its edges";
|
|
5596
|
+
};
|
|
5597
|
+
readonly "to-kind": {
|
|
5598
|
+
readonly to: readonly ["kind"];
|
|
5599
|
+
readonly description: "the kinds it may reach";
|
|
5600
|
+
readonly inverse: "the edges that reach it";
|
|
5601
|
+
};
|
|
5602
|
+
}>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
|
|
5603
|
+
label: z.ZodString;
|
|
5604
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5605
|
+
fromTheOtherEnd: z.ZodOptional<z.ZodString>;
|
|
5606
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5607
|
+
destructive: z.ZodBoolean;
|
|
5608
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5609
|
+
subjectArg: z.ZodOptional<z.ZodString>;
|
|
5610
|
+
targetArg: z.ZodOptional<z.ZodString>;
|
|
5611
|
+
onAny: z.ZodBoolean;
|
|
5612
|
+
derived: z.ZodBoolean;
|
|
5613
|
+
}, z.core.$strip>, {
|
|
5614
|
+
readonly on: {
|
|
5615
|
+
readonly to: readonly ["kind"];
|
|
5616
|
+
readonly description: "the kinds it acts on";
|
|
5617
|
+
readonly inverse: "the acts on it";
|
|
5618
|
+
};
|
|
5619
|
+
readonly creates: {
|
|
5620
|
+
readonly to: readonly ["kind"];
|
|
5621
|
+
readonly description: "the kind it brings into being";
|
|
5622
|
+
readonly inverse: "how one comes to be";
|
|
5623
|
+
};
|
|
5624
|
+
readonly connects: {
|
|
5625
|
+
readonly to: readonly ["edge"];
|
|
5626
|
+
readonly description: "the relation it makes";
|
|
5627
|
+
readonly inverse: "the acts that make it";
|
|
5628
|
+
};
|
|
5629
|
+
readonly severs: {
|
|
5630
|
+
readonly to: readonly ["edge"];
|
|
5631
|
+
readonly description: "the relation it breaks";
|
|
5632
|
+
readonly inverse: "the acts that break it";
|
|
5633
|
+
};
|
|
5634
|
+
}>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
|
|
5635
|
+
label: z.ZodString;
|
|
5636
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5637
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5638
|
+
judgesPast: z.ZodBoolean;
|
|
5639
|
+
readsTheClock: z.ZodOptional<z.ZodBoolean>;
|
|
5640
|
+
wholeGraph: z.ZodBoolean;
|
|
5641
|
+
derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5642
|
+
require: z.ZodOptional<z.ZodString>;
|
|
5643
|
+
when: z.ZodOptional<z.ZodString>;
|
|
5644
|
+
says: z.ZodOptional<z.ZodString>;
|
|
5645
|
+
}, z.core.$strip>, {
|
|
5646
|
+
readonly over: {
|
|
5647
|
+
readonly to: readonly ["kind"];
|
|
5648
|
+
readonly description: "the kind it judges";
|
|
5649
|
+
readonly inverse: "the rules over it";
|
|
5650
|
+
};
|
|
5651
|
+
readonly repairs: {
|
|
5652
|
+
readonly to: readonly ["act"];
|
|
5653
|
+
readonly description: "the acts that put it right";
|
|
5654
|
+
readonly inverse: "the rules it repairs";
|
|
5655
|
+
};
|
|
5656
|
+
}>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
|
|
5657
|
+
label: z.ZodString;
|
|
5658
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
|
|
5659
|
+
label: z.ZodString;
|
|
5660
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
5661
|
+
self: z.ZodBoolean;
|
|
5662
|
+
ownEnd: z.ZodOptional<z.ZodBoolean>;
|
|
5663
|
+
everyone: z.ZodBoolean;
|
|
5664
|
+
allActs: z.ZodBoolean;
|
|
5665
|
+
allKinds: z.ZodBoolean;
|
|
5666
|
+
}, z.core.$strip>, {
|
|
5667
|
+
readonly lets: {
|
|
5668
|
+
readonly to: readonly ["role"];
|
|
5669
|
+
readonly description: "the roles it lets";
|
|
5670
|
+
readonly inverse: "what they are let do";
|
|
5671
|
+
};
|
|
5672
|
+
readonly may: {
|
|
5673
|
+
readonly to: readonly ["act"];
|
|
5674
|
+
readonly description: "the acts it allows";
|
|
5675
|
+
readonly inverse: "who may take it";
|
|
5676
|
+
};
|
|
5677
|
+
readonly "allows-on": {
|
|
5678
|
+
readonly to: readonly ["kind"];
|
|
5679
|
+
readonly description: "the kinds it allows those acts on";
|
|
5680
|
+
readonly inverse: "who may act on it";
|
|
5681
|
+
};
|
|
5682
|
+
}>, import("@graview/core").NodeDefinition<"sight", z.ZodObject<{
|
|
5683
|
+
label: z.ZodString;
|
|
5684
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
5685
|
+
own: z.ZodBoolean;
|
|
5686
|
+
via: z.ZodOptional<z.ZodString>;
|
|
5687
|
+
everyone: z.ZodBoolean;
|
|
5688
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5689
|
+
hide: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5690
|
+
}, z.core.$strip>, {
|
|
5691
|
+
readonly "seen-by": {
|
|
5692
|
+
readonly to: readonly ["role"];
|
|
5693
|
+
readonly description: "the roles it lets see";
|
|
5694
|
+
readonly inverse: "what they see";
|
|
5695
|
+
};
|
|
5696
|
+
readonly shows: {
|
|
5697
|
+
readonly to: readonly ["kind"];
|
|
5698
|
+
readonly description: "the kinds it shows";
|
|
5699
|
+
readonly inverse: "who sees it";
|
|
5700
|
+
};
|
|
5701
|
+
}>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
|
|
5702
|
+
label: z.ZodString;
|
|
5703
|
+
binds: z.ZodOptional<z.ZodEnum<{
|
|
5704
|
+
fields: "fields";
|
|
5705
|
+
entities: "entities";
|
|
5706
|
+
}>>;
|
|
5707
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5708
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
5485
5709
|
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
5486
5710
|
label: z.ZodString;
|
|
5487
5711
|
body: z.ZodOptional<z.ZodString>;
|
package/dist/meta.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../src/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,qBAAqB,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAE/G,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,cAAc,CAAC;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;;;;;;;;;;;;;;;;;;;;;;;2DAUrB,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2DAUxB,CAAC;AAEH,eAAO,MAAM,gBAAgB,EAAE,SAAS,qBAAqB,CAAC,YAAY,CAAC,EA6B1E,CAAC;AAEF,uGAAuG;AACvG,wBAAgB,SAAS,CAAC,IAAI,SAAW,GAAG,UAAU,CAAC,YAAY,CAAC,CAOnE"}
|
package/dist/meta.js
CHANGED
|
@@ -34,6 +34,8 @@ export const FIELD_TYPES = DOCUMENT_FIELD_TYPES;
|
|
|
34
34
|
export const kindNode = defineNode("kind", {
|
|
35
35
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
36
36
|
archives: false,
|
|
37
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
38
|
+
tidying: "never",
|
|
37
39
|
description: "A kind of thing the app keeps track of.",
|
|
38
40
|
plural: "kinds",
|
|
39
41
|
fields: z.object({
|
|
@@ -68,6 +70,8 @@ export const kindNode = defineNode("kind", {
|
|
|
68
70
|
export const fieldNode = defineNode("field", {
|
|
69
71
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
70
72
|
archives: false,
|
|
73
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
74
|
+
tidying: "never",
|
|
71
75
|
description: "A field a kind carries: its name, its type, whether it must be given.",
|
|
72
76
|
plural: "fields",
|
|
73
77
|
fields: z.object({
|
|
@@ -97,6 +101,8 @@ export const fieldNode = defineNode("field", {
|
|
|
97
101
|
export const computedNode = defineNode("computed", {
|
|
98
102
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
99
103
|
archives: false,
|
|
104
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
105
|
+
tidying: "never",
|
|
100
106
|
description: "A value a kind works out from what it holds, in the rule language — read like a field, never stored or written.",
|
|
101
107
|
plural: "computed fields",
|
|
102
108
|
fields: z.object({
|
|
@@ -116,6 +122,8 @@ export const computedNode = defineNode("computed", {
|
|
|
116
122
|
export const edgeNode = defineNode("edge", {
|
|
117
123
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
118
124
|
archives: false,
|
|
125
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
126
|
+
tidying: "never",
|
|
119
127
|
description: "A relation one kind may have to another, with a reading from each end.",
|
|
120
128
|
plural: "edges",
|
|
121
129
|
fields: z.object({
|
|
@@ -137,6 +145,8 @@ export const edgeNode = defineNode("edge", {
|
|
|
137
145
|
export const actNode = defineNode("act", {
|
|
138
146
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
139
147
|
archives: false,
|
|
148
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
149
|
+
tidying: "never",
|
|
140
150
|
description: "A named change: what it is called, what it creates, connects, severs or writes, and what it acts on.",
|
|
141
151
|
plural: "acts",
|
|
142
152
|
fields: z.object({
|
|
@@ -173,6 +183,8 @@ export const actNode = defineNode("act", {
|
|
|
173
183
|
export const ruleNode = defineNode("rule", {
|
|
174
184
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
175
185
|
archives: false,
|
|
186
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
187
|
+
tidying: "never",
|
|
176
188
|
description: "An invariant the graph is held to, and the acts that put it right.",
|
|
177
189
|
plural: "rules",
|
|
178
190
|
fields: z.object({
|
|
@@ -214,6 +226,8 @@ export const ruleNode = defineNode("rule", {
|
|
|
214
226
|
export const roleNode = defineNode("role", {
|
|
215
227
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
216
228
|
archives: false,
|
|
229
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
230
|
+
tidying: "never",
|
|
217
231
|
/*
|
|
218
232
|
* A SEAT'S STANDING, and nothing else that happens to be called a role.
|
|
219
233
|
*
|
|
@@ -234,6 +248,8 @@ export const roleNode = defineNode("role", {
|
|
|
234
248
|
export const grantNode = defineNode("grant", {
|
|
235
249
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
236
250
|
archives: false,
|
|
251
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
252
|
+
tidying: "never",
|
|
237
253
|
description: "One permission: these roles may take these acts, on these kinds.",
|
|
238
254
|
plural: "grants",
|
|
239
255
|
fields: z.object({
|
|
@@ -258,6 +274,8 @@ export const grantNode = defineNode("grant", {
|
|
|
258
274
|
export const sightNode = defineNode("sight", {
|
|
259
275
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
260
276
|
archives: false,
|
|
277
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
278
|
+
tidying: "never",
|
|
261
279
|
/*
|
|
262
280
|
* WHO SEES WHAT, as a node like a grant is (FR-02). The studio carried a
|
|
263
281
|
* checkout's `sees` through untouched and had no act for one, so a sight
|
|
@@ -290,6 +308,8 @@ export const sightNode = defineNode("sight", {
|
|
|
290
308
|
export const lensNode = defineNode("lens", {
|
|
291
309
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
292
310
|
archives: false,
|
|
311
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
312
|
+
tidying: "never",
|
|
293
313
|
description: "A named way of looking at the graph, and the slots it asks an app to fill.",
|
|
294
314
|
plural: "lenses",
|
|
295
315
|
fields: z.object({
|
|
@@ -304,13 +324,17 @@ export const lensNode = defineNode("lens", {
|
|
|
304
324
|
* could ever be.
|
|
305
325
|
*/
|
|
306
326
|
requires: z.array(z.string()).optional(),
|
|
327
|
+
/** Kept off the bar's places and the page list: still reached by its address, a link or `navigate` (`set-lens-hidden`). */
|
|
328
|
+
hidden: z.boolean().optional(),
|
|
307
329
|
}),
|
|
308
330
|
label: (node) => node.label,
|
|
309
|
-
display: { labels: { label: "name", requires: "the slots it asks an app to bind" } },
|
|
331
|
+
display: { labels: { label: "name", requires: "the slots it asks an app to bind", hidden: "kept off the lists" } },
|
|
310
332
|
});
|
|
311
333
|
export const brandNode = defineNode("brand", {
|
|
312
334
|
// A part of the declaration is in the app or not: never set aside (FR-173).
|
|
313
335
|
archives: false,
|
|
336
|
+
// Nothing automated tidies a declaration: a person decides what is in the app.
|
|
337
|
+
tidying: "never",
|
|
314
338
|
description: "The installation's own name and voice.",
|
|
315
339
|
plural: "brands",
|
|
316
340
|
fields: z.object({ label, body: z.string().optional(), display: z.string().optional() }),
|
|
@@ -921,6 +945,23 @@ export const removeLens = act("remove-lens", {
|
|
|
921
945
|
ctx.removeNode(args.id);
|
|
922
946
|
},
|
|
923
947
|
});
|
|
948
|
+
/**
|
|
949
|
+
* KEEP A PLACE OFF THE LISTS, or put it back: a lens with a title stays a
|
|
950
|
+
* place at its address — a link or a view's `navigate` still reaches it —
|
|
951
|
+
* but the bar and the page list do not offer it. Said to the document as
|
|
952
|
+
* `set-lens-hidden`.
|
|
953
|
+
*/
|
|
954
|
+
export const setLensHidden = act("set-lens-hidden", {
|
|
955
|
+
title: "Keep the lens off the lists",
|
|
956
|
+
description: "Keep this lens off the bar and the page list, or list it again. It stays a place at its address, reached by a link or a view's navigate.",
|
|
957
|
+
subject: { kinds: ["lens"], arg: "id" },
|
|
958
|
+
writes: ["hidden"],
|
|
959
|
+
input: z.object({ id: nodeRef(["lens"]), hidden: z.boolean() }),
|
|
960
|
+
describe: (args, graph) => `${args.hidden ? "Keep" : "List"} the lens ${labelOf(graph, args.id)}${args.hidden ? " off the lists" : " again"}`,
|
|
961
|
+
apply(ctx, args) {
|
|
962
|
+
ctx.patchNode(args.id, { hidden: args.hidden ? true : undefined });
|
|
963
|
+
},
|
|
964
|
+
});
|
|
924
965
|
export const STUDIO_MUTATIONS = [
|
|
925
966
|
addKind,
|
|
926
967
|
renameKind,
|
|
@@ -949,6 +990,7 @@ export const STUDIO_MUTATIONS = [
|
|
|
949
990
|
changeSight,
|
|
950
991
|
removeSight,
|
|
951
992
|
removeLens,
|
|
993
|
+
setLensHidden,
|
|
952
994
|
];
|
|
953
995
|
/** The studio as an app: the meta-schema, its acts, and an agent seat that may propose any of them. */
|
|
954
996
|
export function studioApp(name = "Studio") {
|