@graview/core 0.1.4 → 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/capabilities.js +1 -1
- package/dist/capabilities.js.map +1 -1
- package/dist/document/compile.d.ts +14 -2
- package/dist/document/compile.d.ts.map +1 -1
- package/dist/document/compile.js +50 -24
- package/dist/document/compile.js.map +1 -1
- package/dist/document/graview-template.d.ts +2 -2
- package/dist/document/index.d.ts +1 -1
- package/dist/document/index.d.ts.map +1 -1
- package/dist/document/index.js +1 -1
- package/dist/document/index.js.map +1 -1
- package/dist/document/schema.d.ts +298 -298
- package/dist/document/schema.d.ts.map +1 -1
- package/dist/document/schema.js +125 -140
- package/dist/document/schema.js.map +1 -1
- package/dist/document/to-document.d.ts.map +1 -1
- package/dist/document/to-document.js +2 -1
- package/dist/document/to-document.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/mutations/define-mutation.d.ts +4 -1
- package/dist/mutations/define-mutation.d.ts.map +1 -1
- package/dist/mutations/define-mutation.js.map +1 -1
- package/dist/mutations/derive-edits.js +5 -5
- package/dist/mutations/derive-edits.js.map +1 -1
- package/dist/mutations/form.d.ts.map +1 -1
- package/dist/mutations/form.js +6 -5
- package/dist/mutations/form.js.map +1 -1
- package/dist/mutations/node-ref.d.ts +11 -3
- package/dist/mutations/node-ref.d.ts.map +1 -1
- package/dist/mutations/node-ref.js +25 -10
- package/dist/mutations/node-ref.js.map +1 -1
- package/dist/scaffold/project.d.ts.map +1 -1
- package/dist/scaffold/project.js +5 -0
- package/dist/scaffold/project.js.map +1 -1
- package/dist/schema/json-schema.d.ts +2 -3
- package/dist/schema/json-schema.d.ts.map +1 -1
- package/dist/schema/json-schema.js +4 -10
- package/dist/schema/json-schema.js.map +1 -1
- package/dist/schema/schema.js +2 -2
- package/dist/schema/schema.js.map +1 -1
- package/dist/schema/zod.d.ts +18 -0
- package/dist/schema/zod.d.ts.map +1 -0
- package/dist/schema/zod.js +44 -0
- package/dist/schema/zod.js.map +1 -0
- package/dist/store.d.ts +51 -7
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +57 -49
- package/dist/store.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as z from "../schema/zod.js";
|
|
2
2
|
export declare const FORMAT = "graview-document";
|
|
3
3
|
export declare const FORMAT_VERSION = 1;
|
|
4
4
|
export declare const MAX_DOCUMENT_BYTES: number;
|
|
@@ -14,238 +14,238 @@ export declare const FIELD_NAME: RegExp;
|
|
|
14
14
|
export declare const EDGE_NAME: RegExp;
|
|
15
15
|
export declare const FIELD_TYPES: readonly ["string", "text", "number", "integer", "boolean", "date", "datetime", "enum", "list", "url", "email"];
|
|
16
16
|
export type FieldType = (typeof FIELD_TYPES)[number];
|
|
17
|
-
export declare const FieldSpec: z.
|
|
18
|
-
type: z.
|
|
17
|
+
export declare const FieldSpec: z.ZodMiniObject<{
|
|
18
|
+
type: z.ZodMiniEnum<{
|
|
19
19
|
string: "string";
|
|
20
20
|
number: "number";
|
|
21
21
|
boolean: "boolean";
|
|
22
|
-
text: "text";
|
|
23
22
|
date: "date";
|
|
24
23
|
enum: "enum";
|
|
25
|
-
|
|
24
|
+
integer: "integer";
|
|
25
|
+
email: "email";
|
|
26
26
|
url: "url";
|
|
27
27
|
datetime: "datetime";
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
text: "text";
|
|
29
|
+
list: "list";
|
|
30
30
|
}>;
|
|
31
|
-
required: z.
|
|
32
|
-
description: z.
|
|
33
|
-
label: z.
|
|
34
|
-
options: z.
|
|
35
|
-
of: z.
|
|
31
|
+
required: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
32
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
33
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
34
|
+
options: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
35
|
+
of: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
36
36
|
string: "string";
|
|
37
37
|
number: "number";
|
|
38
38
|
date: "date";
|
|
39
39
|
}>>;
|
|
40
|
-
default: z.
|
|
41
|
-
unit: z.
|
|
42
|
-
format: z.
|
|
40
|
+
default: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
41
|
+
unit: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
42
|
+
format: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
43
|
+
duration: "duration";
|
|
43
44
|
money: "money";
|
|
44
45
|
percent: "percent";
|
|
45
|
-
duration: "duration";
|
|
46
46
|
}>>;
|
|
47
|
-
renamedFrom: z.
|
|
47
|
+
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
48
48
|
}, z.core.$strict>;
|
|
49
49
|
export type FieldSpec = z.infer<typeof FieldSpec>;
|
|
50
|
-
export declare const EdgeSpec: z.
|
|
51
|
-
to: z.
|
|
52
|
-
cardinality: z.
|
|
50
|
+
export declare const EdgeSpec: z.ZodMiniObject<{
|
|
51
|
+
to: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
52
|
+
cardinality: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
53
53
|
one: "one";
|
|
54
54
|
many: "many";
|
|
55
55
|
}>>;
|
|
56
|
-
description: z.
|
|
57
|
-
inverse: z.
|
|
58
|
-
appendOnly: z.
|
|
59
|
-
renamedFrom: z.
|
|
56
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
57
|
+
inverse: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
58
|
+
appendOnly: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
59
|
+
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
60
60
|
}, z.core.$strict>;
|
|
61
61
|
export type EdgeSpec = z.infer<typeof EdgeSpec>;
|
|
62
|
-
export declare const KindSpec: z.
|
|
63
|
-
noun: z.
|
|
64
|
-
plural: z.
|
|
65
|
-
description: z.
|
|
66
|
-
fields: z.
|
|
67
|
-
type: z.
|
|
62
|
+
export declare const KindSpec: z.ZodMiniObject<{
|
|
63
|
+
noun: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
64
|
+
plural: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
65
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
66
|
+
fields: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
67
|
+
type: z.ZodMiniEnum<{
|
|
68
68
|
string: "string";
|
|
69
69
|
number: "number";
|
|
70
70
|
boolean: "boolean";
|
|
71
|
-
text: "text";
|
|
72
71
|
date: "date";
|
|
73
72
|
enum: "enum";
|
|
74
|
-
|
|
73
|
+
integer: "integer";
|
|
74
|
+
email: "email";
|
|
75
75
|
url: "url";
|
|
76
76
|
datetime: "datetime";
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
text: "text";
|
|
78
|
+
list: "list";
|
|
79
79
|
}>;
|
|
80
|
-
required: z.
|
|
81
|
-
description: z.
|
|
82
|
-
label: z.
|
|
83
|
-
options: z.
|
|
84
|
-
of: z.
|
|
80
|
+
required: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
81
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
82
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
83
|
+
options: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
84
|
+
of: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
85
85
|
string: "string";
|
|
86
86
|
number: "number";
|
|
87
87
|
date: "date";
|
|
88
88
|
}>>;
|
|
89
|
-
default: z.
|
|
90
|
-
unit: z.
|
|
91
|
-
format: z.
|
|
89
|
+
default: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
90
|
+
unit: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
91
|
+
format: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
92
|
+
duration: "duration";
|
|
92
93
|
money: "money";
|
|
93
94
|
percent: "percent";
|
|
94
|
-
duration: "duration";
|
|
95
95
|
}>>;
|
|
96
|
-
renamedFrom: z.
|
|
96
|
+
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
97
97
|
}, z.core.$strict>>;
|
|
98
|
-
label: z.
|
|
99
|
-
describe: z.
|
|
100
|
-
lifecycle: z.
|
|
101
|
-
field: z.
|
|
102
|
-
retired: z.
|
|
98
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
99
|
+
describe: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
100
|
+
lifecycle: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
101
|
+
field: z.ZodMiniString<string>;
|
|
102
|
+
retired: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>]>>;
|
|
103
103
|
}, z.core.$strict>>;
|
|
104
|
-
figure: z.
|
|
105
|
-
glance: z.
|
|
106
|
-
edges: z.
|
|
107
|
-
to: z.
|
|
108
|
-
cardinality: z.
|
|
104
|
+
figure: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
105
|
+
glance: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
106
|
+
edges: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
107
|
+
to: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
108
|
+
cardinality: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
109
109
|
one: "one";
|
|
110
110
|
many: "many";
|
|
111
111
|
}>>;
|
|
112
|
-
description: z.
|
|
113
|
-
inverse: z.
|
|
114
|
-
appendOnly: z.
|
|
115
|
-
renamedFrom: z.
|
|
112
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
113
|
+
inverse: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
114
|
+
appendOnly: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
115
|
+
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
116
116
|
}, z.core.$strict>>>;
|
|
117
|
-
renamedFrom: z.
|
|
117
|
+
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
118
118
|
}, z.core.$strict>;
|
|
119
119
|
export type KindSpec = z.infer<typeof KindSpec>;
|
|
120
120
|
/** A value an effect writes: a literal, `$arg`, `$subject`, `$new`, `$now`, `$today`, or `{ expr }`. */
|
|
121
|
-
export declare const ValueSpec: z.
|
|
122
|
-
expr: z.
|
|
121
|
+
export declare const ValueSpec: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull, z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniObject<{
|
|
122
|
+
expr: z.ZodMiniString<string>;
|
|
123
123
|
}, z.core.$strict>]>;
|
|
124
124
|
export type ValueSpec = z.infer<typeof ValueSpec>;
|
|
125
|
-
export declare const EffectSpec: z.
|
|
126
|
-
create: z.
|
|
127
|
-
as: z.
|
|
128
|
-
set: z.
|
|
129
|
-
expr: z.
|
|
125
|
+
export declare const EffectSpec: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
126
|
+
create: z.ZodMiniString<string>;
|
|
127
|
+
as: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
128
|
+
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<{
|
|
129
|
+
expr: z.ZodMiniString<string>;
|
|
130
130
|
}, z.core.$strict>]>>>;
|
|
131
|
-
}, z.core.$strict>, z.
|
|
132
|
-
set: z.
|
|
133
|
-
expr: z.
|
|
131
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
132
|
+
set: 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<{
|
|
133
|
+
expr: z.ZodMiniString<string>;
|
|
134
134
|
}, z.core.$strict>]>>;
|
|
135
|
-
target: z.
|
|
136
|
-
}, z.core.$strict>, z.
|
|
137
|
-
connect: z.
|
|
138
|
-
from: z.
|
|
139
|
-
to: z.
|
|
140
|
-
}, z.core.$strict>, z.
|
|
141
|
-
sever: z.
|
|
142
|
-
from: z.
|
|
143
|
-
to: z.
|
|
144
|
-
}, z.core.$strict>, z.
|
|
145
|
-
remove: z.
|
|
135
|
+
target: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
136
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
137
|
+
connect: z.ZodMiniString<string>;
|
|
138
|
+
from: z.ZodMiniString<string>;
|
|
139
|
+
to: z.ZodMiniString<string>;
|
|
140
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
141
|
+
sever: z.ZodMiniString<string>;
|
|
142
|
+
from: z.ZodMiniString<string>;
|
|
143
|
+
to: z.ZodMiniString<string>;
|
|
144
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
145
|
+
remove: z.ZodMiniString<string>;
|
|
146
146
|
}, z.core.$strict>]>;
|
|
147
147
|
export type EffectSpec = z.infer<typeof EffectSpec>;
|
|
148
|
-
export declare const ActSpec: z.
|
|
149
|
-
title: z.
|
|
150
|
-
description: z.
|
|
151
|
-
fromTheOtherEnd: z.
|
|
152
|
-
on: z.
|
|
153
|
-
creates: z.
|
|
154
|
-
sets: z.
|
|
155
|
-
expr: z.
|
|
148
|
+
export declare const ActSpec: z.ZodMiniObject<{
|
|
149
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
150
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
151
|
+
fromTheOtherEnd: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
152
|
+
on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
153
|
+
creates: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
154
|
+
sets: 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<{
|
|
155
|
+
expr: z.ZodMiniString<string>;
|
|
156
156
|
}, z.core.$strict>]>>>;
|
|
157
|
-
writes: z.
|
|
158
|
-
connects: z.
|
|
159
|
-
severs: z.
|
|
160
|
-
removes: z.
|
|
161
|
-
args: z.
|
|
162
|
-
type: z.
|
|
157
|
+
writes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
158
|
+
connects: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
159
|
+
severs: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
160
|
+
removes: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
|
|
161
|
+
args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
162
|
+
type: z.ZodMiniEnum<{
|
|
163
163
|
string: "string";
|
|
164
164
|
number: "number";
|
|
165
165
|
boolean: "boolean";
|
|
166
|
-
text: "text";
|
|
167
166
|
date: "date";
|
|
168
167
|
enum: "enum";
|
|
169
|
-
|
|
168
|
+
integer: "integer";
|
|
169
|
+
email: "email";
|
|
170
170
|
url: "url";
|
|
171
171
|
datetime: "datetime";
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
text: "text";
|
|
173
|
+
list: "list";
|
|
174
174
|
}>;
|
|
175
|
-
required: z.
|
|
176
|
-
description: z.
|
|
177
|
-
label: z.
|
|
178
|
-
options: z.
|
|
179
|
-
of: z.
|
|
175
|
+
required: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
176
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
177
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
178
|
+
options: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
179
|
+
of: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
180
180
|
string: "string";
|
|
181
181
|
number: "number";
|
|
182
182
|
date: "date";
|
|
183
183
|
}>>;
|
|
184
|
-
default: z.
|
|
185
|
-
unit: z.
|
|
186
|
-
format: z.
|
|
184
|
+
default: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
185
|
+
unit: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
186
|
+
format: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
187
|
+
duration: "duration";
|
|
187
188
|
money: "money";
|
|
188
189
|
percent: "percent";
|
|
189
|
-
duration: "duration";
|
|
190
190
|
}>>;
|
|
191
|
-
renamedFrom: z.
|
|
191
|
+
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
192
192
|
}, z.core.$strict>>>;
|
|
193
|
-
effects: z.
|
|
194
|
-
create: z.
|
|
195
|
-
as: z.
|
|
196
|
-
set: z.
|
|
197
|
-
expr: z.
|
|
193
|
+
effects: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
194
|
+
create: z.ZodMiniString<string>;
|
|
195
|
+
as: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
196
|
+
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<{
|
|
197
|
+
expr: z.ZodMiniString<string>;
|
|
198
198
|
}, z.core.$strict>]>>>;
|
|
199
|
-
}, z.core.$strict>, z.
|
|
200
|
-
set: z.
|
|
201
|
-
expr: z.
|
|
199
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
200
|
+
set: 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<{
|
|
201
|
+
expr: z.ZodMiniString<string>;
|
|
202
202
|
}, z.core.$strict>]>>;
|
|
203
|
-
target: z.
|
|
204
|
-
}, z.core.$strict>, z.
|
|
205
|
-
connect: z.
|
|
206
|
-
from: z.
|
|
207
|
-
to: z.
|
|
208
|
-
}, z.core.$strict>, z.
|
|
209
|
-
sever: z.
|
|
210
|
-
from: z.
|
|
211
|
-
to: z.
|
|
212
|
-
}, z.core.$strict>, z.
|
|
213
|
-
remove: z.
|
|
203
|
+
target: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
204
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
205
|
+
connect: z.ZodMiniString<string>;
|
|
206
|
+
from: z.ZodMiniString<string>;
|
|
207
|
+
to: z.ZodMiniString<string>;
|
|
208
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
209
|
+
sever: z.ZodMiniString<string>;
|
|
210
|
+
from: z.ZodMiniString<string>;
|
|
211
|
+
to: z.ZodMiniString<string>;
|
|
212
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
213
|
+
remove: z.ZodMiniString<string>;
|
|
214
214
|
}, z.core.$strict>]>>>;
|
|
215
|
-
allowedWhen: z.
|
|
216
|
-
refusal: z.
|
|
217
|
-
destructive: z.
|
|
215
|
+
allowedWhen: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
216
|
+
refusal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
217
|
+
destructive: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
218
218
|
}, z.core.$strict>;
|
|
219
219
|
export type ActSpec = z.infer<typeof ActSpec>;
|
|
220
|
-
export declare const RepairSpec: z.
|
|
221
|
-
act: z.
|
|
222
|
-
label: z.
|
|
223
|
-
args: z.
|
|
224
|
-
expr: z.
|
|
220
|
+
export declare const RepairSpec: z.ZodMiniObject<{
|
|
221
|
+
act: z.ZodMiniString<string>;
|
|
222
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
223
|
+
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<{
|
|
224
|
+
expr: z.ZodMiniString<string>;
|
|
225
225
|
}, z.core.$strict>]>>>;
|
|
226
226
|
}, z.core.$strict>;
|
|
227
|
-
export declare const RuleSpec: z.
|
|
228
|
-
title: z.
|
|
229
|
-
description: z.
|
|
230
|
-
over: z.
|
|
231
|
-
when: z.
|
|
232
|
-
require: z.
|
|
233
|
-
says: z.
|
|
234
|
-
repairs: z.
|
|
235
|
-
act: z.
|
|
236
|
-
label: z.
|
|
237
|
-
args: z.
|
|
238
|
-
expr: z.
|
|
227
|
+
export declare const RuleSpec: z.ZodMiniObject<{
|
|
228
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
229
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
230
|
+
over: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"graph">, z.ZodMiniString<string>]>;
|
|
231
|
+
when: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
232
|
+
require: z.ZodMiniString<string>;
|
|
233
|
+
says: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
234
|
+
repairs: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
235
|
+
act: z.ZodMiniString<string>;
|
|
236
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
237
|
+
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<{
|
|
238
|
+
expr: z.ZodMiniString<string>;
|
|
239
239
|
}, z.core.$strict>]>>>;
|
|
240
240
|
}, z.core.$strict>>>;
|
|
241
241
|
}, z.core.$strict>;
|
|
242
242
|
export type RuleSpec = z.infer<typeof RuleSpec>;
|
|
243
|
-
export declare const GrantSpec: z.
|
|
244
|
-
roles: z.
|
|
245
|
-
mutations: z.
|
|
246
|
-
kinds: z.
|
|
247
|
-
describe: z.
|
|
248
|
-
self: z.
|
|
243
|
+
export declare const GrantSpec: z.ZodMiniObject<{
|
|
244
|
+
roles: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
245
|
+
mutations: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
246
|
+
kinds: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>>;
|
|
247
|
+
describe: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
248
|
+
self: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
249
249
|
}, z.core.$strict>;
|
|
250
250
|
/**
|
|
251
251
|
* Who sees which kinds — the framework's `Sight`, one meaning (FR-02).
|
|
@@ -253,209 +253,209 @@ export declare const GrantSpec: z.ZodObject<{
|
|
|
253
253
|
* by nobody but the system (a host that gives its owners everything serves
|
|
254
254
|
* them as the system, or names them in a sight).
|
|
255
255
|
*/
|
|
256
|
-
export declare const SightSpec: z.
|
|
257
|
-
roles: z.
|
|
258
|
-
kinds: z.
|
|
259
|
-
own: z.
|
|
256
|
+
export declare const SightSpec: z.ZodMiniObject<{
|
|
257
|
+
roles: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
258
|
+
kinds: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
259
|
+
own: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
260
260
|
}, z.core.$strict>;
|
|
261
261
|
export type SightSpec = z.infer<typeof SightSpec>;
|
|
262
|
-
export declare const PolicySpec: z.
|
|
263
|
-
grants: z.
|
|
264
|
-
roles: z.
|
|
265
|
-
mutations: z.
|
|
266
|
-
kinds: z.
|
|
267
|
-
describe: z.
|
|
268
|
-
self: z.
|
|
262
|
+
export declare const PolicySpec: z.ZodMiniObject<{
|
|
263
|
+
grants: z.ZodMiniArray<z.ZodMiniObject<{
|
|
264
|
+
roles: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
265
|
+
mutations: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
266
|
+
kinds: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>>;
|
|
267
|
+
describe: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
268
|
+
self: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
269
269
|
}, z.core.$strict>>;
|
|
270
|
-
sees: z.
|
|
271
|
-
roles: z.
|
|
272
|
-
kinds: z.
|
|
273
|
-
own: z.
|
|
270
|
+
sees: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
271
|
+
roles: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
272
|
+
kinds: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
273
|
+
own: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
274
274
|
}, z.core.$strict>>>;
|
|
275
275
|
}, z.core.$strict>;
|
|
276
276
|
export type PolicySpec = z.infer<typeof PolicySpec>;
|
|
277
|
-
export declare const BrandSpec: z.
|
|
278
|
-
accent: z.
|
|
279
|
-
name: z.
|
|
277
|
+
export declare const BrandSpec: z.ZodMiniObject<{
|
|
278
|
+
accent: z.ZodMiniString<string>;
|
|
279
|
+
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
280
280
|
}, z.core.$strict>;
|
|
281
|
-
export declare const DocumentSpec: z.
|
|
282
|
-
format: z.
|
|
283
|
-
formatVersion: z.
|
|
284
|
-
name: z.
|
|
285
|
-
description: z.
|
|
286
|
-
version: z.
|
|
287
|
-
kinds: z.
|
|
288
|
-
noun: z.
|
|
289
|
-
plural: z.
|
|
290
|
-
description: z.
|
|
291
|
-
fields: z.
|
|
292
|
-
type: z.
|
|
281
|
+
export declare const DocumentSpec: z.ZodMiniObject<{
|
|
282
|
+
format: z.ZodMiniLiteral<"graview-document">;
|
|
283
|
+
formatVersion: z.ZodMiniLiteral<1>;
|
|
284
|
+
name: z.ZodMiniString<string>;
|
|
285
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
286
|
+
version: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
287
|
+
kinds: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
288
|
+
noun: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
289
|
+
plural: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
290
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
291
|
+
fields: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
292
|
+
type: z.ZodMiniEnum<{
|
|
293
293
|
string: "string";
|
|
294
294
|
number: "number";
|
|
295
295
|
boolean: "boolean";
|
|
296
|
-
text: "text";
|
|
297
296
|
date: "date";
|
|
298
297
|
enum: "enum";
|
|
299
|
-
|
|
298
|
+
integer: "integer";
|
|
299
|
+
email: "email";
|
|
300
300
|
url: "url";
|
|
301
301
|
datetime: "datetime";
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
text: "text";
|
|
303
|
+
list: "list";
|
|
304
304
|
}>;
|
|
305
|
-
required: z.
|
|
306
|
-
description: z.
|
|
307
|
-
label: z.
|
|
308
|
-
options: z.
|
|
309
|
-
of: z.
|
|
305
|
+
required: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
306
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
307
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
308
|
+
options: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
309
|
+
of: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
310
310
|
string: "string";
|
|
311
311
|
number: "number";
|
|
312
312
|
date: "date";
|
|
313
313
|
}>>;
|
|
314
|
-
default: z.
|
|
315
|
-
unit: z.
|
|
316
|
-
format: z.
|
|
314
|
+
default: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
315
|
+
unit: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
316
|
+
format: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
317
|
+
duration: "duration";
|
|
317
318
|
money: "money";
|
|
318
319
|
percent: "percent";
|
|
319
|
-
duration: "duration";
|
|
320
320
|
}>>;
|
|
321
|
-
renamedFrom: z.
|
|
321
|
+
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
322
322
|
}, z.core.$strict>>;
|
|
323
|
-
label: z.
|
|
324
|
-
describe: z.
|
|
325
|
-
lifecycle: z.
|
|
326
|
-
field: z.
|
|
327
|
-
retired: z.
|
|
323
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
324
|
+
describe: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
325
|
+
lifecycle: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
326
|
+
field: z.ZodMiniString<string>;
|
|
327
|
+
retired: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>]>>;
|
|
328
328
|
}, z.core.$strict>>;
|
|
329
|
-
figure: z.
|
|
330
|
-
glance: z.
|
|
331
|
-
edges: z.
|
|
332
|
-
to: z.
|
|
333
|
-
cardinality: z.
|
|
329
|
+
figure: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
330
|
+
glance: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
331
|
+
edges: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
332
|
+
to: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
333
|
+
cardinality: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
334
334
|
one: "one";
|
|
335
335
|
many: "many";
|
|
336
336
|
}>>;
|
|
337
|
-
description: z.
|
|
338
|
-
inverse: z.
|
|
339
|
-
appendOnly: z.
|
|
340
|
-
renamedFrom: z.
|
|
337
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
338
|
+
inverse: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
339
|
+
appendOnly: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
340
|
+
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
341
341
|
}, z.core.$strict>>>;
|
|
342
|
-
renamedFrom: z.
|
|
342
|
+
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
343
343
|
}, z.core.$strict>>;
|
|
344
|
-
acts: z.
|
|
345
|
-
title: z.
|
|
346
|
-
description: z.
|
|
347
|
-
fromTheOtherEnd: z.
|
|
348
|
-
on: z.
|
|
349
|
-
creates: z.
|
|
350
|
-
sets: z.
|
|
351
|
-
expr: z.
|
|
344
|
+
acts: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
345
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
346
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
347
|
+
fromTheOtherEnd: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
348
|
+
on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
349
|
+
creates: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
350
|
+
sets: 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<{
|
|
351
|
+
expr: z.ZodMiniString<string>;
|
|
352
352
|
}, z.core.$strict>]>>>;
|
|
353
|
-
writes: z.
|
|
354
|
-
connects: z.
|
|
355
|
-
severs: z.
|
|
356
|
-
removes: z.
|
|
357
|
-
args: z.
|
|
358
|
-
type: z.
|
|
353
|
+
writes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
354
|
+
connects: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
355
|
+
severs: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
356
|
+
removes: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
|
|
357
|
+
args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
358
|
+
type: z.ZodMiniEnum<{
|
|
359
359
|
string: "string";
|
|
360
360
|
number: "number";
|
|
361
361
|
boolean: "boolean";
|
|
362
|
-
text: "text";
|
|
363
362
|
date: "date";
|
|
364
363
|
enum: "enum";
|
|
365
|
-
|
|
364
|
+
integer: "integer";
|
|
365
|
+
email: "email";
|
|
366
366
|
url: "url";
|
|
367
367
|
datetime: "datetime";
|
|
368
|
-
|
|
369
|
-
|
|
368
|
+
text: "text";
|
|
369
|
+
list: "list";
|
|
370
370
|
}>;
|
|
371
|
-
required: z.
|
|
372
|
-
description: z.
|
|
373
|
-
label: z.
|
|
374
|
-
options: z.
|
|
375
|
-
of: z.
|
|
371
|
+
required: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
372
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
373
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
374
|
+
options: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
375
|
+
of: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
376
376
|
string: "string";
|
|
377
377
|
number: "number";
|
|
378
378
|
date: "date";
|
|
379
379
|
}>>;
|
|
380
|
-
default: z.
|
|
381
|
-
unit: z.
|
|
382
|
-
format: z.
|
|
380
|
+
default: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
381
|
+
unit: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
382
|
+
format: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
383
|
+
duration: "duration";
|
|
383
384
|
money: "money";
|
|
384
385
|
percent: "percent";
|
|
385
|
-
duration: "duration";
|
|
386
386
|
}>>;
|
|
387
|
-
renamedFrom: z.
|
|
387
|
+
renamedFrom: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
388
388
|
}, z.core.$strict>>>;
|
|
389
|
-
effects: z.
|
|
390
|
-
create: z.
|
|
391
|
-
as: z.
|
|
392
|
-
set: z.
|
|
393
|
-
expr: z.
|
|
389
|
+
effects: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
390
|
+
create: z.ZodMiniString<string>;
|
|
391
|
+
as: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
392
|
+
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<{
|
|
393
|
+
expr: z.ZodMiniString<string>;
|
|
394
394
|
}, z.core.$strict>]>>>;
|
|
395
|
-
}, z.core.$strict>, z.
|
|
396
|
-
set: z.
|
|
397
|
-
expr: z.
|
|
395
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
396
|
+
set: 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<{
|
|
397
|
+
expr: z.ZodMiniString<string>;
|
|
398
398
|
}, z.core.$strict>]>>;
|
|
399
|
-
target: z.
|
|
400
|
-
}, z.core.$strict>, z.
|
|
401
|
-
connect: z.
|
|
402
|
-
from: z.
|
|
403
|
-
to: z.
|
|
404
|
-
}, z.core.$strict>, z.
|
|
405
|
-
sever: z.
|
|
406
|
-
from: z.
|
|
407
|
-
to: z.
|
|
408
|
-
}, z.core.$strict>, z.
|
|
409
|
-
remove: z.
|
|
399
|
+
target: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
400
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
401
|
+
connect: z.ZodMiniString<string>;
|
|
402
|
+
from: z.ZodMiniString<string>;
|
|
403
|
+
to: z.ZodMiniString<string>;
|
|
404
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
405
|
+
sever: z.ZodMiniString<string>;
|
|
406
|
+
from: z.ZodMiniString<string>;
|
|
407
|
+
to: z.ZodMiniString<string>;
|
|
408
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
409
|
+
remove: z.ZodMiniString<string>;
|
|
410
410
|
}, z.core.$strict>]>>>;
|
|
411
|
-
allowedWhen: z.
|
|
412
|
-
refusal: z.
|
|
413
|
-
destructive: z.
|
|
411
|
+
allowedWhen: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
412
|
+
refusal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
413
|
+
destructive: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
414
414
|
}, z.core.$strict>>>;
|
|
415
|
-
rules: z.
|
|
416
|
-
title: z.
|
|
417
|
-
description: z.
|
|
418
|
-
over: z.
|
|
419
|
-
when: z.
|
|
420
|
-
require: z.
|
|
421
|
-
says: z.
|
|
422
|
-
repairs: z.
|
|
423
|
-
act: z.
|
|
424
|
-
label: z.
|
|
425
|
-
args: z.
|
|
426
|
-
expr: z.
|
|
415
|
+
rules: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
416
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
417
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
418
|
+
over: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"graph">, z.ZodMiniString<string>]>;
|
|
419
|
+
when: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
420
|
+
require: z.ZodMiniString<string>;
|
|
421
|
+
says: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
422
|
+
repairs: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
423
|
+
act: z.ZodMiniString<string>;
|
|
424
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
425
|
+
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<{
|
|
426
|
+
expr: z.ZodMiniString<string>;
|
|
427
427
|
}, z.core.$strict>]>>>;
|
|
428
428
|
}, z.core.$strict>>>;
|
|
429
429
|
}, z.core.$strict>>>;
|
|
430
|
-
roles: z.
|
|
431
|
-
policy: z.
|
|
432
|
-
grants: z.
|
|
433
|
-
roles: z.
|
|
434
|
-
mutations: z.
|
|
435
|
-
kinds: z.
|
|
436
|
-
describe: z.
|
|
437
|
-
self: z.
|
|
430
|
+
roles: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
431
|
+
policy: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
432
|
+
grants: z.ZodMiniArray<z.ZodMiniObject<{
|
|
433
|
+
roles: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
434
|
+
mutations: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
435
|
+
kinds: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>>;
|
|
436
|
+
describe: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
437
|
+
self: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
438
438
|
}, z.core.$strict>>;
|
|
439
|
-
sees: z.
|
|
440
|
-
roles: z.
|
|
441
|
-
kinds: z.
|
|
442
|
-
own: z.
|
|
439
|
+
sees: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
440
|
+
roles: z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniLiteral<"*">]>;
|
|
441
|
+
kinds: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
442
|
+
own: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
443
443
|
}, z.core.$strict>>>;
|
|
444
444
|
}, z.core.$strict>>;
|
|
445
|
-
modules: z.
|
|
446
|
-
lenses: z.
|
|
447
|
-
pages: z.
|
|
448
|
-
views: z.
|
|
449
|
-
card: z.
|
|
450
|
-
row: z.
|
|
451
|
-
page: z.
|
|
445
|
+
modules: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
446
|
+
lenses: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
447
|
+
pages: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
448
|
+
views: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
449
|
+
card: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnknown>>;
|
|
450
|
+
row: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnknown>>;
|
|
451
|
+
page: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnknown>>;
|
|
452
452
|
}, z.core.$strict>>>;
|
|
453
|
-
brand: z.
|
|
454
|
-
accent: z.
|
|
455
|
-
name: z.
|
|
453
|
+
brand: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
454
|
+
accent: z.ZodMiniString<string>;
|
|
455
|
+
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
456
456
|
}, z.core.$strict>>;
|
|
457
|
-
settings: z.
|
|
458
|
-
migrations: z.
|
|
457
|
+
settings: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
458
|
+
migrations: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
459
459
|
}, z.core.$strict>;
|
|
460
460
|
export type GraviewDocument = z.infer<typeof DocumentSpec>;
|
|
461
461
|
//# sourceMappingURL=schema.d.ts.map
|