@graview/studio 0.1.3 → 0.1.5
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 +13 -0
- package/dist/edits.d.ts.map +1 -0
- package/dist/edits.js +393 -0
- package/dist/edits.js.map +1 -0
- package/dist/from-declaration.d.ts.map +1 -1
- package/dist/from-declaration.js +12 -2
- package/dist/from-declaration.js.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lens.js +1 -1
- package/dist/lens.js.map +1 -1
- package/dist/meta.d.ts +743 -1
- package/dist/meta.d.ts.map +1 -1
- package/dist/meta.js +104 -3
- package/dist/meta.js.map +1 -1
- package/dist/place.d.ts +68 -3
- package/dist/place.d.ts.map +1 -1
- package/dist/place.js +65 -13
- package/dist/place.js.map +1 -1
- package/dist/source.d.ts.map +1 -1
- package/dist/source.js +18 -10
- package/dist/source.js.map +1 -1
- package/dist/studio.d.ts +64 -6
- package/dist/studio.d.ts.map +1 -1
- package/dist/studio.js +78 -20
- package/dist/studio.js.map +1 -1
- package/dist/to-declaration.d.ts.map +1 -1
- package/dist/to-declaration.js +20 -9
- package/dist/to-declaration.js.map +1 -1
- package/dist/uneditable.d.ts +22 -0
- package/dist/uneditable.d.ts.map +1 -0
- package/dist/uneditable.js +34 -0
- package/dist/uneditable.js.map +1 -0
- package/package.json +9 -9
package/dist/meta.d.ts
CHANGED
|
@@ -9,7 +9,13 @@ import { z } from "zod";
|
|
|
9
9
|
* that names two different things.
|
|
10
10
|
*/
|
|
11
11
|
export declare const DECLARED_KIND = "declared:";
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* A field's types: the declaration document's eleven (FR-54), so a field a
|
|
14
|
+
* document declares is read as what it is — an integer, a date and time, a
|
|
15
|
+
* link, an address, a long text — and handed back the same, never as the
|
|
16
|
+
* nearest type the studio happened to know.
|
|
17
|
+
*/
|
|
18
|
+
export declare const FIELD_TYPES: readonly ["string", "text", "number", "integer", "boolean", "date", "datetime", "enum", "list", "url", "email"];
|
|
13
19
|
export type FieldType = (typeof FIELD_TYPES)[number];
|
|
14
20
|
export declare const kindNode: import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
|
|
15
21
|
label: z.ZodString;
|
|
@@ -27,9 +33,13 @@ export declare const fieldNode: import("@graview/core").NodeDefinition<"field",
|
|
|
27
33
|
number: "number";
|
|
28
34
|
boolean: "boolean";
|
|
29
35
|
text: "text";
|
|
36
|
+
integer: "integer";
|
|
30
37
|
date: "date";
|
|
38
|
+
datetime: "datetime";
|
|
31
39
|
enum: "enum";
|
|
32
40
|
list: "list";
|
|
41
|
+
url: "url";
|
|
42
|
+
email: "email";
|
|
33
43
|
}>;
|
|
34
44
|
required: z.ZodBoolean;
|
|
35
45
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -192,9 +202,13 @@ export declare const STUDIO_SCHEMA: import("@graview/core").Schema<readonly [imp
|
|
|
192
202
|
number: "number";
|
|
193
203
|
boolean: "boolean";
|
|
194
204
|
text: "text";
|
|
205
|
+
integer: "integer";
|
|
195
206
|
date: "date";
|
|
207
|
+
datetime: "datetime";
|
|
196
208
|
enum: "enum";
|
|
197
209
|
list: "list";
|
|
210
|
+
url: "url";
|
|
211
|
+
email: "email";
|
|
198
212
|
}>;
|
|
199
213
|
required: z.ZodBoolean;
|
|
200
214
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -350,9 +364,13 @@ export declare const addKind: AnyMutationDefinition<import("@graview/core").Sche
|
|
|
350
364
|
number: "number";
|
|
351
365
|
boolean: "boolean";
|
|
352
366
|
text: "text";
|
|
367
|
+
integer: "integer";
|
|
353
368
|
date: "date";
|
|
369
|
+
datetime: "datetime";
|
|
354
370
|
enum: "enum";
|
|
355
371
|
list: "list";
|
|
372
|
+
url: "url";
|
|
373
|
+
email: "email";
|
|
356
374
|
}>;
|
|
357
375
|
required: z.ZodBoolean;
|
|
358
376
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -507,9 +525,13 @@ export declare const renameKind: AnyMutationDefinition<import("@graview/core").S
|
|
|
507
525
|
number: "number";
|
|
508
526
|
boolean: "boolean";
|
|
509
527
|
text: "text";
|
|
528
|
+
integer: "integer";
|
|
510
529
|
date: "date";
|
|
530
|
+
datetime: "datetime";
|
|
511
531
|
enum: "enum";
|
|
512
532
|
list: "list";
|
|
533
|
+
url: "url";
|
|
534
|
+
email: "email";
|
|
513
535
|
}>;
|
|
514
536
|
required: z.ZodBoolean;
|
|
515
537
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -664,9 +686,13 @@ export declare const removeKind: AnyMutationDefinition<import("@graview/core").S
|
|
|
664
686
|
number: "number";
|
|
665
687
|
boolean: "boolean";
|
|
666
688
|
text: "text";
|
|
689
|
+
integer: "integer";
|
|
667
690
|
date: "date";
|
|
691
|
+
datetime: "datetime";
|
|
668
692
|
enum: "enum";
|
|
669
693
|
list: "list";
|
|
694
|
+
url: "url";
|
|
695
|
+
email: "email";
|
|
670
696
|
}>;
|
|
671
697
|
required: z.ZodBoolean;
|
|
672
698
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -821,9 +847,13 @@ export declare const addField: AnyMutationDefinition<import("@graview/core").Sch
|
|
|
821
847
|
number: "number";
|
|
822
848
|
boolean: "boolean";
|
|
823
849
|
text: "text";
|
|
850
|
+
integer: "integer";
|
|
824
851
|
date: "date";
|
|
852
|
+
datetime: "datetime";
|
|
825
853
|
enum: "enum";
|
|
826
854
|
list: "list";
|
|
855
|
+
url: "url";
|
|
856
|
+
email: "email";
|
|
827
857
|
}>;
|
|
828
858
|
required: z.ZodBoolean;
|
|
829
859
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -978,9 +1008,13 @@ export declare const renameField: AnyMutationDefinition<import("@graview/core").
|
|
|
978
1008
|
number: "number";
|
|
979
1009
|
boolean: "boolean";
|
|
980
1010
|
text: "text";
|
|
1011
|
+
integer: "integer";
|
|
981
1012
|
date: "date";
|
|
1013
|
+
datetime: "datetime";
|
|
982
1014
|
enum: "enum";
|
|
983
1015
|
list: "list";
|
|
1016
|
+
url: "url";
|
|
1017
|
+
email: "email";
|
|
984
1018
|
}>;
|
|
985
1019
|
required: z.ZodBoolean;
|
|
986
1020
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1135,9 +1169,657 @@ export declare const removeField: AnyMutationDefinition<import("@graview/core").
|
|
|
1135
1169
|
number: "number";
|
|
1136
1170
|
boolean: "boolean";
|
|
1137
1171
|
text: "text";
|
|
1172
|
+
integer: "integer";
|
|
1173
|
+
date: "date";
|
|
1174
|
+
datetime: "datetime";
|
|
1175
|
+
enum: "enum";
|
|
1176
|
+
list: "list";
|
|
1177
|
+
url: "url";
|
|
1178
|
+
email: "email";
|
|
1179
|
+
}>;
|
|
1180
|
+
required: z.ZodBoolean;
|
|
1181
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1182
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
}, z.core.$strip>, {
|
|
1184
|
+
readonly of: {
|
|
1185
|
+
readonly to: readonly ["kind"];
|
|
1186
|
+
readonly cardinality: "one";
|
|
1187
|
+
readonly description: "the kind it belongs to";
|
|
1188
|
+
readonly inverse: "its fields";
|
|
1189
|
+
};
|
|
1190
|
+
}>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
|
|
1191
|
+
label: z.ZodString;
|
|
1192
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1193
|
+
inverse: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
cardinality: z.ZodEnum<{
|
|
1195
|
+
one: "one";
|
|
1196
|
+
many: "many";
|
|
1197
|
+
}>;
|
|
1198
|
+
appendOnly: z.ZodBoolean;
|
|
1199
|
+
toAny: z.ZodBoolean;
|
|
1200
|
+
}, z.core.$strip>, {
|
|
1201
|
+
readonly "from-kind": {
|
|
1202
|
+
readonly to: readonly ["kind"];
|
|
1203
|
+
readonly cardinality: "one";
|
|
1204
|
+
readonly description: "the kind it is declared on";
|
|
1205
|
+
readonly inverse: "its edges";
|
|
1206
|
+
};
|
|
1207
|
+
readonly "to-kind": {
|
|
1208
|
+
readonly to: readonly ["kind"];
|
|
1209
|
+
readonly description: "the kinds it may reach";
|
|
1210
|
+
readonly inverse: "the edges that reach it";
|
|
1211
|
+
};
|
|
1212
|
+
}>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
|
|
1213
|
+
label: z.ZodString;
|
|
1214
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
fromTheOtherEnd: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1217
|
+
destructive: z.ZodBoolean;
|
|
1218
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1219
|
+
subjectArg: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
targetArg: z.ZodOptional<z.ZodString>;
|
|
1221
|
+
onAny: z.ZodBoolean;
|
|
1222
|
+
derived: z.ZodBoolean;
|
|
1223
|
+
}, z.core.$strip>, {
|
|
1224
|
+
readonly on: {
|
|
1225
|
+
readonly to: readonly ["kind"];
|
|
1226
|
+
readonly description: "the kinds it acts on";
|
|
1227
|
+
readonly inverse: "the acts on it";
|
|
1228
|
+
};
|
|
1229
|
+
readonly creates: {
|
|
1230
|
+
readonly to: readonly ["kind"];
|
|
1231
|
+
readonly description: "the kind it brings into being";
|
|
1232
|
+
readonly inverse: "how one comes to be";
|
|
1233
|
+
};
|
|
1234
|
+
readonly connects: {
|
|
1235
|
+
readonly to: readonly ["edge"];
|
|
1236
|
+
readonly description: "the relation it makes";
|
|
1237
|
+
readonly inverse: "the acts that make it";
|
|
1238
|
+
};
|
|
1239
|
+
readonly severs: {
|
|
1240
|
+
readonly to: readonly ["edge"];
|
|
1241
|
+
readonly description: "the relation it breaks";
|
|
1242
|
+
readonly inverse: "the acts that break it";
|
|
1243
|
+
};
|
|
1244
|
+
}>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
|
|
1245
|
+
label: z.ZodString;
|
|
1246
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
judgesPast: z.ZodBoolean;
|
|
1249
|
+
wholeGraph: z.ZodBoolean;
|
|
1250
|
+
derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1251
|
+
require: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
when: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
says: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
}, z.core.$strip>, {
|
|
1255
|
+
readonly over: {
|
|
1256
|
+
readonly to: readonly ["kind"];
|
|
1257
|
+
readonly description: "the kind it judges";
|
|
1258
|
+
readonly inverse: "the rules over it";
|
|
1259
|
+
};
|
|
1260
|
+
readonly repairs: {
|
|
1261
|
+
readonly to: readonly ["act"];
|
|
1262
|
+
readonly description: "the acts that put it right";
|
|
1263
|
+
readonly inverse: "the rules it repairs";
|
|
1264
|
+
};
|
|
1265
|
+
}>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
|
|
1266
|
+
label: z.ZodString;
|
|
1267
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
|
|
1268
|
+
label: z.ZodString;
|
|
1269
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1270
|
+
self: z.ZodBoolean;
|
|
1271
|
+
everyone: z.ZodBoolean;
|
|
1272
|
+
allActs: z.ZodBoolean;
|
|
1273
|
+
allKinds: z.ZodBoolean;
|
|
1274
|
+
}, z.core.$strip>, {
|
|
1275
|
+
readonly lets: {
|
|
1276
|
+
readonly to: readonly ["role"];
|
|
1277
|
+
readonly description: "the roles it lets";
|
|
1278
|
+
readonly inverse: "what they are let do";
|
|
1279
|
+
};
|
|
1280
|
+
readonly may: {
|
|
1281
|
+
readonly to: readonly ["act"];
|
|
1282
|
+
readonly description: "the acts it allows";
|
|
1283
|
+
readonly inverse: "who may take it";
|
|
1284
|
+
};
|
|
1285
|
+
readonly "allows-on": {
|
|
1286
|
+
readonly to: readonly ["kind"];
|
|
1287
|
+
readonly description: "the kinds it allows those acts on";
|
|
1288
|
+
readonly inverse: "who may act on it";
|
|
1289
|
+
};
|
|
1290
|
+
}>, import("@graview/core").NodeDefinition<"sight", z.ZodObject<{
|
|
1291
|
+
label: z.ZodString;
|
|
1292
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
own: z.ZodBoolean;
|
|
1294
|
+
everyone: z.ZodBoolean;
|
|
1295
|
+
}, z.core.$strip>, {
|
|
1296
|
+
readonly "seen-by": {
|
|
1297
|
+
readonly to: readonly ["role"];
|
|
1298
|
+
readonly description: "the roles it lets see";
|
|
1299
|
+
readonly inverse: "what they see";
|
|
1300
|
+
};
|
|
1301
|
+
readonly shows: {
|
|
1302
|
+
readonly to: readonly ["kind"];
|
|
1303
|
+
readonly description: "the kinds it shows";
|
|
1304
|
+
readonly inverse: "who sees it";
|
|
1305
|
+
};
|
|
1306
|
+
}>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
|
|
1307
|
+
label: z.ZodString;
|
|
1308
|
+
binds: z.ZodOptional<z.ZodEnum<{
|
|
1309
|
+
fields: "fields";
|
|
1310
|
+
entities: "entities";
|
|
1311
|
+
}>>;
|
|
1312
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1313
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
1314
|
+
label: z.ZodString;
|
|
1315
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
display: z.ZodOptional<z.ZodString>;
|
|
1317
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
|
|
1318
|
+
export declare const retypeField: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
|
|
1319
|
+
label: z.ZodString;
|
|
1320
|
+
plural: z.ZodOptional<z.ZodString>;
|
|
1321
|
+
noun: z.ZodOptional<z.ZodString>;
|
|
1322
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
lifecycleField: z.ZodOptional<z.ZodString>;
|
|
1324
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1325
|
+
figure: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
|
|
1327
|
+
label: z.ZodString;
|
|
1328
|
+
type: z.ZodEnum<{
|
|
1329
|
+
string: "string";
|
|
1330
|
+
number: "number";
|
|
1331
|
+
boolean: "boolean";
|
|
1332
|
+
text: "text";
|
|
1333
|
+
integer: "integer";
|
|
1334
|
+
date: "date";
|
|
1335
|
+
datetime: "datetime";
|
|
1336
|
+
enum: "enum";
|
|
1337
|
+
list: "list";
|
|
1338
|
+
url: "url";
|
|
1339
|
+
email: "email";
|
|
1340
|
+
}>;
|
|
1341
|
+
required: z.ZodBoolean;
|
|
1342
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1343
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
}, z.core.$strip>, {
|
|
1345
|
+
readonly of: {
|
|
1346
|
+
readonly to: readonly ["kind"];
|
|
1347
|
+
readonly cardinality: "one";
|
|
1348
|
+
readonly description: "the kind it belongs to";
|
|
1349
|
+
readonly inverse: "its fields";
|
|
1350
|
+
};
|
|
1351
|
+
}>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
|
|
1352
|
+
label: z.ZodString;
|
|
1353
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
inverse: z.ZodOptional<z.ZodString>;
|
|
1355
|
+
cardinality: z.ZodEnum<{
|
|
1356
|
+
one: "one";
|
|
1357
|
+
many: "many";
|
|
1358
|
+
}>;
|
|
1359
|
+
appendOnly: z.ZodBoolean;
|
|
1360
|
+
toAny: z.ZodBoolean;
|
|
1361
|
+
}, z.core.$strip>, {
|
|
1362
|
+
readonly "from-kind": {
|
|
1363
|
+
readonly to: readonly ["kind"];
|
|
1364
|
+
readonly cardinality: "one";
|
|
1365
|
+
readonly description: "the kind it is declared on";
|
|
1366
|
+
readonly inverse: "its edges";
|
|
1367
|
+
};
|
|
1368
|
+
readonly "to-kind": {
|
|
1369
|
+
readonly to: readonly ["kind"];
|
|
1370
|
+
readonly description: "the kinds it may reach";
|
|
1371
|
+
readonly inverse: "the edges that reach it";
|
|
1372
|
+
};
|
|
1373
|
+
}>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
|
|
1374
|
+
label: z.ZodString;
|
|
1375
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
fromTheOtherEnd: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
destructive: z.ZodBoolean;
|
|
1379
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1380
|
+
subjectArg: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
targetArg: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
onAny: z.ZodBoolean;
|
|
1383
|
+
derived: z.ZodBoolean;
|
|
1384
|
+
}, z.core.$strip>, {
|
|
1385
|
+
readonly on: {
|
|
1386
|
+
readonly to: readonly ["kind"];
|
|
1387
|
+
readonly description: "the kinds it acts on";
|
|
1388
|
+
readonly inverse: "the acts on it";
|
|
1389
|
+
};
|
|
1390
|
+
readonly creates: {
|
|
1391
|
+
readonly to: readonly ["kind"];
|
|
1392
|
+
readonly description: "the kind it brings into being";
|
|
1393
|
+
readonly inverse: "how one comes to be";
|
|
1394
|
+
};
|
|
1395
|
+
readonly connects: {
|
|
1396
|
+
readonly to: readonly ["edge"];
|
|
1397
|
+
readonly description: "the relation it makes";
|
|
1398
|
+
readonly inverse: "the acts that make it";
|
|
1399
|
+
};
|
|
1400
|
+
readonly severs: {
|
|
1401
|
+
readonly to: readonly ["edge"];
|
|
1402
|
+
readonly description: "the relation it breaks";
|
|
1403
|
+
readonly inverse: "the acts that break it";
|
|
1404
|
+
};
|
|
1405
|
+
}>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
|
|
1406
|
+
label: z.ZodString;
|
|
1407
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1408
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1409
|
+
judgesPast: z.ZodBoolean;
|
|
1410
|
+
wholeGraph: z.ZodBoolean;
|
|
1411
|
+
derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1412
|
+
require: z.ZodOptional<z.ZodString>;
|
|
1413
|
+
when: z.ZodOptional<z.ZodString>;
|
|
1414
|
+
says: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
}, z.core.$strip>, {
|
|
1416
|
+
readonly over: {
|
|
1417
|
+
readonly to: readonly ["kind"];
|
|
1418
|
+
readonly description: "the kind it judges";
|
|
1419
|
+
readonly inverse: "the rules over it";
|
|
1420
|
+
};
|
|
1421
|
+
readonly repairs: {
|
|
1422
|
+
readonly to: readonly ["act"];
|
|
1423
|
+
readonly description: "the acts that put it right";
|
|
1424
|
+
readonly inverse: "the rules it repairs";
|
|
1425
|
+
};
|
|
1426
|
+
}>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
|
|
1427
|
+
label: z.ZodString;
|
|
1428
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
|
|
1429
|
+
label: z.ZodString;
|
|
1430
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1431
|
+
self: z.ZodBoolean;
|
|
1432
|
+
everyone: z.ZodBoolean;
|
|
1433
|
+
allActs: z.ZodBoolean;
|
|
1434
|
+
allKinds: z.ZodBoolean;
|
|
1435
|
+
}, z.core.$strip>, {
|
|
1436
|
+
readonly lets: {
|
|
1437
|
+
readonly to: readonly ["role"];
|
|
1438
|
+
readonly description: "the roles it lets";
|
|
1439
|
+
readonly inverse: "what they are let do";
|
|
1440
|
+
};
|
|
1441
|
+
readonly may: {
|
|
1442
|
+
readonly to: readonly ["act"];
|
|
1443
|
+
readonly description: "the acts it allows";
|
|
1444
|
+
readonly inverse: "who may take it";
|
|
1445
|
+
};
|
|
1446
|
+
readonly "allows-on": {
|
|
1447
|
+
readonly to: readonly ["kind"];
|
|
1448
|
+
readonly description: "the kinds it allows those acts on";
|
|
1449
|
+
readonly inverse: "who may act on it";
|
|
1450
|
+
};
|
|
1451
|
+
}>, import("@graview/core").NodeDefinition<"sight", z.ZodObject<{
|
|
1452
|
+
label: z.ZodString;
|
|
1453
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1454
|
+
own: z.ZodBoolean;
|
|
1455
|
+
everyone: z.ZodBoolean;
|
|
1456
|
+
}, z.core.$strip>, {
|
|
1457
|
+
readonly "seen-by": {
|
|
1458
|
+
readonly to: readonly ["role"];
|
|
1459
|
+
readonly description: "the roles it lets see";
|
|
1460
|
+
readonly inverse: "what they see";
|
|
1461
|
+
};
|
|
1462
|
+
readonly shows: {
|
|
1463
|
+
readonly to: readonly ["kind"];
|
|
1464
|
+
readonly description: "the kinds it shows";
|
|
1465
|
+
readonly inverse: "who sees it";
|
|
1466
|
+
};
|
|
1467
|
+
}>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
|
|
1468
|
+
label: z.ZodString;
|
|
1469
|
+
binds: z.ZodOptional<z.ZodEnum<{
|
|
1470
|
+
fields: "fields";
|
|
1471
|
+
entities: "entities";
|
|
1472
|
+
}>>;
|
|
1473
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1474
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
1475
|
+
label: z.ZodString;
|
|
1476
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
display: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
|
|
1479
|
+
export declare const setRequired: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
|
|
1480
|
+
label: z.ZodString;
|
|
1481
|
+
plural: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
noun: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
lifecycleField: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1486
|
+
figure: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
|
|
1488
|
+
label: z.ZodString;
|
|
1489
|
+
type: z.ZodEnum<{
|
|
1490
|
+
string: "string";
|
|
1491
|
+
number: "number";
|
|
1492
|
+
boolean: "boolean";
|
|
1493
|
+
text: "text";
|
|
1494
|
+
integer: "integer";
|
|
1495
|
+
date: "date";
|
|
1496
|
+
datetime: "datetime";
|
|
1497
|
+
enum: "enum";
|
|
1498
|
+
list: "list";
|
|
1499
|
+
url: "url";
|
|
1500
|
+
email: "email";
|
|
1501
|
+
}>;
|
|
1502
|
+
required: z.ZodBoolean;
|
|
1503
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1504
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1505
|
+
}, z.core.$strip>, {
|
|
1506
|
+
readonly of: {
|
|
1507
|
+
readonly to: readonly ["kind"];
|
|
1508
|
+
readonly cardinality: "one";
|
|
1509
|
+
readonly description: "the kind it belongs to";
|
|
1510
|
+
readonly inverse: "its fields";
|
|
1511
|
+
};
|
|
1512
|
+
}>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
|
|
1513
|
+
label: z.ZodString;
|
|
1514
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1515
|
+
inverse: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
cardinality: z.ZodEnum<{
|
|
1517
|
+
one: "one";
|
|
1518
|
+
many: "many";
|
|
1519
|
+
}>;
|
|
1520
|
+
appendOnly: z.ZodBoolean;
|
|
1521
|
+
toAny: z.ZodBoolean;
|
|
1522
|
+
}, z.core.$strip>, {
|
|
1523
|
+
readonly "from-kind": {
|
|
1524
|
+
readonly to: readonly ["kind"];
|
|
1525
|
+
readonly cardinality: "one";
|
|
1526
|
+
readonly description: "the kind it is declared on";
|
|
1527
|
+
readonly inverse: "its edges";
|
|
1528
|
+
};
|
|
1529
|
+
readonly "to-kind": {
|
|
1530
|
+
readonly to: readonly ["kind"];
|
|
1531
|
+
readonly description: "the kinds it may reach";
|
|
1532
|
+
readonly inverse: "the edges that reach it";
|
|
1533
|
+
};
|
|
1534
|
+
}>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
|
|
1535
|
+
label: z.ZodString;
|
|
1536
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1537
|
+
fromTheOtherEnd: z.ZodOptional<z.ZodString>;
|
|
1538
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1539
|
+
destructive: z.ZodBoolean;
|
|
1540
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1541
|
+
subjectArg: z.ZodOptional<z.ZodString>;
|
|
1542
|
+
targetArg: z.ZodOptional<z.ZodString>;
|
|
1543
|
+
onAny: z.ZodBoolean;
|
|
1544
|
+
derived: z.ZodBoolean;
|
|
1545
|
+
}, z.core.$strip>, {
|
|
1546
|
+
readonly on: {
|
|
1547
|
+
readonly to: readonly ["kind"];
|
|
1548
|
+
readonly description: "the kinds it acts on";
|
|
1549
|
+
readonly inverse: "the acts on it";
|
|
1550
|
+
};
|
|
1551
|
+
readonly creates: {
|
|
1552
|
+
readonly to: readonly ["kind"];
|
|
1553
|
+
readonly description: "the kind it brings into being";
|
|
1554
|
+
readonly inverse: "how one comes to be";
|
|
1555
|
+
};
|
|
1556
|
+
readonly connects: {
|
|
1557
|
+
readonly to: readonly ["edge"];
|
|
1558
|
+
readonly description: "the relation it makes";
|
|
1559
|
+
readonly inverse: "the acts that make it";
|
|
1560
|
+
};
|
|
1561
|
+
readonly severs: {
|
|
1562
|
+
readonly to: readonly ["edge"];
|
|
1563
|
+
readonly description: "the relation it breaks";
|
|
1564
|
+
readonly inverse: "the acts that break it";
|
|
1565
|
+
};
|
|
1566
|
+
}>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
|
|
1567
|
+
label: z.ZodString;
|
|
1568
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1569
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1570
|
+
judgesPast: z.ZodBoolean;
|
|
1571
|
+
wholeGraph: z.ZodBoolean;
|
|
1572
|
+
derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1573
|
+
require: z.ZodOptional<z.ZodString>;
|
|
1574
|
+
when: z.ZodOptional<z.ZodString>;
|
|
1575
|
+
says: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
}, z.core.$strip>, {
|
|
1577
|
+
readonly over: {
|
|
1578
|
+
readonly to: readonly ["kind"];
|
|
1579
|
+
readonly description: "the kind it judges";
|
|
1580
|
+
readonly inverse: "the rules over it";
|
|
1581
|
+
};
|
|
1582
|
+
readonly repairs: {
|
|
1583
|
+
readonly to: readonly ["act"];
|
|
1584
|
+
readonly description: "the acts that put it right";
|
|
1585
|
+
readonly inverse: "the rules it repairs";
|
|
1586
|
+
};
|
|
1587
|
+
}>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
|
|
1588
|
+
label: z.ZodString;
|
|
1589
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
|
|
1590
|
+
label: z.ZodString;
|
|
1591
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
self: z.ZodBoolean;
|
|
1593
|
+
everyone: z.ZodBoolean;
|
|
1594
|
+
allActs: z.ZodBoolean;
|
|
1595
|
+
allKinds: z.ZodBoolean;
|
|
1596
|
+
}, z.core.$strip>, {
|
|
1597
|
+
readonly lets: {
|
|
1598
|
+
readonly to: readonly ["role"];
|
|
1599
|
+
readonly description: "the roles it lets";
|
|
1600
|
+
readonly inverse: "what they are let do";
|
|
1601
|
+
};
|
|
1602
|
+
readonly may: {
|
|
1603
|
+
readonly to: readonly ["act"];
|
|
1604
|
+
readonly description: "the acts it allows";
|
|
1605
|
+
readonly inverse: "who may take it";
|
|
1606
|
+
};
|
|
1607
|
+
readonly "allows-on": {
|
|
1608
|
+
readonly to: readonly ["kind"];
|
|
1609
|
+
readonly description: "the kinds it allows those acts on";
|
|
1610
|
+
readonly inverse: "who may act on it";
|
|
1611
|
+
};
|
|
1612
|
+
}>, import("@graview/core").NodeDefinition<"sight", z.ZodObject<{
|
|
1613
|
+
label: z.ZodString;
|
|
1614
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
own: z.ZodBoolean;
|
|
1616
|
+
everyone: z.ZodBoolean;
|
|
1617
|
+
}, z.core.$strip>, {
|
|
1618
|
+
readonly "seen-by": {
|
|
1619
|
+
readonly to: readonly ["role"];
|
|
1620
|
+
readonly description: "the roles it lets see";
|
|
1621
|
+
readonly inverse: "what they see";
|
|
1622
|
+
};
|
|
1623
|
+
readonly shows: {
|
|
1624
|
+
readonly to: readonly ["kind"];
|
|
1625
|
+
readonly description: "the kinds it shows";
|
|
1626
|
+
readonly inverse: "who sees it";
|
|
1627
|
+
};
|
|
1628
|
+
}>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
|
|
1629
|
+
label: z.ZodString;
|
|
1630
|
+
binds: z.ZodOptional<z.ZodEnum<{
|
|
1631
|
+
fields: "fields";
|
|
1632
|
+
entities: "entities";
|
|
1633
|
+
}>>;
|
|
1634
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1635
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
1636
|
+
label: z.ZodString;
|
|
1637
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1638
|
+
display: z.ZodOptional<z.ZodString>;
|
|
1639
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
|
|
1640
|
+
export declare const setOptions: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
|
|
1641
|
+
label: z.ZodString;
|
|
1642
|
+
plural: z.ZodOptional<z.ZodString>;
|
|
1643
|
+
noun: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1645
|
+
lifecycleField: z.ZodOptional<z.ZodString>;
|
|
1646
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1647
|
+
figure: z.ZodOptional<z.ZodString>;
|
|
1648
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
|
|
1649
|
+
label: z.ZodString;
|
|
1650
|
+
type: z.ZodEnum<{
|
|
1651
|
+
string: "string";
|
|
1652
|
+
number: "number";
|
|
1653
|
+
boolean: "boolean";
|
|
1654
|
+
text: "text";
|
|
1655
|
+
integer: "integer";
|
|
1656
|
+
date: "date";
|
|
1657
|
+
datetime: "datetime";
|
|
1658
|
+
enum: "enum";
|
|
1659
|
+
list: "list";
|
|
1660
|
+
url: "url";
|
|
1661
|
+
email: "email";
|
|
1662
|
+
}>;
|
|
1663
|
+
required: z.ZodBoolean;
|
|
1664
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1665
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1666
|
+
}, z.core.$strip>, {
|
|
1667
|
+
readonly of: {
|
|
1668
|
+
readonly to: readonly ["kind"];
|
|
1669
|
+
readonly cardinality: "one";
|
|
1670
|
+
readonly description: "the kind it belongs to";
|
|
1671
|
+
readonly inverse: "its fields";
|
|
1672
|
+
};
|
|
1673
|
+
}>, import("@graview/core").NodeDefinition<"edge", z.ZodObject<{
|
|
1674
|
+
label: z.ZodString;
|
|
1675
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1676
|
+
inverse: z.ZodOptional<z.ZodString>;
|
|
1677
|
+
cardinality: z.ZodEnum<{
|
|
1678
|
+
one: "one";
|
|
1679
|
+
many: "many";
|
|
1680
|
+
}>;
|
|
1681
|
+
appendOnly: z.ZodBoolean;
|
|
1682
|
+
toAny: z.ZodBoolean;
|
|
1683
|
+
}, z.core.$strip>, {
|
|
1684
|
+
readonly "from-kind": {
|
|
1685
|
+
readonly to: readonly ["kind"];
|
|
1686
|
+
readonly cardinality: "one";
|
|
1687
|
+
readonly description: "the kind it is declared on";
|
|
1688
|
+
readonly inverse: "its edges";
|
|
1689
|
+
};
|
|
1690
|
+
readonly "to-kind": {
|
|
1691
|
+
readonly to: readonly ["kind"];
|
|
1692
|
+
readonly description: "the kinds it may reach";
|
|
1693
|
+
readonly inverse: "the edges that reach it";
|
|
1694
|
+
};
|
|
1695
|
+
}>, import("@graview/core").NodeDefinition<"act", z.ZodObject<{
|
|
1696
|
+
label: z.ZodString;
|
|
1697
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1698
|
+
fromTheOtherEnd: z.ZodOptional<z.ZodString>;
|
|
1699
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1700
|
+
destructive: z.ZodBoolean;
|
|
1701
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1702
|
+
subjectArg: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
targetArg: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
onAny: z.ZodBoolean;
|
|
1705
|
+
derived: z.ZodBoolean;
|
|
1706
|
+
}, z.core.$strip>, {
|
|
1707
|
+
readonly on: {
|
|
1708
|
+
readonly to: readonly ["kind"];
|
|
1709
|
+
readonly description: "the kinds it acts on";
|
|
1710
|
+
readonly inverse: "the acts on it";
|
|
1711
|
+
};
|
|
1712
|
+
readonly creates: {
|
|
1713
|
+
readonly to: readonly ["kind"];
|
|
1714
|
+
readonly description: "the kind it brings into being";
|
|
1715
|
+
readonly inverse: "how one comes to be";
|
|
1716
|
+
};
|
|
1717
|
+
readonly connects: {
|
|
1718
|
+
readonly to: readonly ["edge"];
|
|
1719
|
+
readonly description: "the relation it makes";
|
|
1720
|
+
readonly inverse: "the acts that make it";
|
|
1721
|
+
};
|
|
1722
|
+
readonly severs: {
|
|
1723
|
+
readonly to: readonly ["edge"];
|
|
1724
|
+
readonly description: "the relation it breaks";
|
|
1725
|
+
readonly inverse: "the acts that break it";
|
|
1726
|
+
};
|
|
1727
|
+
}>, import("@graview/core").NodeDefinition<"rule", z.ZodObject<{
|
|
1728
|
+
label: z.ZodString;
|
|
1729
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1731
|
+
judgesPast: z.ZodBoolean;
|
|
1732
|
+
wholeGraph: z.ZodBoolean;
|
|
1733
|
+
derivedRepairs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1734
|
+
require: z.ZodOptional<z.ZodString>;
|
|
1735
|
+
when: z.ZodOptional<z.ZodString>;
|
|
1736
|
+
says: z.ZodOptional<z.ZodString>;
|
|
1737
|
+
}, z.core.$strip>, {
|
|
1738
|
+
readonly over: {
|
|
1739
|
+
readonly to: readonly ["kind"];
|
|
1740
|
+
readonly description: "the kind it judges";
|
|
1741
|
+
readonly inverse: "the rules over it";
|
|
1742
|
+
};
|
|
1743
|
+
readonly repairs: {
|
|
1744
|
+
readonly to: readonly ["act"];
|
|
1745
|
+
readonly description: "the acts that put it right";
|
|
1746
|
+
readonly inverse: "the rules it repairs";
|
|
1747
|
+
};
|
|
1748
|
+
}>, import("@graview/core").NodeDefinition<"role", z.ZodObject<{
|
|
1749
|
+
label: z.ZodString;
|
|
1750
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"grant", z.ZodObject<{
|
|
1751
|
+
label: z.ZodString;
|
|
1752
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1753
|
+
self: z.ZodBoolean;
|
|
1754
|
+
everyone: z.ZodBoolean;
|
|
1755
|
+
allActs: z.ZodBoolean;
|
|
1756
|
+
allKinds: z.ZodBoolean;
|
|
1757
|
+
}, z.core.$strip>, {
|
|
1758
|
+
readonly lets: {
|
|
1759
|
+
readonly to: readonly ["role"];
|
|
1760
|
+
readonly description: "the roles it lets";
|
|
1761
|
+
readonly inverse: "what they are let do";
|
|
1762
|
+
};
|
|
1763
|
+
readonly may: {
|
|
1764
|
+
readonly to: readonly ["act"];
|
|
1765
|
+
readonly description: "the acts it allows";
|
|
1766
|
+
readonly inverse: "who may take it";
|
|
1767
|
+
};
|
|
1768
|
+
readonly "allows-on": {
|
|
1769
|
+
readonly to: readonly ["kind"];
|
|
1770
|
+
readonly description: "the kinds it allows those acts on";
|
|
1771
|
+
readonly inverse: "who may act on it";
|
|
1772
|
+
};
|
|
1773
|
+
}>, import("@graview/core").NodeDefinition<"sight", z.ZodObject<{
|
|
1774
|
+
label: z.ZodString;
|
|
1775
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1776
|
+
own: z.ZodBoolean;
|
|
1777
|
+
everyone: z.ZodBoolean;
|
|
1778
|
+
}, z.core.$strip>, {
|
|
1779
|
+
readonly "seen-by": {
|
|
1780
|
+
readonly to: readonly ["role"];
|
|
1781
|
+
readonly description: "the roles it lets see";
|
|
1782
|
+
readonly inverse: "what they see";
|
|
1783
|
+
};
|
|
1784
|
+
readonly shows: {
|
|
1785
|
+
readonly to: readonly ["kind"];
|
|
1786
|
+
readonly description: "the kinds it shows";
|
|
1787
|
+
readonly inverse: "who sees it";
|
|
1788
|
+
};
|
|
1789
|
+
}>, import("@graview/core").NodeDefinition<"lens", z.ZodObject<{
|
|
1790
|
+
label: z.ZodString;
|
|
1791
|
+
binds: z.ZodOptional<z.ZodEnum<{
|
|
1792
|
+
fields: "fields";
|
|
1793
|
+
entities: "entities";
|
|
1794
|
+
}>>;
|
|
1795
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1796
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"brand", z.ZodObject<{
|
|
1797
|
+
label: z.ZodString;
|
|
1798
|
+
body: z.ZodOptional<z.ZodString>;
|
|
1799
|
+
display: z.ZodOptional<z.ZodString>;
|
|
1800
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>]>>;
|
|
1801
|
+
export declare const describeField: AnyMutationDefinition<import("@graview/core").Schema<readonly [import("@graview/core").NodeDefinition<"kind", z.ZodObject<{
|
|
1802
|
+
label: z.ZodString;
|
|
1803
|
+
plural: z.ZodOptional<z.ZodString>;
|
|
1804
|
+
noun: z.ZodOptional<z.ZodString>;
|
|
1805
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1806
|
+
lifecycleField: z.ZodOptional<z.ZodString>;
|
|
1807
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1808
|
+
figure: z.ZodOptional<z.ZodString>;
|
|
1809
|
+
}, z.core.$strip>, import("@graview/core").EmptyEdgeMap>, import("@graview/core").NodeDefinition<"field", z.ZodObject<{
|
|
1810
|
+
label: z.ZodString;
|
|
1811
|
+
type: z.ZodEnum<{
|
|
1812
|
+
string: "string";
|
|
1813
|
+
number: "number";
|
|
1814
|
+
boolean: "boolean";
|
|
1815
|
+
text: "text";
|
|
1816
|
+
integer: "integer";
|
|
1138
1817
|
date: "date";
|
|
1818
|
+
datetime: "datetime";
|
|
1139
1819
|
enum: "enum";
|
|
1140
1820
|
list: "list";
|
|
1821
|
+
url: "url";
|
|
1822
|
+
email: "email";
|
|
1141
1823
|
}>;
|
|
1142
1824
|
required: z.ZodBoolean;
|
|
1143
1825
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1292,9 +1974,13 @@ export declare const addEdge: AnyMutationDefinition<import("@graview/core").Sche
|
|
|
1292
1974
|
number: "number";
|
|
1293
1975
|
boolean: "boolean";
|
|
1294
1976
|
text: "text";
|
|
1977
|
+
integer: "integer";
|
|
1295
1978
|
date: "date";
|
|
1979
|
+
datetime: "datetime";
|
|
1296
1980
|
enum: "enum";
|
|
1297
1981
|
list: "list";
|
|
1982
|
+
url: "url";
|
|
1983
|
+
email: "email";
|
|
1298
1984
|
}>;
|
|
1299
1985
|
required: z.ZodBoolean;
|
|
1300
1986
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1449,9 +2135,13 @@ export declare const removeEdge: AnyMutationDefinition<import("@graview/core").S
|
|
|
1449
2135
|
number: "number";
|
|
1450
2136
|
boolean: "boolean";
|
|
1451
2137
|
text: "text";
|
|
2138
|
+
integer: "integer";
|
|
1452
2139
|
date: "date";
|
|
2140
|
+
datetime: "datetime";
|
|
1453
2141
|
enum: "enum";
|
|
1454
2142
|
list: "list";
|
|
2143
|
+
url: "url";
|
|
2144
|
+
email: "email";
|
|
1455
2145
|
}>;
|
|
1456
2146
|
required: z.ZodBoolean;
|
|
1457
2147
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1606,9 +2296,13 @@ export declare const addAct: AnyMutationDefinition<import("@graview/core").Schem
|
|
|
1606
2296
|
number: "number";
|
|
1607
2297
|
boolean: "boolean";
|
|
1608
2298
|
text: "text";
|
|
2299
|
+
integer: "integer";
|
|
1609
2300
|
date: "date";
|
|
2301
|
+
datetime: "datetime";
|
|
1610
2302
|
enum: "enum";
|
|
1611
2303
|
list: "list";
|
|
2304
|
+
url: "url";
|
|
2305
|
+
email: "email";
|
|
1612
2306
|
}>;
|
|
1613
2307
|
required: z.ZodBoolean;
|
|
1614
2308
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1763,9 +2457,13 @@ export declare const removeAct: AnyMutationDefinition<import("@graview/core").Sc
|
|
|
1763
2457
|
number: "number";
|
|
1764
2458
|
boolean: "boolean";
|
|
1765
2459
|
text: "text";
|
|
2460
|
+
integer: "integer";
|
|
1766
2461
|
date: "date";
|
|
2462
|
+
datetime: "datetime";
|
|
1767
2463
|
enum: "enum";
|
|
1768
2464
|
list: "list";
|
|
2465
|
+
url: "url";
|
|
2466
|
+
email: "email";
|
|
1769
2467
|
}>;
|
|
1770
2468
|
required: z.ZodBoolean;
|
|
1771
2469
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1920,9 +2618,13 @@ export declare const addRule: AnyMutationDefinition<import("@graview/core").Sche
|
|
|
1920
2618
|
number: "number";
|
|
1921
2619
|
boolean: "boolean";
|
|
1922
2620
|
text: "text";
|
|
2621
|
+
integer: "integer";
|
|
1923
2622
|
date: "date";
|
|
2623
|
+
datetime: "datetime";
|
|
1924
2624
|
enum: "enum";
|
|
1925
2625
|
list: "list";
|
|
2626
|
+
url: "url";
|
|
2627
|
+
email: "email";
|
|
1926
2628
|
}>;
|
|
1927
2629
|
required: z.ZodBoolean;
|
|
1928
2630
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2077,9 +2779,13 @@ export declare const removeRule: AnyMutationDefinition<import("@graview/core").S
|
|
|
2077
2779
|
number: "number";
|
|
2078
2780
|
boolean: "boolean";
|
|
2079
2781
|
text: "text";
|
|
2782
|
+
integer: "integer";
|
|
2080
2783
|
date: "date";
|
|
2784
|
+
datetime: "datetime";
|
|
2081
2785
|
enum: "enum";
|
|
2082
2786
|
list: "list";
|
|
2787
|
+
url: "url";
|
|
2788
|
+
email: "email";
|
|
2083
2789
|
}>;
|
|
2084
2790
|
required: z.ZodBoolean;
|
|
2085
2791
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2234,9 +2940,13 @@ export declare const nameRepair: AnyMutationDefinition<import("@graview/core").S
|
|
|
2234
2940
|
number: "number";
|
|
2235
2941
|
boolean: "boolean";
|
|
2236
2942
|
text: "text";
|
|
2943
|
+
integer: "integer";
|
|
2237
2944
|
date: "date";
|
|
2945
|
+
datetime: "datetime";
|
|
2238
2946
|
enum: "enum";
|
|
2239
2947
|
list: "list";
|
|
2948
|
+
url: "url";
|
|
2949
|
+
email: "email";
|
|
2240
2950
|
}>;
|
|
2241
2951
|
required: z.ZodBoolean;
|
|
2242
2952
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2391,9 +3101,13 @@ export declare const forgetRepair: AnyMutationDefinition<import("@graview/core")
|
|
|
2391
3101
|
number: "number";
|
|
2392
3102
|
boolean: "boolean";
|
|
2393
3103
|
text: "text";
|
|
3104
|
+
integer: "integer";
|
|
2394
3105
|
date: "date";
|
|
3106
|
+
datetime: "datetime";
|
|
2395
3107
|
enum: "enum";
|
|
2396
3108
|
list: "list";
|
|
3109
|
+
url: "url";
|
|
3110
|
+
email: "email";
|
|
2397
3111
|
}>;
|
|
2398
3112
|
required: z.ZodBoolean;
|
|
2399
3113
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2548,9 +3262,13 @@ export declare const setFigure: AnyMutationDefinition<import("@graview/core").Sc
|
|
|
2548
3262
|
number: "number";
|
|
2549
3263
|
boolean: "boolean";
|
|
2550
3264
|
text: "text";
|
|
3265
|
+
integer: "integer";
|
|
2551
3266
|
date: "date";
|
|
3267
|
+
datetime: "datetime";
|
|
2552
3268
|
enum: "enum";
|
|
2553
3269
|
list: "list";
|
|
3270
|
+
url: "url";
|
|
3271
|
+
email: "email";
|
|
2554
3272
|
}>;
|
|
2555
3273
|
required: z.ZodBoolean;
|
|
2556
3274
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2705,9 +3423,13 @@ export declare const addRole: AnyMutationDefinition<import("@graview/core").Sche
|
|
|
2705
3423
|
number: "number";
|
|
2706
3424
|
boolean: "boolean";
|
|
2707
3425
|
text: "text";
|
|
3426
|
+
integer: "integer";
|
|
2708
3427
|
date: "date";
|
|
3428
|
+
datetime: "datetime";
|
|
2709
3429
|
enum: "enum";
|
|
2710
3430
|
list: "list";
|
|
3431
|
+
url: "url";
|
|
3432
|
+
email: "email";
|
|
2711
3433
|
}>;
|
|
2712
3434
|
required: z.ZodBoolean;
|
|
2713
3435
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2862,9 +3584,13 @@ export declare const grant: AnyMutationDefinition<import("@graview/core").Schema
|
|
|
2862
3584
|
number: "number";
|
|
2863
3585
|
boolean: "boolean";
|
|
2864
3586
|
text: "text";
|
|
3587
|
+
integer: "integer";
|
|
2865
3588
|
date: "date";
|
|
3589
|
+
datetime: "datetime";
|
|
2866
3590
|
enum: "enum";
|
|
2867
3591
|
list: "list";
|
|
3592
|
+
url: "url";
|
|
3593
|
+
email: "email";
|
|
2868
3594
|
}>;
|
|
2869
3595
|
required: z.ZodBoolean;
|
|
2870
3596
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -3019,9 +3745,13 @@ export declare const revokeGrant: AnyMutationDefinition<import("@graview/core").
|
|
|
3019
3745
|
number: "number";
|
|
3020
3746
|
boolean: "boolean";
|
|
3021
3747
|
text: "text";
|
|
3748
|
+
integer: "integer";
|
|
3022
3749
|
date: "date";
|
|
3750
|
+
datetime: "datetime";
|
|
3023
3751
|
enum: "enum";
|
|
3024
3752
|
list: "list";
|
|
3753
|
+
url: "url";
|
|
3754
|
+
email: "email";
|
|
3025
3755
|
}>;
|
|
3026
3756
|
required: z.ZodBoolean;
|
|
3027
3757
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -3176,9 +3906,13 @@ export declare const addSight: AnyMutationDefinition<import("@graview/core").Sch
|
|
|
3176
3906
|
number: "number";
|
|
3177
3907
|
boolean: "boolean";
|
|
3178
3908
|
text: "text";
|
|
3909
|
+
integer: "integer";
|
|
3179
3910
|
date: "date";
|
|
3911
|
+
datetime: "datetime";
|
|
3180
3912
|
enum: "enum";
|
|
3181
3913
|
list: "list";
|
|
3914
|
+
url: "url";
|
|
3915
|
+
email: "email";
|
|
3182
3916
|
}>;
|
|
3183
3917
|
required: z.ZodBoolean;
|
|
3184
3918
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -3333,9 +4067,13 @@ export declare const changeSight: AnyMutationDefinition<import("@graview/core").
|
|
|
3333
4067
|
number: "number";
|
|
3334
4068
|
boolean: "boolean";
|
|
3335
4069
|
text: "text";
|
|
4070
|
+
integer: "integer";
|
|
3336
4071
|
date: "date";
|
|
4072
|
+
datetime: "datetime";
|
|
3337
4073
|
enum: "enum";
|
|
3338
4074
|
list: "list";
|
|
4075
|
+
url: "url";
|
|
4076
|
+
email: "email";
|
|
3339
4077
|
}>;
|
|
3340
4078
|
required: z.ZodBoolean;
|
|
3341
4079
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -3490,9 +4228,13 @@ export declare const removeSight: AnyMutationDefinition<import("@graview/core").
|
|
|
3490
4228
|
number: "number";
|
|
3491
4229
|
boolean: "boolean";
|
|
3492
4230
|
text: "text";
|
|
4231
|
+
integer: "integer";
|
|
3493
4232
|
date: "date";
|
|
4233
|
+
datetime: "datetime";
|
|
3494
4234
|
enum: "enum";
|
|
3495
4235
|
list: "list";
|
|
4236
|
+
url: "url";
|
|
4237
|
+
email: "email";
|
|
3496
4238
|
}>;
|
|
3497
4239
|
required: z.ZodBoolean;
|
|
3498
4240
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|