@graview/core 0.1.41 → 0.1.43
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/answer-seen.js +1 -1
- package/dist/answer-seen.js.map +1 -1
- package/dist/capabilities.js +1 -1
- package/dist/capabilities.js.map +1 -1
- package/dist/cli/check/brand.d.ts.map +1 -1
- package/dist/cli/check/brand.js +39 -2
- package/dist/cli/check/brand.js.map +1 -1
- package/dist/cli/document-schema.d.ts.map +1 -1
- package/dist/cli/document-schema.js +8 -5
- package/dist/cli/document-schema.js.map +1 -1
- package/dist/document/brand-check.d.ts +2 -0
- package/dist/document/brand-check.d.ts.map +1 -1
- package/dist/document/brand-check.js +8 -1
- package/dist/document/brand-check.js.map +1 -1
- package/dist/document/brand.d.ts.map +1 -1
- package/dist/document/brand.js +3 -2
- package/dist/document/brand.js.map +1 -1
- package/dist/document/connection-spec.d.ts +2 -2
- package/dist/document/connection-spec.d.ts.map +1 -1
- package/dist/document/connection-spec.js +40 -34
- package/dist/document/connection-spec.js.map +1 -1
- package/dist/document/describe-place.d.ts.map +1 -1
- package/dist/document/describe-place.js +3 -2
- package/dist/document/describe-place.js.map +1 -1
- package/dist/document/diff.d.ts.map +1 -1
- package/dist/document/diff.js +7 -2
- package/dist/document/diff.js.map +1 -1
- package/dist/document/edit.d.ts.map +1 -1
- package/dist/document/edit.js +150 -128
- package/dist/document/edit.js.map +1 -1
- package/dist/document/graview-template.d.ts +97 -43
- package/dist/document/graview-template.d.ts.map +1 -1
- package/dist/document/graview-template.js +77 -66
- package/dist/document/graview-template.js.map +1 -1
- package/dist/document/logo.d.ts +12 -0
- package/dist/document/logo.d.ts.map +1 -0
- package/dist/document/logo.js +36 -0
- package/dist/document/logo.js.map +1 -0
- package/dist/document/schema.d.ts +51 -57
- package/dist/document/schema.d.ts.map +1 -1
- package/dist/document/schema.js +372 -338
- package/dist/document/schema.js.map +1 -1
- package/dist/document.schema.json +30 -2
- package/dist/formats.d.ts +10 -4
- package/dist/formats.d.ts.map +1 -1
- package/dist/formats.js +17 -8
- package/dist/formats.js.map +1 -1
- package/dist/history.d.ts +32 -3
- package/dist/history.d.ts.map +1 -1
- package/dist/history.js.map +1 -1
- package/dist/import/rows.d.ts.map +1 -1
- package/dist/import/rows.js +0 -1
- package/dist/import/rows.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/installation.d.ts +1 -1
- package/dist/installation.d.ts.map +1 -1
- package/dist/installation.js +1 -1
- package/dist/installation.js.map +1 -1
- package/dist/integrity.d.ts.map +1 -1
- package/dist/integrity.js +2 -1
- package/dist/integrity.js.map +1 -1
- package/dist/mutations/node-ref.d.ts +1 -1
- package/dist/mutations/node-ref.d.ts.map +1 -1
- package/dist/mutations/node-ref.js +1 -1
- package/dist/mutations/node-ref.js.map +1 -1
- package/dist/ops/inverse.d.ts +23 -0
- package/dist/ops/inverse.d.ts.map +1 -0
- package/dist/ops/inverse.js +62 -0
- package/dist/ops/inverse.js.map +1 -0
- package/dist/ops/log.d.ts.map +1 -1
- package/dist/ops/log.js +3 -1
- package/dist/ops/log.js.map +1 -1
- package/dist/ops/revisions.d.ts +19 -4
- package/dist/ops/revisions.d.ts.map +1 -1
- package/dist/ops/revisions.js +23 -8
- package/dist/ops/revisions.js.map +1 -1
- package/dist/ops/types.d.ts +11 -2
- package/dist/ops/types.d.ts.map +1 -1
- package/dist/ops/undo.d.ts +3 -3
- package/dist/ops/undo.d.ts.map +1 -1
- package/dist/ops/undo.js +8 -6
- package/dist/ops/undo.js.map +1 -1
- package/dist/ops/withheld.d.ts +1 -1
- package/dist/ops/withheld.d.ts.map +1 -1
- package/dist/ops/withheld.js +12 -4
- package/dist/ops/withheld.js.map +1 -1
- package/dist/past.d.ts +15 -0
- package/dist/past.d.ts.map +1 -1
- package/dist/past.js +150 -19
- package/dist/past.js.map +1 -1
- package/dist/schema/app-link-field.d.ts +1 -1
- package/dist/schema/app-link-field.d.ts.map +1 -1
- package/dist/schema/app-link-field.js +1 -1
- package/dist/schema/app-link-field.js.map +1 -1
- package/dist/schema/file-field.d.ts +1 -1
- package/dist/schema/file-field.d.ts.map +1 -1
- package/dist/schema/file-field.js +1 -1
- package/dist/schema/file-field.js.map +1 -1
- package/dist/schema/linked-field.d.ts +1 -1
- package/dist/schema/linked-field.d.ts.map +1 -1
- package/dist/schema/linked-field.js +1 -1
- package/dist/schema/linked-field.js.map +1 -1
- package/dist/schema/markdown-field.d.ts +1 -1
- package/dist/schema/markdown-field.d.ts.map +1 -1
- package/dist/schema/markdown-field.js +1 -1
- package/dist/schema/markdown-field.js.map +1 -1
- package/dist/schema/repeat-field.d.ts +1 -1
- package/dist/schema/repeat-field.d.ts.map +1 -1
- package/dist/schema/repeat-field.js +1 -1
- package/dist/schema/repeat-field.js.map +1 -1
- package/dist/schema/typed-field-builders.d.ts +1 -1
- package/dist/schema/typed-field-builders.d.ts.map +1 -1
- package/dist/schema/typed-field-builders.js +1 -1
- package/dist/schema/typed-field-builders.js.map +1 -1
- package/dist/store.d.ts +7 -8
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +12 -15
- package/dist/store.js.map +1 -1
- package/dist/temporal/effectivity.d.ts +1 -1
- package/dist/temporal/effectivity.d.ts.map +1 -1
- package/dist/temporal/effectivity.js +1 -1
- package/dist/temporal/effectivity.js.map +1 -1
- package/dist/testing.js +1 -1
- package/dist/testing.js.map +1 -1
- package/dist/theme/marks.d.ts +13 -2
- package/dist/theme/marks.d.ts.map +1 -1
- package/dist/theme/marks.js +16 -0
- package/dist/theme/marks.js.map +1 -1
- package/dist/theme/types.d.ts +17 -2
- package/dist/theme/types.d.ts.map +1 -1
- package/dist/theme/types.js.map +1 -1
- package/dist/tidying.d.ts.map +1 -1
- package/dist/tidying.js +0 -1
- package/dist/tidying.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ export declare const EDGE_NAME: RegExp;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const FIELD_TYPES: readonly ["string", "text", "number", "integer", "boolean", "date", "datetime", "enum", "list", "url", "email", "image", "video", "file", "app-link", "phone", "place", "duration"];
|
|
21
21
|
export type FieldType = (typeof FIELD_TYPES)[number];
|
|
22
|
-
export declare const FieldSpec: z.ZodMiniObject<{
|
|
22
|
+
export declare const FieldSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
23
23
|
type: z.ZodMiniEnum<{
|
|
24
24
|
string: "string";
|
|
25
25
|
number: "number";
|
|
@@ -65,9 +65,8 @@ export declare const FieldSpec: z.ZodMiniObject<{
|
|
|
65
65
|
step: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
66
66
|
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
67
67
|
repeats: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
68
|
-
}, z.core.$strict
|
|
69
|
-
export
|
|
70
|
-
export declare const EdgeSpec: z.ZodMiniObject<{
|
|
68
|
+
}, z.core.$strict>>;
|
|
69
|
+
export declare const EdgeSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
71
70
|
to: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
72
71
|
cardinality: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
73
72
|
one: "one";
|
|
@@ -78,16 +77,13 @@ export declare const EdgeSpec: z.ZodMiniObject<{
|
|
|
78
77
|
appendOnly: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
79
78
|
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
80
79
|
tidying: z.ZodMiniOptional<z.ZodMiniLiteral<"never">>;
|
|
81
|
-
}, z.core.$strict
|
|
82
|
-
export
|
|
83
|
-
/** A computed field: its expression, or the expression with the words it is shown by (FR-83). */
|
|
84
|
-
export declare const ComputedSpec: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
80
|
+
}, z.core.$strict>>;
|
|
81
|
+
export declare const ComputedSpec: z.ZodMiniLazy<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
85
82
|
expr: z.ZodMiniString<string>;
|
|
86
83
|
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
87
84
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
88
|
-
}, z.core.$strict>]
|
|
89
|
-
export
|
|
90
|
-
export declare const KindSpec: z.ZodMiniObject<{
|
|
85
|
+
}, z.core.$strict>]>>;
|
|
86
|
+
export declare const KindSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
91
87
|
noun: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
92
88
|
plural: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
93
89
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -178,14 +174,11 @@ export declare const KindSpec: z.ZodMiniObject<{
|
|
|
178
174
|
never: "never";
|
|
179
175
|
"no-links": "no-links";
|
|
180
176
|
}>>;
|
|
181
|
-
}, z.core.$strict
|
|
182
|
-
export
|
|
183
|
-
/** A value an effect writes: a literal, `$arg`, `$subject`, `$new`, `$now`, `$today`, or `{ expr }`. */
|
|
184
|
-
export declare const ValueSpec: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull, z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniObject<{
|
|
177
|
+
}, z.core.$strict>>;
|
|
178
|
+
export declare const ValueSpec: z.ZodMiniLazy<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull, z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniObject<{
|
|
185
179
|
expr: z.ZodMiniString<string>;
|
|
186
|
-
}, z.core.$strict>]
|
|
187
|
-
export
|
|
188
|
-
export declare const EffectSpec: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
180
|
+
}, z.core.$strict>]>>;
|
|
181
|
+
export declare const EffectSpec: z.ZodMiniLazy<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
189
182
|
create: z.ZodMiniString<string>;
|
|
190
183
|
as: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
191
184
|
set: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull, z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniObject<{
|
|
@@ -206,9 +199,8 @@ export declare const EffectSpec: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
206
199
|
to: z.ZodMiniString<string>;
|
|
207
200
|
}, z.core.$strict>, z.ZodMiniObject<{
|
|
208
201
|
remove: z.ZodMiniString<string>;
|
|
209
|
-
}, z.core.$strict>]
|
|
210
|
-
export
|
|
211
|
-
export declare const ActSpec: z.ZodMiniObject<{
|
|
202
|
+
}, z.core.$strict>]>>;
|
|
203
|
+
export declare const ActSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
212
204
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
213
205
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
214
206
|
fromTheOtherEnd: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -297,16 +289,15 @@ export declare const ActSpec: z.ZodMiniObject<{
|
|
|
297
289
|
allowedWhen: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
298
290
|
refusal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
299
291
|
destructive: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
300
|
-
}, z.core.$strict
|
|
301
|
-
export
|
|
302
|
-
export declare const RepairSpec: z.ZodMiniObject<{
|
|
292
|
+
}, z.core.$strict>>;
|
|
293
|
+
export declare const RepairSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
303
294
|
act: z.ZodMiniString<string>;
|
|
304
295
|
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
305
296
|
args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull, z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniObject<{
|
|
306
297
|
expr: z.ZodMiniString<string>;
|
|
307
298
|
}, z.core.$strict>]>>>;
|
|
308
|
-
}, z.core.$strict
|
|
309
|
-
export declare const RuleSpec: z.ZodMiniObject<{
|
|
299
|
+
}, z.core.$strict>>;
|
|
300
|
+
export declare const RuleSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
310
301
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
311
302
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
312
303
|
over: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"graph">, z.ZodMiniString<string>]>;
|
|
@@ -320,26 +311,24 @@ export declare const RuleSpec: z.ZodMiniObject<{
|
|
|
320
311
|
expr: z.ZodMiniString<string>;
|
|
321
312
|
}, z.core.$strict>]>>>;
|
|
322
313
|
}, z.core.$strict>>>;
|
|
323
|
-
}, z.core.$strict
|
|
324
|
-
export
|
|
325
|
-
export declare const GrantSpec: z.ZodMiniObject<{
|
|
314
|
+
}, z.core.$strict>>;
|
|
315
|
+
export declare const GrantSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
326
316
|
roles: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
327
317
|
mutations: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
328
318
|
kinds: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>>;
|
|
329
319
|
describe: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
330
320
|
self: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
331
321
|
ownEnd: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
332
|
-
}, z.core.$strict
|
|
333
|
-
export declare const SightSpec: z.ZodMiniObject<{
|
|
322
|
+
}, z.core.$strict>>;
|
|
323
|
+
export declare const SightSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
334
324
|
roles: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
335
325
|
kinds: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
336
326
|
own: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
337
327
|
via: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
338
328
|
fields: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
339
329
|
hide: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
340
|
-
}, z.core.$strict
|
|
341
|
-
export
|
|
342
|
-
export declare const PolicySpec: z.ZodMiniObject<{
|
|
330
|
+
}, z.core.$strict>>;
|
|
331
|
+
export declare const PolicySpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
343
332
|
grants: z.ZodMiniArray<z.ZodMiniObject<{
|
|
344
333
|
roles: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
345
334
|
mutations: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
@@ -356,17 +345,8 @@ export declare const PolicySpec: z.ZodMiniObject<{
|
|
|
356
345
|
fields: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
357
346
|
hide: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
358
347
|
}, z.core.$strict>>>;
|
|
359
|
-
}, z.core.$strict
|
|
360
|
-
export
|
|
361
|
-
/**
|
|
362
|
-
* The installation's look and its money: an accent color the palette is
|
|
363
|
-
* derived from, and the currency and locale a sum is said in wherever a
|
|
364
|
-
* block names none (FR-100) — the locale its days, times and numbers are
|
|
365
|
-
* said in too (FR-178), "en-US" when absent — and the time zone its
|
|
366
|
-
* instants are said in (Roadmap f-app-time-zone), each reader's own clock
|
|
367
|
-
* when absent. Any of them may stand alone.
|
|
368
|
-
*/
|
|
369
|
-
export declare const BrandSpec: z.ZodMiniObject<{
|
|
348
|
+
}, z.core.$strict>>;
|
|
349
|
+
export declare const BrandSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
370
350
|
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
371
351
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
372
352
|
currency: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -375,6 +355,11 @@ export declare const BrandSpec: z.ZodMiniObject<{
|
|
|
375
355
|
logo: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
376
356
|
src: z.ZodMiniString<string>;
|
|
377
357
|
alt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
358
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
359
|
+
light: z.ZodMiniString<string>;
|
|
360
|
+
dark: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
361
|
+
alt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
362
|
+
darkFallback: z.ZodMiniOptional<z.ZodMiniLiteral<"invert">>;
|
|
378
363
|
}, z.core.$strict>]>>;
|
|
379
364
|
favicon: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
380
365
|
emoji: z.ZodMiniString<string>;
|
|
@@ -394,15 +379,8 @@ export declare const BrandSpec: z.ZodMiniObject<{
|
|
|
394
379
|
dark: "dark";
|
|
395
380
|
auto: "auto";
|
|
396
381
|
}>>;
|
|
397
|
-
}, z.core.$strict
|
|
398
|
-
export
|
|
399
|
-
/**
|
|
400
|
-
* THE ARRANGEMENT (FR-80): the kinds in order, the kinds the home leaves
|
|
401
|
-
* off, the place the app opens on. Loose enough that a document which
|
|
402
|
-
* carried anything else under `pages` before FR-80 — when it was accepted
|
|
403
|
-
* and ignored — still parses; `graview check` says what it cannot honor.
|
|
404
|
-
*/
|
|
405
|
-
export declare const PagesSpec: z.ZodMiniObject<{
|
|
382
|
+
}, z.core.$strict>>;
|
|
383
|
+
export declare const PagesSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
406
384
|
order: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
407
385
|
hide: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
408
386
|
first: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -431,8 +409,8 @@ export declare const PagesSpec: z.ZodMiniObject<{
|
|
|
431
409
|
closed: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
432
410
|
}, z.core.$strict>]>>;
|
|
433
411
|
}, z.core.$strict>>>;
|
|
434
|
-
}, z.core.$loose
|
|
435
|
-
export declare const DocumentSpec: z.ZodMiniObject<{
|
|
412
|
+
}, z.core.$loose>>;
|
|
413
|
+
export declare const DocumentSpec: z.ZodMiniLazy<z.ZodMiniObject<{
|
|
436
414
|
$schema: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
437
415
|
format: z.ZodMiniLiteral<"graview-document">;
|
|
438
416
|
formatVersion: z.ZodMiniLiteral<1>;
|
|
@@ -732,6 +710,11 @@ export declare const DocumentSpec: z.ZodMiniObject<{
|
|
|
732
710
|
logo: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
733
711
|
src: z.ZodMiniString<string>;
|
|
734
712
|
alt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
713
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
714
|
+
light: z.ZodMiniString<string>;
|
|
715
|
+
dark: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
716
|
+
alt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
717
|
+
darkFallback: z.ZodMiniOptional<z.ZodMiniLiteral<"invert">>;
|
|
735
718
|
}, z.core.$strict>]>>;
|
|
736
719
|
favicon: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
737
720
|
emoji: z.ZodMiniString<string>;
|
|
@@ -755,6 +738,17 @@ export declare const DocumentSpec: z.ZodMiniObject<{
|
|
|
755
738
|
settings: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
756
739
|
migrations: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
757
740
|
connections: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
758
|
-
}, z.core.$strict
|
|
741
|
+
}, z.core.$strict>>;
|
|
742
|
+
export type FieldSpec = z.infer<typeof FieldSpec>;
|
|
743
|
+
export type EdgeSpec = z.infer<typeof EdgeSpec>;
|
|
744
|
+
export type ComputedSpec = z.infer<typeof ComputedSpec>;
|
|
745
|
+
export type KindSpec = z.infer<typeof KindSpec>;
|
|
746
|
+
export type ValueSpec = z.infer<typeof ValueSpec>;
|
|
747
|
+
export type EffectSpec = z.infer<typeof EffectSpec>;
|
|
748
|
+
export type ActSpec = z.infer<typeof ActSpec>;
|
|
749
|
+
export type RuleSpec = z.infer<typeof RuleSpec>;
|
|
750
|
+
export type SightSpec = z.infer<typeof SightSpec>;
|
|
751
|
+
export type PolicySpec = z.infer<typeof PolicySpec>;
|
|
752
|
+
export type BrandSpec = z.infer<typeof BrandSpec>;
|
|
759
753
|
export type GraviewDocument = z.infer<typeof DocumentSpec>;
|
|
760
754
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/document/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,kBAAkB,CAAC;AAetC,eAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,eAAO,MAAM,kBAAkB,QAAa,CAAC;AAI7C,6DAA6D;AAC7D,eAAO,MAAM,IAAI,QAAoC,CAAC;AACtD,gFAAgF;AAChF,eAAO,MAAM,UAAU,QAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/document/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,kBAAkB,CAAC;AAetC,eAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,eAAO,MAAM,kBAAkB,QAAa,CAAC;AAI7C,6DAA6D;AAC7D,eAAO,MAAM,IAAI,QAAoC,CAAC;AACtD,gFAAgF;AAChF,eAAO,MAAM,UAAU,QAAwB,CAAC;AAGhD;;;;GAIG;AACH,eAAO,MAAM,SAAS,QAA0D,CAAC;AAEjF;;;;GAIG;AACH,eAAO,MAAM,WAAW,qLAAsL,CAAC;AAC/M,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAkarD,eAAO,MAAM,SAAS;;;;;;;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