@abloatai/transaction 0.38.0 → 0.40.0
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/auth/index.d.ts +16 -2
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +10 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/coordination/events.d.ts +9 -0
- package/dist/coordination/events.d.ts.map +1 -1
- package/dist/coordination/index.d.ts +2 -2
- package/dist/coordination/index.d.ts.map +1 -1
- package/dist/coordination/index.js +1 -1
- package/dist/coordination/index.js.map +1 -1
- package/dist/coordination/schema.d.ts +226 -34
- package/dist/coordination/schema.d.ts.map +1 -1
- package/dist/coordination/schema.js +180 -48
- package/dist/coordination/schema.js.map +1 -1
- package/dist/coordination/trace.d.ts.map +1 -1
- package/dist/coordination/trace.js +9 -1
- package/dist/coordination/trace.js.map +1 -1
- package/dist/errorCodes.d.ts +6 -0
- package/dist/errorCodes.d.ts.map +1 -1
- package/dist/errorCodes.js +6 -0
- package/dist/errorCodes.js.map +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +9 -2
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/policy/types.d.ts +10 -2
- package/dist/policy/types.d.ts.map +1 -1
- package/dist/policy/types.js.map +1 -1
- package/dist/pricing.d.ts +194 -0
- package/dist/pricing.d.ts.map +1 -0
- package/dist/pricing.js +330 -0
- package/dist/pricing.js.map +1 -0
- package/dist/resources/functionalUpdate.d.ts.map +1 -1
- package/dist/resources/functionalUpdate.js +8 -8
- package/dist/resources/functionalUpdate.js.map +1 -1
- package/dist/schema/index.d.ts +2 -2
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +2 -2
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/roles.d.ts +19 -0
- package/dist/schema/roles.d.ts.map +1 -1
- package/dist/schema/roles.js +23 -3
- package/dist/schema/roles.js.map +1 -1
- package/dist/schema/schema.d.ts +13 -1
- package/dist/schema/schema.d.ts.map +1 -1
- package/dist/schema/schema.js +1 -1
- package/dist/schema/schema.js.map +1 -1
- package/dist/schema/select.d.ts +13 -0
- package/dist/schema/select.d.ts.map +1 -1
- package/dist/schema/select.js +26 -0
- package/dist/schema/select.js.map +1 -1
- package/dist/schema/tenancy.d.ts +1 -1
- package/dist/transactions/settlement/commitEnvelope.d.ts +10 -2
- package/dist/transactions/settlement/commitEnvelope.d.ts.map +1 -1
- package/dist/transactions/settlement/pendingWrite.d.ts +10 -2
- package/dist/transactions/settlement/pendingWrite.d.ts.map +1 -1
- package/dist/transport/httpClient.d.ts.map +1 -1
- package/dist/transport/httpClient.js +10 -1
- package/dist/transport/httpClient.js.map +1 -1
- package/dist/transport/wsFrameHandlers.d.ts.map +1 -1
- package/dist/transport/wsFrameHandlers.js +9 -3
- package/dist/transport/wsFrameHandlers.js.map +1 -1
- package/dist/wire/accountResponses.d.ts +100 -0
- package/dist/wire/accountResponses.d.ts.map +1 -1
- package/dist/wire/accountResponses.js +70 -0
- package/dist/wire/accountResponses.js.map +1 -1
- package/dist/wire/auth.d.ts +7 -1
- package/dist/wire/auth.d.ts.map +1 -1
- package/dist/wire/auth.js +26 -3
- package/dist/wire/auth.js.map +1 -1
- package/dist/wire/commit.d.ts +708 -100
- package/dist/wire/commit.d.ts.map +1 -1
- package/dist/wire/dataSourceResponses.d.ts +171 -0
- package/dist/wire/dataSourceResponses.d.ts.map +1 -0
- package/dist/wire/dataSourceResponses.js +168 -0
- package/dist/wire/dataSourceResponses.js.map +1 -0
- package/dist/wire/frames.d.ts +20 -4
- package/dist/wire/frames.d.ts.map +1 -1
- package/dist/wire/inboundFrames.d.ts +102 -14
- package/dist/wire/inboundFrames.d.ts.map +1 -1
- package/dist/wire/index.d.ts +4 -2
- package/dist/wire/index.d.ts.map +1 -1
- package/dist/wire/index.js +5 -1
- package/dist/wire/index.js.map +1 -1
- package/dist/wire/pricing.d.ts +43 -0
- package/dist/wire/pricing.d.ts.map +1 -0
- package/dist/wire/pricing.js +36 -0
- package/dist/wire/pricing.js.map +1 -0
- package/package.json +6 -1
- package/src/auth/index.ts +31 -3
- package/src/coordination/events.ts +9 -0
- package/src/coordination/index.ts +8 -0
- package/src/coordination/schema.ts +200 -51
- package/src/coordination/trace.ts +9 -1
- package/src/errorCodes.ts +24 -0
- package/src/errors.ts +9 -2
- package/src/index.ts +4 -0
- package/src/policy/types.ts +10 -2
- package/src/pricing.ts +350 -0
- package/src/resources/functionalUpdate.ts +11 -11
- package/src/schema/index.ts +3 -1
- package/src/schema/roles.ts +26 -3
- package/src/schema/schema.ts +15 -0
- package/src/schema/select.ts +30 -0
- package/src/transport/httpClient.ts +8 -1
- package/src/transport/wsFrameHandlers.ts +9 -3
- package/src/wire/accountResponses.ts +76 -0
- package/src/wire/auth.ts +30 -3
- package/src/wire/dataSourceResponses.ts +188 -0
- package/src/wire/index.ts +33 -0
- package/src/wire/pricing.ts +41 -0
package/dist/wire/commit.d.ts
CHANGED
|
@@ -71,14 +71,38 @@ export declare const commitReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
71
71
|
success: z.ZodLiteral<true>;
|
|
72
72
|
lastSyncId: z.ZodNumber;
|
|
73
73
|
ops: z.ZodNumber;
|
|
74
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
75
|
-
object: z.
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
75
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
76
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
77
|
+
model: z.ZodString;
|
|
78
|
+
id: z.ZodString;
|
|
79
|
+
field: z.ZodOptional<z.ZodString>;
|
|
80
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
81
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
82
|
+
}, z.core.$strip>>;
|
|
78
83
|
readAt: z.ZodNumber;
|
|
79
84
|
observedSyncId: z.ZodNumber;
|
|
80
|
-
|
|
85
|
+
writtenBy: z.ZodObject<{
|
|
86
|
+
kind: z.ZodEnum<{
|
|
87
|
+
user: "user";
|
|
88
|
+
agent: "agent";
|
|
89
|
+
system: "system";
|
|
90
|
+
}>;
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
}, z.core.$strip>;
|
|
93
|
+
scope: z.ZodLiteral<"row">;
|
|
81
94
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
97
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
98
|
+
model: z.ZodString;
|
|
99
|
+
id: z.ZodString;
|
|
100
|
+
field: z.ZodOptional<z.ZodString>;
|
|
101
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
102
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
readAt: z.ZodNumber;
|
|
105
|
+
observedSyncId: z.ZodNumber;
|
|
82
106
|
writtenBy: z.ZodObject<{
|
|
83
107
|
kind: z.ZodEnum<{
|
|
84
108
|
user: "user";
|
|
@@ -87,8 +111,28 @@ export declare const commitReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
87
111
|
}>;
|
|
88
112
|
id: z.ZodString;
|
|
89
113
|
}, z.core.$strip>;
|
|
90
|
-
|
|
91
|
-
|
|
114
|
+
scope: z.ZodLiteral<"group">;
|
|
115
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
116
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
117
|
+
via: z.ZodEnum<{
|
|
118
|
+
self: "self";
|
|
119
|
+
parent: "parent";
|
|
120
|
+
transitive: "transitive";
|
|
121
|
+
}>;
|
|
122
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
123
|
+
}, z.core.$strip>>>;
|
|
124
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
125
|
+
count: z.ZodNumber;
|
|
126
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
127
|
+
model: z.ZodString;
|
|
128
|
+
id: z.ZodString;
|
|
129
|
+
field: z.ZodOptional<z.ZodString>;
|
|
130
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
131
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
132
|
+
}, z.core.$strip>>>>;
|
|
133
|
+
truncated: z.ZodBoolean;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
}, z.core.$strip>], "scope">>>;
|
|
92
136
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
93
137
|
}, z.core.$strip>, z.ZodObject<{
|
|
94
138
|
status: z.ZodLiteral<"confirmed">;
|
|
@@ -100,14 +144,38 @@ export declare const commitReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
100
144
|
success: z.ZodLiteral<true>;
|
|
101
145
|
lastSyncId: z.ZodNumber;
|
|
102
146
|
ops: z.ZodNumber;
|
|
103
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
104
|
-
object: z.
|
|
105
|
-
|
|
106
|
-
|
|
147
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
148
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
149
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
150
|
+
model: z.ZodString;
|
|
151
|
+
id: z.ZodString;
|
|
152
|
+
field: z.ZodOptional<z.ZodString>;
|
|
153
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
154
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
155
|
+
}, z.core.$strip>>;
|
|
107
156
|
readAt: z.ZodNumber;
|
|
108
157
|
observedSyncId: z.ZodNumber;
|
|
109
|
-
|
|
158
|
+
writtenBy: z.ZodObject<{
|
|
159
|
+
kind: z.ZodEnum<{
|
|
160
|
+
user: "user";
|
|
161
|
+
agent: "agent";
|
|
162
|
+
system: "system";
|
|
163
|
+
}>;
|
|
164
|
+
id: z.ZodString;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
scope: z.ZodLiteral<"row">;
|
|
110
167
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
169
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
170
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
171
|
+
model: z.ZodString;
|
|
172
|
+
id: z.ZodString;
|
|
173
|
+
field: z.ZodOptional<z.ZodString>;
|
|
174
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
175
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
176
|
+
}, z.core.$strip>>;
|
|
177
|
+
readAt: z.ZodNumber;
|
|
178
|
+
observedSyncId: z.ZodNumber;
|
|
111
179
|
writtenBy: z.ZodObject<{
|
|
112
180
|
kind: z.ZodEnum<{
|
|
113
181
|
user: "user";
|
|
@@ -116,8 +184,28 @@ export declare const commitReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
116
184
|
}>;
|
|
117
185
|
id: z.ZodString;
|
|
118
186
|
}, z.core.$strip>;
|
|
119
|
-
|
|
120
|
-
|
|
187
|
+
scope: z.ZodLiteral<"group">;
|
|
188
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
189
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
190
|
+
via: z.ZodEnum<{
|
|
191
|
+
self: "self";
|
|
192
|
+
parent: "parent";
|
|
193
|
+
transitive: "transitive";
|
|
194
|
+
}>;
|
|
195
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
196
|
+
}, z.core.$strip>>>;
|
|
197
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
198
|
+
count: z.ZodNumber;
|
|
199
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
200
|
+
model: z.ZodString;
|
|
201
|
+
id: z.ZodString;
|
|
202
|
+
field: z.ZodOptional<z.ZodString>;
|
|
203
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
204
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
205
|
+
}, z.core.$strip>>>>;
|
|
206
|
+
truncated: z.ZodBoolean;
|
|
207
|
+
}, z.core.$strip>>;
|
|
208
|
+
}, z.core.$strip>], "scope">>>;
|
|
121
209
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
122
210
|
}, z.core.$strip>], "status">;
|
|
123
211
|
export type CommitReceiptWire = z.infer<typeof commitReceiptSchema>;
|
|
@@ -154,14 +242,38 @@ export declare const mutationResultPayloadSchema: z.ZodUnion<readonly [z.ZodDisc
|
|
|
154
242
|
success: z.ZodLiteral<true>;
|
|
155
243
|
lastSyncId: z.ZodNumber;
|
|
156
244
|
ops: z.ZodNumber;
|
|
157
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
158
|
-
object: z.
|
|
159
|
-
|
|
160
|
-
|
|
245
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
246
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
247
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
248
|
+
model: z.ZodString;
|
|
249
|
+
id: z.ZodString;
|
|
250
|
+
field: z.ZodOptional<z.ZodString>;
|
|
251
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
252
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
253
|
+
}, z.core.$strip>>;
|
|
161
254
|
readAt: z.ZodNumber;
|
|
162
255
|
observedSyncId: z.ZodNumber;
|
|
163
|
-
|
|
256
|
+
writtenBy: z.ZodObject<{
|
|
257
|
+
kind: z.ZodEnum<{
|
|
258
|
+
user: "user";
|
|
259
|
+
agent: "agent";
|
|
260
|
+
system: "system";
|
|
261
|
+
}>;
|
|
262
|
+
id: z.ZodString;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
scope: z.ZodLiteral<"row">;
|
|
164
265
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
267
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
268
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
269
|
+
model: z.ZodString;
|
|
270
|
+
id: z.ZodString;
|
|
271
|
+
field: z.ZodOptional<z.ZodString>;
|
|
272
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
273
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
274
|
+
}, z.core.$strip>>;
|
|
275
|
+
readAt: z.ZodNumber;
|
|
276
|
+
observedSyncId: z.ZodNumber;
|
|
165
277
|
writtenBy: z.ZodObject<{
|
|
166
278
|
kind: z.ZodEnum<{
|
|
167
279
|
user: "user";
|
|
@@ -170,8 +282,28 @@ export declare const mutationResultPayloadSchema: z.ZodUnion<readonly [z.ZodDisc
|
|
|
170
282
|
}>;
|
|
171
283
|
id: z.ZodString;
|
|
172
284
|
}, z.core.$strip>;
|
|
173
|
-
|
|
174
|
-
|
|
285
|
+
scope: z.ZodLiteral<"group">;
|
|
286
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
287
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
288
|
+
via: z.ZodEnum<{
|
|
289
|
+
self: "self";
|
|
290
|
+
parent: "parent";
|
|
291
|
+
transitive: "transitive";
|
|
292
|
+
}>;
|
|
293
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
294
|
+
}, z.core.$strip>>>;
|
|
295
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
296
|
+
count: z.ZodNumber;
|
|
297
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
298
|
+
model: z.ZodString;
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
field: z.ZodOptional<z.ZodString>;
|
|
301
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
302
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
303
|
+
}, z.core.$strip>>>>;
|
|
304
|
+
truncated: z.ZodBoolean;
|
|
305
|
+
}, z.core.$strip>>;
|
|
306
|
+
}, z.core.$strip>], "scope">>>;
|
|
175
307
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
176
308
|
}, z.core.$strip>, z.ZodObject<{
|
|
177
309
|
status: z.ZodLiteral<"confirmed">;
|
|
@@ -183,14 +315,38 @@ export declare const mutationResultPayloadSchema: z.ZodUnion<readonly [z.ZodDisc
|
|
|
183
315
|
success: z.ZodLiteral<true>;
|
|
184
316
|
lastSyncId: z.ZodNumber;
|
|
185
317
|
ops: z.ZodNumber;
|
|
186
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
|
-
object: z.
|
|
188
|
-
|
|
189
|
-
|
|
318
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
319
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
320
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
321
|
+
model: z.ZodString;
|
|
322
|
+
id: z.ZodString;
|
|
323
|
+
field: z.ZodOptional<z.ZodString>;
|
|
324
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
325
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
326
|
+
}, z.core.$strip>>;
|
|
190
327
|
readAt: z.ZodNumber;
|
|
191
328
|
observedSyncId: z.ZodNumber;
|
|
192
|
-
|
|
329
|
+
writtenBy: z.ZodObject<{
|
|
330
|
+
kind: z.ZodEnum<{
|
|
331
|
+
user: "user";
|
|
332
|
+
agent: "agent";
|
|
333
|
+
system: "system";
|
|
334
|
+
}>;
|
|
335
|
+
id: z.ZodString;
|
|
336
|
+
}, z.core.$strip>;
|
|
337
|
+
scope: z.ZodLiteral<"row">;
|
|
193
338
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
339
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
340
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
341
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
342
|
+
model: z.ZodString;
|
|
343
|
+
id: z.ZodString;
|
|
344
|
+
field: z.ZodOptional<z.ZodString>;
|
|
345
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
346
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
347
|
+
}, z.core.$strip>>;
|
|
348
|
+
readAt: z.ZodNumber;
|
|
349
|
+
observedSyncId: z.ZodNumber;
|
|
194
350
|
writtenBy: z.ZodObject<{
|
|
195
351
|
kind: z.ZodEnum<{
|
|
196
352
|
user: "user";
|
|
@@ -199,8 +355,28 @@ export declare const mutationResultPayloadSchema: z.ZodUnion<readonly [z.ZodDisc
|
|
|
199
355
|
}>;
|
|
200
356
|
id: z.ZodString;
|
|
201
357
|
}, z.core.$strip>;
|
|
202
|
-
|
|
203
|
-
|
|
358
|
+
scope: z.ZodLiteral<"group">;
|
|
359
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
360
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
361
|
+
via: z.ZodEnum<{
|
|
362
|
+
self: "self";
|
|
363
|
+
parent: "parent";
|
|
364
|
+
transitive: "transitive";
|
|
365
|
+
}>;
|
|
366
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
367
|
+
}, z.core.$strip>>>;
|
|
368
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
count: z.ZodNumber;
|
|
370
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
371
|
+
model: z.ZodString;
|
|
372
|
+
id: z.ZodString;
|
|
373
|
+
field: z.ZodOptional<z.ZodString>;
|
|
374
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
375
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
376
|
+
}, z.core.$strip>>>>;
|
|
377
|
+
truncated: z.ZodBoolean;
|
|
378
|
+
}, z.core.$strip>>;
|
|
379
|
+
}, z.core.$strip>], "scope">>>;
|
|
204
380
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
205
381
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
206
382
|
object: z.ZodLiteral<"commit_receipt">;
|
|
@@ -236,14 +412,38 @@ export declare const mutationResultMessageSchema: z.ZodObject<{
|
|
|
236
412
|
success: z.ZodLiteral<true>;
|
|
237
413
|
lastSyncId: z.ZodNumber;
|
|
238
414
|
ops: z.ZodNumber;
|
|
239
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
240
|
-
object: z.
|
|
241
|
-
|
|
242
|
-
|
|
415
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
416
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
417
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
418
|
+
model: z.ZodString;
|
|
419
|
+
id: z.ZodString;
|
|
420
|
+
field: z.ZodOptional<z.ZodString>;
|
|
421
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
422
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
423
|
+
}, z.core.$strip>>;
|
|
243
424
|
readAt: z.ZodNumber;
|
|
244
425
|
observedSyncId: z.ZodNumber;
|
|
245
|
-
|
|
426
|
+
writtenBy: z.ZodObject<{
|
|
427
|
+
kind: z.ZodEnum<{
|
|
428
|
+
user: "user";
|
|
429
|
+
agent: "agent";
|
|
430
|
+
system: "system";
|
|
431
|
+
}>;
|
|
432
|
+
id: z.ZodString;
|
|
433
|
+
}, z.core.$strip>;
|
|
434
|
+
scope: z.ZodLiteral<"row">;
|
|
246
435
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
437
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
438
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
439
|
+
model: z.ZodString;
|
|
440
|
+
id: z.ZodString;
|
|
441
|
+
field: z.ZodOptional<z.ZodString>;
|
|
442
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
443
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
444
|
+
}, z.core.$strip>>;
|
|
445
|
+
readAt: z.ZodNumber;
|
|
446
|
+
observedSyncId: z.ZodNumber;
|
|
247
447
|
writtenBy: z.ZodObject<{
|
|
248
448
|
kind: z.ZodEnum<{
|
|
249
449
|
user: "user";
|
|
@@ -252,8 +452,28 @@ export declare const mutationResultMessageSchema: z.ZodObject<{
|
|
|
252
452
|
}>;
|
|
253
453
|
id: z.ZodString;
|
|
254
454
|
}, z.core.$strip>;
|
|
255
|
-
|
|
256
|
-
|
|
455
|
+
scope: z.ZodLiteral<"group">;
|
|
456
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
457
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
458
|
+
via: z.ZodEnum<{
|
|
459
|
+
self: "self";
|
|
460
|
+
parent: "parent";
|
|
461
|
+
transitive: "transitive";
|
|
462
|
+
}>;
|
|
463
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
464
|
+
}, z.core.$strip>>>;
|
|
465
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
466
|
+
count: z.ZodNumber;
|
|
467
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
468
|
+
model: z.ZodString;
|
|
469
|
+
id: z.ZodString;
|
|
470
|
+
field: z.ZodOptional<z.ZodString>;
|
|
471
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
472
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
473
|
+
}, z.core.$strip>>>>;
|
|
474
|
+
truncated: z.ZodBoolean;
|
|
475
|
+
}, z.core.$strip>>;
|
|
476
|
+
}, z.core.$strip>], "scope">>>;
|
|
257
477
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
258
478
|
}, z.core.$strip>, z.ZodObject<{
|
|
259
479
|
status: z.ZodLiteral<"confirmed">;
|
|
@@ -265,14 +485,38 @@ export declare const mutationResultMessageSchema: z.ZodObject<{
|
|
|
265
485
|
success: z.ZodLiteral<true>;
|
|
266
486
|
lastSyncId: z.ZodNumber;
|
|
267
487
|
ops: z.ZodNumber;
|
|
268
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
269
|
-
object: z.
|
|
270
|
-
|
|
271
|
-
|
|
488
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
489
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
490
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
491
|
+
model: z.ZodString;
|
|
492
|
+
id: z.ZodString;
|
|
493
|
+
field: z.ZodOptional<z.ZodString>;
|
|
494
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
495
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
496
|
+
}, z.core.$strip>>;
|
|
272
497
|
readAt: z.ZodNumber;
|
|
273
498
|
observedSyncId: z.ZodNumber;
|
|
274
|
-
|
|
499
|
+
writtenBy: z.ZodObject<{
|
|
500
|
+
kind: z.ZodEnum<{
|
|
501
|
+
user: "user";
|
|
502
|
+
agent: "agent";
|
|
503
|
+
system: "system";
|
|
504
|
+
}>;
|
|
505
|
+
id: z.ZodString;
|
|
506
|
+
}, z.core.$strip>;
|
|
507
|
+
scope: z.ZodLiteral<"row">;
|
|
275
508
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
509
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
510
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
511
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
512
|
+
model: z.ZodString;
|
|
513
|
+
id: z.ZodString;
|
|
514
|
+
field: z.ZodOptional<z.ZodString>;
|
|
515
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
516
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
517
|
+
}, z.core.$strip>>;
|
|
518
|
+
readAt: z.ZodNumber;
|
|
519
|
+
observedSyncId: z.ZodNumber;
|
|
276
520
|
writtenBy: z.ZodObject<{
|
|
277
521
|
kind: z.ZodEnum<{
|
|
278
522
|
user: "user";
|
|
@@ -281,8 +525,28 @@ export declare const mutationResultMessageSchema: z.ZodObject<{
|
|
|
281
525
|
}>;
|
|
282
526
|
id: z.ZodString;
|
|
283
527
|
}, z.core.$strip>;
|
|
284
|
-
|
|
285
|
-
|
|
528
|
+
scope: z.ZodLiteral<"group">;
|
|
529
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
530
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
531
|
+
via: z.ZodEnum<{
|
|
532
|
+
self: "self";
|
|
533
|
+
parent: "parent";
|
|
534
|
+
transitive: "transitive";
|
|
535
|
+
}>;
|
|
536
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
537
|
+
}, z.core.$strip>>>;
|
|
538
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
539
|
+
count: z.ZodNumber;
|
|
540
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
541
|
+
model: z.ZodString;
|
|
542
|
+
id: z.ZodString;
|
|
543
|
+
field: z.ZodOptional<z.ZodString>;
|
|
544
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
545
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
546
|
+
}, z.core.$strip>>>>;
|
|
547
|
+
truncated: z.ZodBoolean;
|
|
548
|
+
}, z.core.$strip>>;
|
|
549
|
+
}, z.core.$strip>], "scope">>>;
|
|
286
550
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
287
551
|
}, z.core.$strip>], "status">, z.ZodObject<{
|
|
288
552
|
object: z.ZodLiteral<"commit_receipt">;
|
|
@@ -316,14 +580,38 @@ export declare const commitExecutionResultSchema: z.ZodPipe<z.ZodObject<{
|
|
|
316
580
|
}>>;
|
|
317
581
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
318
582
|
confirmationTransactionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
319
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
320
|
-
object: z.
|
|
321
|
-
|
|
322
|
-
|
|
583
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
584
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
585
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
586
|
+
model: z.ZodString;
|
|
587
|
+
id: z.ZodString;
|
|
588
|
+
field: z.ZodOptional<z.ZodString>;
|
|
589
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
590
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
591
|
+
}, z.core.$strip>>;
|
|
323
592
|
readAt: z.ZodNumber;
|
|
324
593
|
observedSyncId: z.ZodNumber;
|
|
325
|
-
|
|
594
|
+
writtenBy: z.ZodObject<{
|
|
595
|
+
kind: z.ZodEnum<{
|
|
596
|
+
user: "user";
|
|
597
|
+
agent: "agent";
|
|
598
|
+
system: "system";
|
|
599
|
+
}>;
|
|
600
|
+
id: z.ZodString;
|
|
601
|
+
}, z.core.$strip>;
|
|
602
|
+
scope: z.ZodLiteral<"row">;
|
|
326
603
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
604
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
605
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
606
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
607
|
+
model: z.ZodString;
|
|
608
|
+
id: z.ZodString;
|
|
609
|
+
field: z.ZodOptional<z.ZodString>;
|
|
610
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
611
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
612
|
+
}, z.core.$strip>>;
|
|
613
|
+
readAt: z.ZodNumber;
|
|
614
|
+
observedSyncId: z.ZodNumber;
|
|
327
615
|
writtenBy: z.ZodObject<{
|
|
328
616
|
kind: z.ZodEnum<{
|
|
329
617
|
user: "user";
|
|
@@ -332,8 +620,28 @@ export declare const commitExecutionResultSchema: z.ZodPipe<z.ZodObject<{
|
|
|
332
620
|
}>;
|
|
333
621
|
id: z.ZodString;
|
|
334
622
|
}, z.core.$strip>;
|
|
335
|
-
|
|
336
|
-
|
|
623
|
+
scope: z.ZodLiteral<"group">;
|
|
624
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
625
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
626
|
+
via: z.ZodEnum<{
|
|
627
|
+
self: "self";
|
|
628
|
+
parent: "parent";
|
|
629
|
+
transitive: "transitive";
|
|
630
|
+
}>;
|
|
631
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
632
|
+
}, z.core.$strip>>>;
|
|
633
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
634
|
+
count: z.ZodNumber;
|
|
635
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
636
|
+
model: z.ZodString;
|
|
637
|
+
id: z.ZodString;
|
|
638
|
+
field: z.ZodOptional<z.ZodString>;
|
|
639
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
640
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
641
|
+
}, z.core.$strip>>>>;
|
|
642
|
+
truncated: z.ZodBoolean;
|
|
643
|
+
}, z.core.$strip>>;
|
|
644
|
+
}, z.core.$strip>], "scope">>>;
|
|
337
645
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
338
646
|
}, z.core.$strict>, z.ZodTransform<{
|
|
339
647
|
status: "queued" | "confirmed";
|
|
@@ -341,20 +649,56 @@ export declare const commitExecutionResultSchema: z.ZodPipe<z.ZodObject<{
|
|
|
341
649
|
firstSyncId: number;
|
|
342
650
|
correlationId?: string | undefined;
|
|
343
651
|
confirmationTransactionIds?: string[] | undefined;
|
|
344
|
-
notifications?: {
|
|
345
|
-
|
|
346
|
-
|
|
652
|
+
notifications?: ({
|
|
653
|
+
object: "stale_notification";
|
|
654
|
+
target: Readonly<{
|
|
655
|
+
model: string;
|
|
656
|
+
id: string;
|
|
657
|
+
field?: string | undefined;
|
|
658
|
+
fields?: readonly string[] | undefined;
|
|
659
|
+
meta?: Record<string, unknown> | undefined;
|
|
660
|
+
}>;
|
|
347
661
|
readAt: number;
|
|
348
662
|
observedSyncId: number;
|
|
349
|
-
|
|
663
|
+
writtenBy: {
|
|
664
|
+
kind: "user" | "agent" | "system";
|
|
665
|
+
id: string;
|
|
666
|
+
};
|
|
667
|
+
scope: "row";
|
|
350
668
|
currentValues: Record<string, unknown>;
|
|
669
|
+
} | {
|
|
670
|
+
object: "stale_notification";
|
|
671
|
+
target: Readonly<{
|
|
672
|
+
model: string;
|
|
673
|
+
id: string;
|
|
674
|
+
field?: string | undefined;
|
|
675
|
+
fields?: readonly string[] | undefined;
|
|
676
|
+
meta?: Record<string, unknown> | undefined;
|
|
677
|
+
}>;
|
|
678
|
+
readAt: number;
|
|
679
|
+
observedSyncId: number;
|
|
351
680
|
writtenBy: {
|
|
352
681
|
kind: "user" | "agent" | "system";
|
|
353
682
|
id: string;
|
|
354
683
|
};
|
|
355
|
-
|
|
356
|
-
group
|
|
357
|
-
|
|
684
|
+
scope: "group";
|
|
685
|
+
group: `${string}:${string}`;
|
|
686
|
+
propagation?: Readonly<{
|
|
687
|
+
via: "self" | "parent" | "transitive";
|
|
688
|
+
through: readonly string[];
|
|
689
|
+
}> | undefined;
|
|
690
|
+
changed?: {
|
|
691
|
+
count: number;
|
|
692
|
+
sample: readonly Readonly<{
|
|
693
|
+
model: string;
|
|
694
|
+
id: string;
|
|
695
|
+
field?: string | undefined;
|
|
696
|
+
fields?: readonly string[] | undefined;
|
|
697
|
+
meta?: Record<string, unknown> | undefined;
|
|
698
|
+
}>[];
|
|
699
|
+
truncated: boolean;
|
|
700
|
+
} | undefined;
|
|
701
|
+
})[] | undefined;
|
|
358
702
|
missingIds?: string[] | undefined;
|
|
359
703
|
}, {
|
|
360
704
|
lastSyncId: number;
|
|
@@ -362,20 +706,56 @@ export declare const commitExecutionResultSchema: z.ZodPipe<z.ZodObject<{
|
|
|
362
706
|
status?: "queued" | "confirmed" | undefined;
|
|
363
707
|
correlationId?: string | undefined;
|
|
364
708
|
confirmationTransactionIds?: string[] | undefined;
|
|
365
|
-
notifications?: {
|
|
366
|
-
|
|
367
|
-
|
|
709
|
+
notifications?: ({
|
|
710
|
+
object: "stale_notification";
|
|
711
|
+
target: Readonly<{
|
|
712
|
+
model: string;
|
|
713
|
+
id: string;
|
|
714
|
+
field?: string | undefined;
|
|
715
|
+
fields?: readonly string[] | undefined;
|
|
716
|
+
meta?: Record<string, unknown> | undefined;
|
|
717
|
+
}>;
|
|
368
718
|
readAt: number;
|
|
369
719
|
observedSyncId: number;
|
|
370
|
-
|
|
720
|
+
writtenBy: {
|
|
721
|
+
kind: "user" | "agent" | "system";
|
|
722
|
+
id: string;
|
|
723
|
+
};
|
|
724
|
+
scope: "row";
|
|
371
725
|
currentValues: Record<string, unknown>;
|
|
726
|
+
} | {
|
|
727
|
+
object: "stale_notification";
|
|
728
|
+
target: Readonly<{
|
|
729
|
+
model: string;
|
|
730
|
+
id: string;
|
|
731
|
+
field?: string | undefined;
|
|
732
|
+
fields?: readonly string[] | undefined;
|
|
733
|
+
meta?: Record<string, unknown> | undefined;
|
|
734
|
+
}>;
|
|
735
|
+
readAt: number;
|
|
736
|
+
observedSyncId: number;
|
|
372
737
|
writtenBy: {
|
|
373
738
|
kind: "user" | "agent" | "system";
|
|
374
739
|
id: string;
|
|
375
740
|
};
|
|
376
|
-
|
|
377
|
-
group
|
|
378
|
-
|
|
741
|
+
scope: "group";
|
|
742
|
+
group: `${string}:${string}`;
|
|
743
|
+
propagation?: Readonly<{
|
|
744
|
+
via: "self" | "parent" | "transitive";
|
|
745
|
+
through: readonly string[];
|
|
746
|
+
}> | undefined;
|
|
747
|
+
changed?: {
|
|
748
|
+
count: number;
|
|
749
|
+
sample: readonly Readonly<{
|
|
750
|
+
model: string;
|
|
751
|
+
id: string;
|
|
752
|
+
field?: string | undefined;
|
|
753
|
+
fields?: readonly string[] | undefined;
|
|
754
|
+
meta?: Record<string, unknown> | undefined;
|
|
755
|
+
}>[];
|
|
756
|
+
truncated: boolean;
|
|
757
|
+
} | undefined;
|
|
758
|
+
})[] | undefined;
|
|
379
759
|
missingIds?: string[] | undefined;
|
|
380
760
|
}>>;
|
|
381
761
|
export type CommitExecutionResultInput = z.input<typeof commitExecutionResultSchema>;
|
|
@@ -385,14 +765,38 @@ export declare const commitAckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
385
765
|
status: z.ZodLiteral<"queued">;
|
|
386
766
|
correlationId: z.ZodString;
|
|
387
767
|
lastSyncId: z.ZodNumber;
|
|
388
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
389
|
-
object: z.
|
|
390
|
-
|
|
391
|
-
|
|
768
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
769
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
770
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
771
|
+
model: z.ZodString;
|
|
772
|
+
id: z.ZodString;
|
|
773
|
+
field: z.ZodOptional<z.ZodString>;
|
|
774
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
775
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
776
|
+
}, z.core.$strip>>;
|
|
392
777
|
readAt: z.ZodNumber;
|
|
393
778
|
observedSyncId: z.ZodNumber;
|
|
394
|
-
|
|
779
|
+
writtenBy: z.ZodObject<{
|
|
780
|
+
kind: z.ZodEnum<{
|
|
781
|
+
user: "user";
|
|
782
|
+
agent: "agent";
|
|
783
|
+
system: "system";
|
|
784
|
+
}>;
|
|
785
|
+
id: z.ZodString;
|
|
786
|
+
}, z.core.$strip>;
|
|
787
|
+
scope: z.ZodLiteral<"row">;
|
|
395
788
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
789
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
790
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
791
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
792
|
+
model: z.ZodString;
|
|
793
|
+
id: z.ZodString;
|
|
794
|
+
field: z.ZodOptional<z.ZodString>;
|
|
795
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
796
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
797
|
+
}, z.core.$strip>>;
|
|
798
|
+
readAt: z.ZodNumber;
|
|
799
|
+
observedSyncId: z.ZodNumber;
|
|
396
800
|
writtenBy: z.ZodObject<{
|
|
397
801
|
kind: z.ZodEnum<{
|
|
398
802
|
user: "user";
|
|
@@ -401,21 +805,65 @@ export declare const commitAckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
401
805
|
}>;
|
|
402
806
|
id: z.ZodString;
|
|
403
807
|
}, z.core.$strip>;
|
|
404
|
-
|
|
405
|
-
|
|
808
|
+
scope: z.ZodLiteral<"group">;
|
|
809
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
810
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
811
|
+
via: z.ZodEnum<{
|
|
812
|
+
self: "self";
|
|
813
|
+
parent: "parent";
|
|
814
|
+
transitive: "transitive";
|
|
815
|
+
}>;
|
|
816
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
817
|
+
}, z.core.$strip>>>;
|
|
818
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
819
|
+
count: z.ZodNumber;
|
|
820
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
821
|
+
model: z.ZodString;
|
|
822
|
+
id: z.ZodString;
|
|
823
|
+
field: z.ZodOptional<z.ZodString>;
|
|
824
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
825
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
826
|
+
}, z.core.$strip>>>>;
|
|
827
|
+
truncated: z.ZodBoolean;
|
|
828
|
+
}, z.core.$strip>>;
|
|
829
|
+
}, z.core.$strip>], "scope">>>;
|
|
406
830
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
407
831
|
}, z.core.$strict>, z.ZodObject<{
|
|
408
832
|
status: z.ZodLiteral<"confirmed">;
|
|
409
833
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
410
834
|
lastSyncId: z.ZodNumber;
|
|
411
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
412
|
-
object: z.
|
|
413
|
-
|
|
414
|
-
|
|
835
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
836
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
837
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
838
|
+
model: z.ZodString;
|
|
839
|
+
id: z.ZodString;
|
|
840
|
+
field: z.ZodOptional<z.ZodString>;
|
|
841
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
842
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
843
|
+
}, z.core.$strip>>;
|
|
415
844
|
readAt: z.ZodNumber;
|
|
416
845
|
observedSyncId: z.ZodNumber;
|
|
417
|
-
|
|
846
|
+
writtenBy: z.ZodObject<{
|
|
847
|
+
kind: z.ZodEnum<{
|
|
848
|
+
user: "user";
|
|
849
|
+
agent: "agent";
|
|
850
|
+
system: "system";
|
|
851
|
+
}>;
|
|
852
|
+
id: z.ZodString;
|
|
853
|
+
}, z.core.$strip>;
|
|
854
|
+
scope: z.ZodLiteral<"row">;
|
|
418
855
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
857
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
858
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
859
|
+
model: z.ZodString;
|
|
860
|
+
id: z.ZodString;
|
|
861
|
+
field: z.ZodOptional<z.ZodString>;
|
|
862
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
863
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
864
|
+
}, z.core.$strip>>;
|
|
865
|
+
readAt: z.ZodNumber;
|
|
866
|
+
observedSyncId: z.ZodNumber;
|
|
419
867
|
writtenBy: z.ZodObject<{
|
|
420
868
|
kind: z.ZodEnum<{
|
|
421
869
|
user: "user";
|
|
@@ -424,8 +872,28 @@ export declare const commitAckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
424
872
|
}>;
|
|
425
873
|
id: z.ZodString;
|
|
426
874
|
}, z.core.$strip>;
|
|
427
|
-
|
|
428
|
-
|
|
875
|
+
scope: z.ZodLiteral<"group">;
|
|
876
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
877
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
878
|
+
via: z.ZodEnum<{
|
|
879
|
+
self: "self";
|
|
880
|
+
parent: "parent";
|
|
881
|
+
transitive: "transitive";
|
|
882
|
+
}>;
|
|
883
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
884
|
+
}, z.core.$strip>>>;
|
|
885
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
886
|
+
count: z.ZodNumber;
|
|
887
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
888
|
+
model: z.ZodString;
|
|
889
|
+
id: z.ZodString;
|
|
890
|
+
field: z.ZodOptional<z.ZodString>;
|
|
891
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
892
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
893
|
+
}, z.core.$strip>>>>;
|
|
894
|
+
truncated: z.ZodBoolean;
|
|
895
|
+
}, z.core.$strip>>;
|
|
896
|
+
}, z.core.$strip>], "scope">>>;
|
|
429
897
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
430
898
|
}, z.core.$strict>], "status">;
|
|
431
899
|
export type CommitAck = z.infer<typeof commitAckSchema>;
|
|
@@ -439,14 +907,38 @@ export declare const mutationCommitResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
439
907
|
status: z.ZodLiteral<"queued">;
|
|
440
908
|
correlationId: z.ZodString;
|
|
441
909
|
lastSyncId: z.ZodNumber;
|
|
442
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
443
|
-
object: z.
|
|
444
|
-
|
|
445
|
-
|
|
910
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
911
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
912
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
913
|
+
model: z.ZodString;
|
|
914
|
+
id: z.ZodString;
|
|
915
|
+
field: z.ZodOptional<z.ZodString>;
|
|
916
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
917
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
918
|
+
}, z.core.$strip>>;
|
|
446
919
|
readAt: z.ZodNumber;
|
|
447
920
|
observedSyncId: z.ZodNumber;
|
|
448
|
-
|
|
921
|
+
writtenBy: z.ZodObject<{
|
|
922
|
+
kind: z.ZodEnum<{
|
|
923
|
+
user: "user";
|
|
924
|
+
agent: "agent";
|
|
925
|
+
system: "system";
|
|
926
|
+
}>;
|
|
927
|
+
id: z.ZodString;
|
|
928
|
+
}, z.core.$strip>;
|
|
929
|
+
scope: z.ZodLiteral<"row">;
|
|
449
930
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
931
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
932
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
933
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
934
|
+
model: z.ZodString;
|
|
935
|
+
id: z.ZodString;
|
|
936
|
+
field: z.ZodOptional<z.ZodString>;
|
|
937
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
938
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
939
|
+
}, z.core.$strip>>;
|
|
940
|
+
readAt: z.ZodNumber;
|
|
941
|
+
observedSyncId: z.ZodNumber;
|
|
450
942
|
writtenBy: z.ZodObject<{
|
|
451
943
|
kind: z.ZodEnum<{
|
|
452
944
|
user: "user";
|
|
@@ -455,21 +947,65 @@ export declare const mutationCommitResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
455
947
|
}>;
|
|
456
948
|
id: z.ZodString;
|
|
457
949
|
}, z.core.$strip>;
|
|
458
|
-
|
|
459
|
-
|
|
950
|
+
scope: z.ZodLiteral<"group">;
|
|
951
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
952
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
953
|
+
via: z.ZodEnum<{
|
|
954
|
+
self: "self";
|
|
955
|
+
parent: "parent";
|
|
956
|
+
transitive: "transitive";
|
|
957
|
+
}>;
|
|
958
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
959
|
+
}, z.core.$strip>>>;
|
|
960
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
961
|
+
count: z.ZodNumber;
|
|
962
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
963
|
+
model: z.ZodString;
|
|
964
|
+
id: z.ZodString;
|
|
965
|
+
field: z.ZodOptional<z.ZodString>;
|
|
966
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
967
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
968
|
+
}, z.core.$strip>>>>;
|
|
969
|
+
truncated: z.ZodBoolean;
|
|
970
|
+
}, z.core.$strip>>;
|
|
971
|
+
}, z.core.$strip>], "scope">>>;
|
|
460
972
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
461
973
|
}, z.core.$strict>, z.ZodObject<{
|
|
462
974
|
status: z.ZodLiteral<"confirmed">;
|
|
463
975
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
464
976
|
lastSyncId: z.ZodNumber;
|
|
465
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
466
|
-
object: z.
|
|
467
|
-
|
|
468
|
-
|
|
977
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
978
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
979
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
980
|
+
model: z.ZodString;
|
|
981
|
+
id: z.ZodString;
|
|
982
|
+
field: z.ZodOptional<z.ZodString>;
|
|
983
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
984
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
985
|
+
}, z.core.$strip>>;
|
|
469
986
|
readAt: z.ZodNumber;
|
|
470
987
|
observedSyncId: z.ZodNumber;
|
|
471
|
-
|
|
988
|
+
writtenBy: z.ZodObject<{
|
|
989
|
+
kind: z.ZodEnum<{
|
|
990
|
+
user: "user";
|
|
991
|
+
agent: "agent";
|
|
992
|
+
system: "system";
|
|
993
|
+
}>;
|
|
994
|
+
id: z.ZodString;
|
|
995
|
+
}, z.core.$strip>;
|
|
996
|
+
scope: z.ZodLiteral<"row">;
|
|
472
997
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
998
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
999
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
1000
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
1001
|
+
model: z.ZodString;
|
|
1002
|
+
id: z.ZodString;
|
|
1003
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1005
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1006
|
+
}, z.core.$strip>>;
|
|
1007
|
+
readAt: z.ZodNumber;
|
|
1008
|
+
observedSyncId: z.ZodNumber;
|
|
473
1009
|
writtenBy: z.ZodObject<{
|
|
474
1010
|
kind: z.ZodEnum<{
|
|
475
1011
|
user: "user";
|
|
@@ -478,8 +1014,28 @@ export declare const mutationCommitResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
478
1014
|
}>;
|
|
479
1015
|
id: z.ZodString;
|
|
480
1016
|
}, z.core.$strip>;
|
|
481
|
-
|
|
482
|
-
|
|
1017
|
+
scope: z.ZodLiteral<"group">;
|
|
1018
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
1019
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
1020
|
+
via: z.ZodEnum<{
|
|
1021
|
+
self: "self";
|
|
1022
|
+
parent: "parent";
|
|
1023
|
+
transitive: "transitive";
|
|
1024
|
+
}>;
|
|
1025
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1026
|
+
}, z.core.$strip>>>;
|
|
1027
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
1028
|
+
count: z.ZodNumber;
|
|
1029
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1030
|
+
model: z.ZodString;
|
|
1031
|
+
id: z.ZodString;
|
|
1032
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1034
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1035
|
+
}, z.core.$strip>>>>;
|
|
1036
|
+
truncated: z.ZodBoolean;
|
|
1037
|
+
}, z.core.$strip>>;
|
|
1038
|
+
}, z.core.$strip>], "scope">>>;
|
|
483
1039
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
484
1040
|
}, z.core.$strict>], "status">;
|
|
485
1041
|
export type MutationCommitResultInput = z.input<typeof mutationCommitResultSchema>;
|
|
@@ -500,14 +1056,38 @@ export declare const clientCommitReceiptSchema: z.ZodObject<{
|
|
|
500
1056
|
confirmed: "confirmed";
|
|
501
1057
|
}>;
|
|
502
1058
|
lastSyncId: z.ZodOptional<z.ZodNumber>;
|
|
503
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
504
|
-
object: z.
|
|
505
|
-
|
|
506
|
-
|
|
1059
|
+
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1060
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
1061
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
1062
|
+
model: z.ZodString;
|
|
1063
|
+
id: z.ZodString;
|
|
1064
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1066
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1067
|
+
}, z.core.$strip>>;
|
|
507
1068
|
readAt: z.ZodNumber;
|
|
508
1069
|
observedSyncId: z.ZodNumber;
|
|
509
|
-
|
|
1070
|
+
writtenBy: z.ZodObject<{
|
|
1071
|
+
kind: z.ZodEnum<{
|
|
1072
|
+
user: "user";
|
|
1073
|
+
agent: "agent";
|
|
1074
|
+
system: "system";
|
|
1075
|
+
}>;
|
|
1076
|
+
id: z.ZodString;
|
|
1077
|
+
}, z.core.$strip>;
|
|
1078
|
+
scope: z.ZodLiteral<"row">;
|
|
510
1079
|
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1080
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1081
|
+
object: z.ZodLiteral<"stale_notification">;
|
|
1082
|
+
target: z.ZodReadonly<z.ZodObject<{
|
|
1083
|
+
model: z.ZodString;
|
|
1084
|
+
id: z.ZodString;
|
|
1085
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1087
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1088
|
+
}, z.core.$strip>>;
|
|
1089
|
+
readAt: z.ZodNumber;
|
|
1090
|
+
observedSyncId: z.ZodNumber;
|
|
511
1091
|
writtenBy: z.ZodObject<{
|
|
512
1092
|
kind: z.ZodEnum<{
|
|
513
1093
|
user: "user";
|
|
@@ -516,8 +1096,28 @@ export declare const clientCommitReceiptSchema: z.ZodObject<{
|
|
|
516
1096
|
}>;
|
|
517
1097
|
id: z.ZodString;
|
|
518
1098
|
}, z.core.$strip>;
|
|
519
|
-
|
|
520
|
-
|
|
1099
|
+
scope: z.ZodLiteral<"group">;
|
|
1100
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
1101
|
+
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
1102
|
+
via: z.ZodEnum<{
|
|
1103
|
+
self: "self";
|
|
1104
|
+
parent: "parent";
|
|
1105
|
+
transitive: "transitive";
|
|
1106
|
+
}>;
|
|
1107
|
+
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1108
|
+
}, z.core.$strip>>>;
|
|
1109
|
+
changed: z.ZodOptional<z.ZodObject<{
|
|
1110
|
+
count: z.ZodNumber;
|
|
1111
|
+
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1112
|
+
model: z.ZodString;
|
|
1113
|
+
id: z.ZodString;
|
|
1114
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1116
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1117
|
+
}, z.core.$strip>>>>;
|
|
1118
|
+
truncated: z.ZodBoolean;
|
|
1119
|
+
}, z.core.$strip>>;
|
|
1120
|
+
}, z.core.$strip>], "scope">>>;
|
|
521
1121
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
522
1122
|
}, z.core.$strict>;
|
|
523
1123
|
export type ClientCommitReceipt = z.infer<typeof clientCommitReceiptSchema>;
|
|
@@ -583,7 +1183,7 @@ export declare const commitRequestSchema: z.ZodObject<{
|
|
|
583
1183
|
notify: "notify";
|
|
584
1184
|
}>>;
|
|
585
1185
|
}, z.core.$strip>, z.ZodObject<{
|
|
586
|
-
group: z.
|
|
1186
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
587
1187
|
readAt: z.ZodNumber;
|
|
588
1188
|
onStale: z.ZodOptional<z.ZodEnum<{
|
|
589
1189
|
reject: "reject";
|
|
@@ -595,9 +1195,17 @@ export declare const commitRequestSchema: z.ZodObject<{
|
|
|
595
1195
|
id: z.ZodString;
|
|
596
1196
|
model: z.ZodString;
|
|
597
1197
|
readAt: z.ZodOptional<z.ZodNumber>;
|
|
1198
|
+
onStale: z.ZodOptional<z.ZodEnum<{
|
|
1199
|
+
reject: "reject";
|
|
1200
|
+
notify: "notify";
|
|
1201
|
+
}>>;
|
|
598
1202
|
}, z.core.$strip>, z.ZodObject<{
|
|
599
|
-
group: z.
|
|
1203
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
600
1204
|
readAt: z.ZodOptional<z.ZodNumber>;
|
|
1205
|
+
onStale: z.ZodOptional<z.ZodEnum<{
|
|
1206
|
+
reject: "reject";
|
|
1207
|
+
notify: "notify";
|
|
1208
|
+
}>>;
|
|
601
1209
|
}, z.core.$strip>]>>>>;
|
|
602
1210
|
}, z.core.$strip>;
|
|
603
1211
|
export type CommitRequest = z.infer<typeof commitRequestSchema>;
|