@astrale-os/kernel-core 0.9.0-beta.25 → 0.9.0-beta.27
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/CHANGELOG.md +23 -0
- package/dist/dns-label.d.ts +1 -2
- package/dist/dns-label.js +2 -3
- package/dist/graph/graph/model/wire.d.ts +78 -78
- package/dist/graph/graph/model/wire.js +18 -19
- package/dist/graph/mutate/language/wire.d.ts +215 -215
- package/dist/graph/mutate/language/wire.js +42 -47
- package/dist/graph/mutate/result/wire.d.ts +3 -4
- package/dist/graph/mutate/result/wire.js +4 -4
- package/dist/graph/node/identity/id.d.ts +1 -2
- package/dist/graph/node/identity/id.js +2 -3
- package/dist/graph/query/language/wire.d.ts +113 -114
- package/dist/graph/query/language/wire.js +47 -47
- package/dist/graph/query/result/wire.d.ts +93 -94
- package/dist/graph/query/result/wire.js +20 -20
- package/dist/schema/authority/claims.d.ts +24 -25
- package/dist/schema/authority/claims.js +8 -8
- package/dist/schema/installation/operation-id.d.ts +1 -2
- package/dist/schema/installation/operation-id.js +2 -4
- package/dist/schema/kernel/schema.d.ts +255 -255
- package/dist/schema/kernel/syscalls/contracts/admit.d.ts +11 -12
- package/dist/schema/kernel/syscalls/contracts/admit.js +9 -9
- package/dist/schema/kernel/syscalls/contracts/can.d.ts +7 -8
- package/dist/schema/kernel/syscalls/contracts/can.js +4 -4
- package/dist/schema/kernel/syscalls/contracts/delegate.d.ts +6 -7
- package/dist/schema/kernel/syscalls/contracts/delegate.js +5 -5
- package/dist/schema/kernel/syscalls/contracts/expected.d.ts +4 -5
- package/dist/schema/kernel/syscalls/contracts/expected.js +5 -5
- package/dist/schema/kernel/syscalls/contracts/identity.d.ts +18 -19
- package/dist/schema/kernel/syscalls/contracts/identity.js +6 -6
- package/dist/schema/kernel/syscalls/contracts/install.d.ts +67 -68
- package/dist/schema/kernel/syscalls/contracts/install.js +9 -9
- package/dist/schema/kernel/syscalls/contracts/installation.d.ts +72 -73
- package/dist/schema/kernel/syscalls/contracts/installation.js +12 -12
- package/dist/schema/kernel/syscalls/contracts/introspect.d.ts +4 -5
- package/dist/schema/kernel/syscalls/contracts/introspect.js +4 -4
- package/dist/schema/kernel/syscalls/contracts/journal.d.ts +26 -27
- package/dist/schema/kernel/syscalls/contracts/journal.js +15 -15
- package/dist/schema/kernel/syscalls/contracts/mint.d.ts +6 -7
- package/dist/schema/kernel/syscalls/contracts/mint.js +5 -5
- package/dist/schema/kernel/syscalls/contracts/mutate.d.ts +223 -224
- package/dist/schema/kernel/syscalls/contracts/mutate.js +2 -2
- package/dist/schema/kernel/syscalls/contracts/provision.d.ts +267 -268
- package/dist/schema/kernel/syscalls/contracts/provision.js +15 -17
- package/dist/schema/kernel/syscalls/contracts/query.d.ts +221 -222
- package/dist/schema/kernel/syscalls/contracts/query.js +7 -7
- package/dist/schema/kernel/syscalls/contracts/uninstall.d.ts +36 -37
- package/dist/schema/kernel/syscalls/contracts/uninstall.js +3 -3
- package/dist/schema/kernel/syscalls/contracts/view-resolve.d.ts +31 -32
- package/dist/schema/kernel/syscalls/contracts/view-resolve.js +23 -23
- package/dist/schema/kernel/syscalls/contracts/whoami.d.ts +19 -20
- package/dist/schema/kernel/syscalls/contracts/whoami.js +2 -2
- package/dist/schema/kernel/syscalls/contracts/whois.d.ts +22 -23
- package/dist/schema/kernel/syscalls/contracts/whois.js +3 -3
- package/package.json +2 -2
|
@@ -1,258 +1,257 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
direction: z.ZodEnum<{
|
|
1
|
+
export declare const mutateInput: import("zod").ZodObject<{
|
|
2
|
+
ast: import("zod").ZodObject<{
|
|
3
|
+
format: import("zod").ZodLiteral<"astrale.graph.mutation">;
|
|
4
|
+
version: import("zod").ZodLiteral<"v3">;
|
|
5
|
+
preconditions: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
6
|
+
kind: import("zod").ZodLiteral<"node">;
|
|
7
|
+
node: import("zod").ZodString;
|
|
8
|
+
class: import("zod").ZodString;
|
|
9
|
+
props: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
10
|
+
equals: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
11
|
+
absent: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
12
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
13
|
+
absent: import("zod").ZodArray<import("zod").ZodString>;
|
|
14
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
15
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
16
|
+
kind: import("zod").ZodLiteral<"edge">;
|
|
17
|
+
edge: import("zod").ZodObject<{
|
|
18
|
+
source: import("zod").ZodString;
|
|
19
|
+
target: import("zod").ZodString;
|
|
20
|
+
class: import("zod").ZodString;
|
|
21
|
+
}, import("zod/v4/core").$strict>;
|
|
22
|
+
slug: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodType<import("../../../../graph/edge/index.js").EdgeSlug, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../../../graph/edge/index.js").EdgeSlug, unknown>>>>;
|
|
23
|
+
props: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
24
|
+
equals: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
25
|
+
absent: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
26
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
27
|
+
absent: import("zod").ZodArray<import("zod").ZodString>;
|
|
28
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
29
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
30
|
+
kind: import("zod").ZodLiteral<"query">;
|
|
31
|
+
query: import("zod").ZodObject<{
|
|
32
|
+
format: import("zod").ZodLiteral<"astrale.graph.query">;
|
|
33
|
+
version: import("zod").ZodLiteral<"v6">;
|
|
34
|
+
source: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
35
|
+
kind: import("zod").ZodLiteral<"node">;
|
|
36
|
+
terms: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
37
|
+
kind: import("zod").ZodLiteral<"path">;
|
|
38
|
+
path: import("zod").ZodString;
|
|
39
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
40
|
+
kind: import("zod").ZodLiteral<"class">;
|
|
41
|
+
class: import("zod").ZodObject<{
|
|
42
|
+
origin: import("zod").ZodString;
|
|
43
|
+
kind: import("zod").ZodLiteral<"class">;
|
|
44
|
+
name: import("zod").ZodString;
|
|
45
|
+
}, import("zod/v4/core").$strict>;
|
|
46
|
+
}, import("zod/v4/core").$strict>], "kind">>;
|
|
47
|
+
binding: import("zod").ZodString;
|
|
48
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
49
|
+
kind: import("zod").ZodLiteral<"edge">;
|
|
50
|
+
terms: import("zod").ZodArray<import("zod").ZodObject<{
|
|
51
|
+
kind: import("zod").ZodLiteral<"class">;
|
|
52
|
+
class: import("zod").ZodObject<{
|
|
53
|
+
origin: import("zod").ZodString;
|
|
54
|
+
kind: import("zod").ZodLiteral<"class">;
|
|
55
|
+
name: import("zod").ZodString;
|
|
56
|
+
}, import("zod/v4/core").$strict>;
|
|
57
|
+
}, import("zod/v4/core").$strict>>;
|
|
58
|
+
bindings: import("zod").ZodObject<{
|
|
59
|
+
source: import("zod").ZodString;
|
|
60
|
+
edge: import("zod").ZodString;
|
|
61
|
+
target: import("zod").ZodString;
|
|
62
|
+
}, import("zod/v4/core").$strict>;
|
|
63
|
+
}, import("zod/v4/core").$strict>], "kind">;
|
|
64
|
+
steps: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
65
|
+
op: import("zod").ZodLiteral<"filter">;
|
|
66
|
+
binding: import("zod").ZodString;
|
|
67
|
+
predicate: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
68
|
+
kind: import("zod").ZodLiteral<"class.satisfies">;
|
|
69
|
+
class: import("zod").ZodObject<{
|
|
70
|
+
origin: import("zod").ZodString;
|
|
71
|
+
kind: import("zod").ZodLiteral<"class">;
|
|
72
|
+
name: import("zod").ZodString;
|
|
73
|
+
}, import("zod/v4/core").$strict>;
|
|
74
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
75
|
+
kind: import("zod").ZodLiteral<"class.equal">;
|
|
76
|
+
class: import("zod").ZodObject<{
|
|
77
|
+
origin: import("zod").ZodString;
|
|
78
|
+
kind: import("zod").ZodLiteral<"class">;
|
|
79
|
+
name: import("zod").ZodString;
|
|
80
|
+
}, import("zod/v4/core").$strict>;
|
|
81
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
82
|
+
kind: import("zod").ZodLiteral<"property.equal">;
|
|
83
|
+
property: import("zod").ZodString;
|
|
84
|
+
value: import("zod").ZodUnknown;
|
|
85
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
86
|
+
kind: import("zod").ZodLiteral<"property.present">;
|
|
87
|
+
property: import("zod").ZodString;
|
|
88
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
89
|
+
kind: import("zod").ZodLiteral<"identity.equal">;
|
|
90
|
+
identity: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodObject<{
|
|
91
|
+
source: import("zod").ZodString;
|
|
92
|
+
target: import("zod").ZodString;
|
|
93
|
+
class: import("zod").ZodString;
|
|
94
|
+
}, import("zod/v4/core").$strict>]>;
|
|
95
|
+
}, import("zod/v4/core").$strict>], "kind">;
|
|
96
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
97
|
+
op: import("zod").ZodLiteral<"expand">;
|
|
98
|
+
from: import("zod").ZodString;
|
|
99
|
+
via: import("zod").ZodArray<import("zod").ZodObject<{
|
|
100
|
+
origin: import("zod").ZodString;
|
|
101
|
+
kind: import("zod").ZodLiteral<"class">;
|
|
102
|
+
name: import("zod").ZodString;
|
|
103
|
+
}, import("zod/v4/core").$strict>>;
|
|
104
|
+
direction: import("zod").ZodEnum<{
|
|
106
105
|
incident: "incident";
|
|
107
106
|
incoming: "incoming";
|
|
108
107
|
outgoing: "outgoing";
|
|
109
108
|
}>;
|
|
110
|
-
bindings:
|
|
111
|
-
edge:
|
|
112
|
-
node:
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
select:
|
|
116
|
-
kind:
|
|
117
|
-
binding:
|
|
118
|
-
order:
|
|
119
|
-
property:
|
|
120
|
-
direction:
|
|
109
|
+
bindings: import("zod").ZodObject<{
|
|
110
|
+
edge: import("zod").ZodString;
|
|
111
|
+
node: import("zod").ZodString;
|
|
112
|
+
}, import("zod/v4/core").$strict>;
|
|
113
|
+
}, import("zod/v4/core").$strict>], "op">>;
|
|
114
|
+
select: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
115
|
+
kind: import("zod").ZodLiteral<"graph">;
|
|
116
|
+
binding: import("zod").ZodString;
|
|
117
|
+
order: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
118
|
+
property: import("zod").ZodString;
|
|
119
|
+
direction: import("zod").ZodEnum<{
|
|
121
120
|
asc: "asc";
|
|
122
121
|
desc: "desc";
|
|
123
122
|
}>;
|
|
124
|
-
unranked:
|
|
123
|
+
unranked: import("zod").ZodEnum<{
|
|
125
124
|
first: "first";
|
|
126
125
|
last: "last";
|
|
127
126
|
}>;
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
kind:
|
|
131
|
-
binding:
|
|
132
|
-
projection:
|
|
133
|
-
kind:
|
|
127
|
+
}, import("zod/v4/core").$strict>>;
|
|
128
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
129
|
+
kind: import("zod").ZodLiteral<"nodes">;
|
|
130
|
+
binding: import("zod").ZodString;
|
|
131
|
+
projection: import("zod").ZodObject<{
|
|
132
|
+
kind: import("zod").ZodEnum<{
|
|
134
133
|
reference: "reference";
|
|
135
134
|
value: "value";
|
|
136
135
|
}>;
|
|
137
|
-
},
|
|
138
|
-
order:
|
|
139
|
-
property:
|
|
140
|
-
direction:
|
|
136
|
+
}, import("zod/v4/core").$strict>;
|
|
137
|
+
order: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
138
|
+
property: import("zod").ZodString;
|
|
139
|
+
direction: import("zod").ZodEnum<{
|
|
141
140
|
asc: "asc";
|
|
142
141
|
desc: "desc";
|
|
143
142
|
}>;
|
|
144
|
-
unranked:
|
|
143
|
+
unranked: import("zod").ZodEnum<{
|
|
145
144
|
first: "first";
|
|
146
145
|
last: "last";
|
|
147
146
|
}>;
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
kind:
|
|
151
|
-
binding:
|
|
152
|
-
projection:
|
|
153
|
-
edge:
|
|
147
|
+
}, import("zod/v4/core").$strict>>;
|
|
148
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
149
|
+
kind: import("zod").ZodLiteral<"edges">;
|
|
150
|
+
binding: import("zod").ZodString;
|
|
151
|
+
projection: import("zod").ZodObject<{
|
|
152
|
+
edge: import("zod").ZodEnum<{
|
|
154
153
|
reference: "reference";
|
|
155
154
|
value: "value";
|
|
156
155
|
}>;
|
|
157
|
-
source:
|
|
156
|
+
source: import("zod").ZodEnum<{
|
|
158
157
|
reference: "reference";
|
|
159
158
|
value: "value";
|
|
160
159
|
}>;
|
|
161
|
-
target:
|
|
160
|
+
target: import("zod").ZodEnum<{
|
|
162
161
|
reference: "reference";
|
|
163
162
|
value: "value";
|
|
164
163
|
}>;
|
|
165
|
-
},
|
|
166
|
-
order:
|
|
167
|
-
property:
|
|
168
|
-
direction:
|
|
164
|
+
}, import("zod/v4/core").$strict>;
|
|
165
|
+
order: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
166
|
+
property: import("zod").ZodString;
|
|
167
|
+
direction: import("zod").ZodEnum<{
|
|
169
168
|
asc: "asc";
|
|
170
169
|
desc: "desc";
|
|
171
170
|
}>;
|
|
172
|
-
unranked:
|
|
171
|
+
unranked: import("zod").ZodEnum<{
|
|
173
172
|
first: "first";
|
|
174
173
|
last: "last";
|
|
175
174
|
}>;
|
|
176
|
-
},
|
|
177
|
-
},
|
|
178
|
-
},
|
|
179
|
-
equals:
|
|
180
|
-
kind:
|
|
181
|
-
ids:
|
|
182
|
-
},
|
|
183
|
-
kind:
|
|
184
|
-
keys:
|
|
185
|
-
source:
|
|
186
|
-
target:
|
|
187
|
-
class:
|
|
188
|
-
},
|
|
189
|
-
},
|
|
190
|
-
},
|
|
191
|
-
operations:
|
|
192
|
-
op:
|
|
193
|
-
as:
|
|
194
|
-
class:
|
|
195
|
-
props:
|
|
196
|
-
},
|
|
197
|
-
op:
|
|
198
|
-
node:
|
|
199
|
-
class:
|
|
200
|
-
props:
|
|
201
|
-
set:
|
|
202
|
-
unset:
|
|
203
|
-
},
|
|
204
|
-
},
|
|
205
|
-
op:
|
|
206
|
-
node:
|
|
207
|
-
class:
|
|
208
|
-
},
|
|
209
|
-
op:
|
|
210
|
-
class:
|
|
211
|
-
source:
|
|
212
|
-
created:
|
|
213
|
-
},
|
|
214
|
-
target:
|
|
215
|
-
created:
|
|
216
|
-
},
|
|
217
|
-
slug:
|
|
218
|
-
props:
|
|
219
|
-
},
|
|
220
|
-
op:
|
|
221
|
-
edge:
|
|
222
|
-
source:
|
|
223
|
-
target:
|
|
224
|
-
class:
|
|
225
|
-
},
|
|
226
|
-
slug:
|
|
227
|
-
props:
|
|
228
|
-
set:
|
|
229
|
-
unset:
|
|
230
|
-
},
|
|
231
|
-
},
|
|
232
|
-
op:
|
|
233
|
-
edge:
|
|
234
|
-
source:
|
|
235
|
-
target:
|
|
236
|
-
class:
|
|
237
|
-
},
|
|
238
|
-
props:
|
|
239
|
-
set:
|
|
240
|
-
unset:
|
|
241
|
-
},
|
|
242
|
-
},
|
|
243
|
-
op:
|
|
244
|
-
edge:
|
|
245
|
-
source:
|
|
246
|
-
target:
|
|
247
|
-
class:
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
|
-
},
|
|
251
|
-
expected:
|
|
252
|
-
origin:
|
|
253
|
-
revision:
|
|
254
|
-
},
|
|
255
|
-
},
|
|
256
|
-
export declare const mutateOutput:
|
|
257
|
-
createdNodes:
|
|
258
|
-
},
|
|
175
|
+
}, import("zod/v4/core").$strict>>;
|
|
176
|
+
}, import("zod/v4/core").$strict>], "kind">;
|
|
177
|
+
}, import("zod/v4/core").$strict>;
|
|
178
|
+
equals: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
179
|
+
kind: import("zod").ZodLiteral<"node">;
|
|
180
|
+
ids: import("zod").ZodArray<import("zod").ZodString>;
|
|
181
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
182
|
+
kind: import("zod").ZodLiteral<"edge">;
|
|
183
|
+
keys: import("zod").ZodArray<import("zod").ZodObject<{
|
|
184
|
+
source: import("zod").ZodString;
|
|
185
|
+
target: import("zod").ZodString;
|
|
186
|
+
class: import("zod").ZodString;
|
|
187
|
+
}, import("zod/v4/core").$strict>>;
|
|
188
|
+
}, import("zod/v4/core").$strict>], "kind">;
|
|
189
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
190
|
+
operations: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
191
|
+
op: import("zod").ZodLiteral<"node.create">;
|
|
192
|
+
as: import("zod").ZodString;
|
|
193
|
+
class: import("zod").ZodString;
|
|
194
|
+
props: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
195
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
196
|
+
op: import("zod").ZodLiteral<"node.update">;
|
|
197
|
+
node: import("zod").ZodString;
|
|
198
|
+
class: import("zod").ZodString;
|
|
199
|
+
props: import("zod").ZodObject<{
|
|
200
|
+
set: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
201
|
+
unset: import("zod").ZodArray<import("zod").ZodString>;
|
|
202
|
+
}, import("zod/v4/core").$strict>;
|
|
203
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
204
|
+
op: import("zod").ZodLiteral<"node.delete">;
|
|
205
|
+
node: import("zod").ZodString;
|
|
206
|
+
class: import("zod").ZodString;
|
|
207
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
208
|
+
op: import("zod").ZodLiteral<"edge.create">;
|
|
209
|
+
class: import("zod").ZodString;
|
|
210
|
+
source: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodObject<{
|
|
211
|
+
created: import("zod").ZodString;
|
|
212
|
+
}, import("zod/v4/core").$strict>]>;
|
|
213
|
+
target: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodObject<{
|
|
214
|
+
created: import("zod").ZodString;
|
|
215
|
+
}, import("zod/v4/core").$strict>]>;
|
|
216
|
+
slug: import("zod").ZodOptional<import("zod").ZodType<import("../../../../graph/edge/index.js").EdgeSlug, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../../../graph/edge/index.js").EdgeSlug, unknown>>>;
|
|
217
|
+
props: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
218
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
219
|
+
op: import("zod").ZodLiteral<"edge.update">;
|
|
220
|
+
edge: import("zod").ZodObject<{
|
|
221
|
+
source: import("zod").ZodString;
|
|
222
|
+
target: import("zod").ZodString;
|
|
223
|
+
class: import("zod").ZodString;
|
|
224
|
+
}, import("zod/v4/core").$strict>;
|
|
225
|
+
slug: import("zod").ZodNullable<import("zod").ZodType<import("../../../../graph/edge/index.js").EdgeSlug, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../../../graph/edge/index.js").EdgeSlug, unknown>>>;
|
|
226
|
+
props: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
227
|
+
set: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
228
|
+
unset: import("zod").ZodArray<import("zod").ZodString>;
|
|
229
|
+
}, import("zod/v4/core").$strict>>;
|
|
230
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
231
|
+
op: import("zod").ZodLiteral<"edge.update">;
|
|
232
|
+
edge: import("zod").ZodObject<{
|
|
233
|
+
source: import("zod").ZodString;
|
|
234
|
+
target: import("zod").ZodString;
|
|
235
|
+
class: import("zod").ZodString;
|
|
236
|
+
}, import("zod/v4/core").$strict>;
|
|
237
|
+
props: import("zod").ZodObject<{
|
|
238
|
+
set: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
239
|
+
unset: import("zod").ZodArray<import("zod").ZodString>;
|
|
240
|
+
}, import("zod/v4/core").$strict>;
|
|
241
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
242
|
+
op: import("zod").ZodLiteral<"edge.delete">;
|
|
243
|
+
edge: import("zod").ZodObject<{
|
|
244
|
+
source: import("zod").ZodString;
|
|
245
|
+
target: import("zod").ZodString;
|
|
246
|
+
class: import("zod").ZodString;
|
|
247
|
+
}, import("zod/v4/core").$strict>;
|
|
248
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
249
|
+
}, import("zod/v4/core").$strict>;
|
|
250
|
+
expected: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
251
|
+
origin: import("zod").ZodString;
|
|
252
|
+
revision: import("zod").ZodString;
|
|
253
|
+
}, import("zod/v4/core").$strict>>>;
|
|
254
|
+
}, import("zod/v4/core").$strict>;
|
|
255
|
+
export declare const mutateOutput: import("zod").ZodObject<{
|
|
256
|
+
createdNodes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
257
|
+
}, import("zod/v4/core").$strict>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { strictObject } from 'zod';
|
|
2
2
|
import { mutationAstSchema, mutationResultSchema } from '#graph/mutate/wire';
|
|
3
3
|
import { domainExpectations } from './expected.js';
|
|
4
|
-
export const mutateInput =
|
|
4
|
+
export const mutateInput = strictObject({
|
|
5
5
|
ast: mutationAstSchema,
|
|
6
6
|
expected: domainExpectations.optional(),
|
|
7
7
|
});
|