@roc-db/test-utils 0.2.0-pre.50 → 0.2.0-pre.52

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.
@@ -4,571 +4,6 @@ import { BlockTitleSchema } from "./BlockTitleSchema";
4
4
  import { DraftSchema } from "./DraftSchema";
5
5
  import { PostSchema } from "./PostSchema";
6
6
  export { BlockImageSchema, BlockParagraphSchema, BlockTitleSchema, DraftSchema, PostSchema, };
7
- export declare const entities: (import("zod").ZodObject<{
8
- ref: import("zod").ZodType<`BlockImage/${string}`, import("zod").ZodTypeDef, `BlockImage/${string}`>;
9
- entity: import("zod").ZodLiteral<"BlockImage">;
10
- created: import("zod").ZodObject<{
11
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
12
- timestamp: import("zod").ZodString;
13
- }, "strict", import("zod").ZodTypeAny, {
14
- mutationRef: `Mutation/${string}`;
15
- timestamp: string;
16
- }, {
17
- mutationRef: `Mutation/${string}`;
18
- timestamp: string;
19
- }>;
20
- updated: import("zod").ZodObject<{
21
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
22
- timestamp: import("zod").ZodString;
23
- }, "strict", import("zod").ZodTypeAny, {
24
- mutationRef: `Mutation/${string}`;
25
- timestamp: string;
26
- }, {
27
- mutationRef: `Mutation/${string}`;
28
- timestamp: string;
29
- }>;
30
- data: import("zod").ZodObject<{
31
- url: import("zod").ZodString;
32
- }, "strip", import("zod").ZodTypeAny, {
33
- url: string;
34
- }, {
35
- url: string;
36
- }>;
37
- children: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
38
- parents: import("zod").ZodObject<{
39
- post: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
40
- }, "strip", import("zod").ZodTypeAny, {
41
- post: `Post/${string}`;
42
- }, {
43
- post: `Post/${string}`;
44
- }>;
45
- ancestors: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
46
- }, "strict", import("zod").ZodTypeAny, {
47
- ref: `BlockImage/${string}`;
48
- data: {
49
- url: string;
50
- };
51
- parents: {
52
- post: `Post/${string}`;
53
- };
54
- entity: "BlockImage";
55
- created: {
56
- mutationRef: `Mutation/${string}`;
57
- timestamp: string;
58
- };
59
- updated: {
60
- mutationRef: `Mutation/${string}`;
61
- timestamp: string;
62
- };
63
- children: {};
64
- ancestors: {};
65
- }, {
66
- ref: `BlockImage/${string}`;
67
- data: {
68
- url: string;
69
- };
70
- parents: {
71
- post: `Post/${string}`;
72
- };
73
- entity: "BlockImage";
74
- created: {
75
- mutationRef: `Mutation/${string}`;
76
- timestamp: string;
77
- };
78
- updated: {
79
- mutationRef: `Mutation/${string}`;
80
- timestamp: string;
81
- };
82
- children: {};
83
- ancestors: {};
84
- }> | import("zod").ZodObject<{
85
- ref: import("zod").ZodType<`BlockParagraph/${string}`, import("zod").ZodTypeDef, `BlockParagraph/${string}`>;
86
- entity: import("zod").ZodLiteral<"BlockParagraph">;
87
- created: import("zod").ZodObject<{
88
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
89
- timestamp: import("zod").ZodString;
90
- }, "strict", import("zod").ZodTypeAny, {
91
- mutationRef: `Mutation/${string}`;
92
- timestamp: string;
93
- }, {
94
- mutationRef: `Mutation/${string}`;
95
- timestamp: string;
96
- }>;
97
- updated: import("zod").ZodObject<{
98
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
99
- timestamp: import("zod").ZodString;
100
- }, "strict", import("zod").ZodTypeAny, {
101
- mutationRef: `Mutation/${string}`;
102
- timestamp: string;
103
- }, {
104
- mutationRef: `Mutation/${string}`;
105
- timestamp: string;
106
- }>;
107
- data: import("zod").ZodObject<{
108
- content: import("zod").ZodOptional<import("zod").ZodString>;
109
- }, "strip", import("zod").ZodTypeAny, {
110
- content?: string | undefined;
111
- }, {
112
- content?: string | undefined;
113
- }>;
114
- children: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
115
- parents: import("zod").ZodObject<{
116
- parent: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
117
- }, "strip", import("zod").ZodTypeAny, {
118
- parent: `Post/${string}`;
119
- }, {
120
- parent: `Post/${string}`;
121
- }>;
122
- ancestors: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
123
- }, "strict", import("zod").ZodTypeAny, {
124
- ref: `BlockParagraph/${string}`;
125
- data: {
126
- content?: string | undefined;
127
- };
128
- parents: {
129
- parent: `Post/${string}`;
130
- };
131
- entity: "BlockParagraph";
132
- created: {
133
- mutationRef: `Mutation/${string}`;
134
- timestamp: string;
135
- };
136
- updated: {
137
- mutationRef: `Mutation/${string}`;
138
- timestamp: string;
139
- };
140
- children: {};
141
- ancestors: {};
142
- }, {
143
- ref: `BlockParagraph/${string}`;
144
- data: {
145
- content?: string | undefined;
146
- };
147
- parents: {
148
- parent: `Post/${string}`;
149
- };
150
- entity: "BlockParagraph";
151
- created: {
152
- mutationRef: `Mutation/${string}`;
153
- timestamp: string;
154
- };
155
- updated: {
156
- mutationRef: `Mutation/${string}`;
157
- timestamp: string;
158
- };
159
- children: {};
160
- ancestors: {};
161
- }> | import("zod").ZodObject<{
162
- ref: import("zod").ZodType<`BlockRow/${string}`, import("zod").ZodTypeDef, `BlockRow/${string}`>;
163
- entity: import("zod").ZodLiteral<"BlockRow">;
164
- created: import("zod").ZodObject<{
165
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
166
- timestamp: import("zod").ZodString;
167
- }, "strict", import("zod").ZodTypeAny, {
168
- mutationRef: `Mutation/${string}`;
169
- timestamp: string;
170
- }, {
171
- mutationRef: `Mutation/${string}`;
172
- timestamp: string;
173
- }>;
174
- updated: import("zod").ZodObject<{
175
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
176
- timestamp: import("zod").ZodString;
177
- }, "strict", import("zod").ZodTypeAny, {
178
- mutationRef: `Mutation/${string}`;
179
- timestamp: string;
180
- }, {
181
- mutationRef: `Mutation/${string}`;
182
- timestamp: string;
183
- }>;
184
- data: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
185
- children: import("zod").ZodObject<{
186
- blocks: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodType<`BlockParagraph/${string}`, import("zod").ZodTypeDef, `BlockParagraph/${string}`>, import("zod").ZodType<`BlockRow/${string}`, import("zod").ZodTypeDef, `BlockRow/${string}`>]>, "many">;
187
- }, "strip", import("zod").ZodTypeAny, {
188
- blocks: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
189
- }, {
190
- blocks: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
191
- }>;
192
- parents: import("zod").ZodObject<{
193
- post: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
194
- block: import("zod").ZodUnion<[import("zod").ZodType<`BlockParagraph/${string}`, import("zod").ZodTypeDef, `BlockParagraph/${string}`>, import("zod").ZodType<`BlockRow/${string}`, import("zod").ZodTypeDef, `BlockRow/${string}`>]>;
195
- }, "strip", import("zod").ZodTypeAny, {
196
- post: `Post/${string}`;
197
- block: `BlockParagraph/${string}` | `BlockRow/${string}`;
198
- }, {
199
- post: `Post/${string}`;
200
- block: `BlockParagraph/${string}` | `BlockRow/${string}`;
201
- }>;
202
- ancestors: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
203
- }, "strict", import("zod").ZodTypeAny, {
204
- ref: `BlockRow/${string}`;
205
- data: {};
206
- parents: {
207
- post: `Post/${string}`;
208
- block: `BlockParagraph/${string}` | `BlockRow/${string}`;
209
- };
210
- entity: "BlockRow";
211
- created: {
212
- mutationRef: `Mutation/${string}`;
213
- timestamp: string;
214
- };
215
- updated: {
216
- mutationRef: `Mutation/${string}`;
217
- timestamp: string;
218
- };
219
- children: {
220
- blocks: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
221
- };
222
- ancestors: {};
223
- }, {
224
- ref: `BlockRow/${string}`;
225
- data: {};
226
- parents: {
227
- post: `Post/${string}`;
228
- block: `BlockParagraph/${string}` | `BlockRow/${string}`;
229
- };
230
- entity: "BlockRow";
231
- created: {
232
- mutationRef: `Mutation/${string}`;
233
- timestamp: string;
234
- };
235
- updated: {
236
- mutationRef: `Mutation/${string}`;
237
- timestamp: string;
238
- };
239
- children: {
240
- blocks: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
241
- };
242
- ancestors: {};
243
- }> | import("zod").ZodObject<{
244
- ref: import("zod").ZodType<`BlockTitle/${string}`, import("zod").ZodTypeDef, `BlockTitle/${string}`>;
245
- entity: import("zod").ZodLiteral<"BlockTitle">;
246
- created: import("zod").ZodObject<{
247
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
248
- timestamp: import("zod").ZodString;
249
- }, "strict", import("zod").ZodTypeAny, {
250
- mutationRef: `Mutation/${string}`;
251
- timestamp: string;
252
- }, {
253
- mutationRef: `Mutation/${string}`;
254
- timestamp: string;
255
- }>;
256
- updated: import("zod").ZodObject<{
257
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
258
- timestamp: import("zod").ZodString;
259
- }, "strict", import("zod").ZodTypeAny, {
260
- mutationRef: `Mutation/${string}`;
261
- timestamp: string;
262
- }, {
263
- mutationRef: `Mutation/${string}`;
264
- timestamp: string;
265
- }>;
266
- data: import("zod").ZodObject<{
267
- content: import("zod").ZodString;
268
- }, "strip", import("zod").ZodTypeAny, {
269
- content: string;
270
- }, {
271
- content: string;
272
- }>;
273
- children: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
274
- parents: import("zod").ZodObject<{
275
- post: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
276
- }, "strip", import("zod").ZodTypeAny, {
277
- post: `Post/${string}`;
278
- }, {
279
- post: `Post/${string}`;
280
- }>;
281
- ancestors: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
282
- }, "strict", import("zod").ZodTypeAny, {
283
- ref: `BlockTitle/${string}`;
284
- data: {
285
- content: string;
286
- };
287
- parents: {
288
- post: `Post/${string}`;
289
- };
290
- entity: "BlockTitle";
291
- created: {
292
- mutationRef: `Mutation/${string}`;
293
- timestamp: string;
294
- };
295
- updated: {
296
- mutationRef: `Mutation/${string}`;
297
- timestamp: string;
298
- };
299
- children: {};
300
- ancestors: {};
301
- }, {
302
- ref: `BlockTitle/${string}`;
303
- data: {
304
- content: string;
305
- };
306
- parents: {
307
- post: `Post/${string}`;
308
- };
309
- entity: "BlockTitle";
310
- created: {
311
- mutationRef: `Mutation/${string}`;
312
- timestamp: string;
313
- };
314
- updated: {
315
- mutationRef: `Mutation/${string}`;
316
- timestamp: string;
317
- };
318
- children: {};
319
- ancestors: {};
320
- }> | import("zod").ZodObject<{
321
- ref: import("zod").ZodType<`Draft/${string}`, import("zod").ZodTypeDef, `Draft/${string}`>;
322
- entity: import("zod").ZodLiteral<"Draft">;
323
- created: import("zod").ZodObject<{
324
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
325
- timestamp: import("zod").ZodString;
326
- }, "strict", import("zod").ZodTypeAny, {
327
- mutationRef: `Mutation/${string}`;
328
- timestamp: string;
329
- }, {
330
- mutationRef: `Mutation/${string}`;
331
- timestamp: string;
332
- }>;
333
- updated: import("zod").ZodObject<{
334
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
335
- timestamp: import("zod").ZodString;
336
- }, "strict", import("zod").ZodTypeAny, {
337
- mutationRef: `Mutation/${string}`;
338
- timestamp: string;
339
- }, {
340
- mutationRef: `Mutation/${string}`;
341
- timestamp: string;
342
- }>;
343
- data: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
344
- children: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
345
- parents: import("zod").ZodObject<{
346
- post: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
347
- }, "strip", import("zod").ZodTypeAny, {
348
- post: `Post/${string}`;
349
- }, {
350
- post: `Post/${string}`;
351
- }>;
352
- ancestors: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
353
- }, "strict", import("zod").ZodTypeAny, {
354
- ref: `Draft/${string}`;
355
- data: {};
356
- parents: {
357
- post: `Post/${string}`;
358
- };
359
- entity: "Draft";
360
- created: {
361
- mutationRef: `Mutation/${string}`;
362
- timestamp: string;
363
- };
364
- updated: {
365
- mutationRef: `Mutation/${string}`;
366
- timestamp: string;
367
- };
368
- children: {};
369
- ancestors: {};
370
- }, {
371
- ref: `Draft/${string}`;
372
- data: {};
373
- parents: {
374
- post: `Post/${string}`;
375
- };
376
- entity: "Draft";
377
- created: {
378
- mutationRef: `Mutation/${string}`;
379
- timestamp: string;
380
- };
381
- updated: {
382
- mutationRef: `Mutation/${string}`;
383
- timestamp: string;
384
- };
385
- children: {};
386
- ancestors: {};
387
- }> | import("zod").ZodObject<{
388
- ref: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
389
- entity: import("zod").ZodLiteral<"Post">;
390
- created: import("zod").ZodObject<{
391
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
392
- timestamp: import("zod").ZodString;
393
- }, "strict", import("zod").ZodTypeAny, {
394
- mutationRef: `Mutation/${string}`;
395
- timestamp: string;
396
- }, {
397
- mutationRef: `Mutation/${string}`;
398
- timestamp: string;
399
- }>;
400
- updated: import("zod").ZodObject<{
401
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
402
- timestamp: import("zod").ZodString;
403
- }, "strict", import("zod").ZodTypeAny, {
404
- mutationRef: `Mutation/${string}`;
405
- timestamp: string;
406
- }, {
407
- mutationRef: `Mutation/${string}`;
408
- timestamp: string;
409
- }>;
410
- data: import("zod").ZodObject<{
411
- title: import("zod").ZodString;
412
- text: import("zod").ZodOptional<import("zod").ZodString>;
413
- tags: import("zod").ZodArray<import("zod").ZodString, "many">;
414
- slug: import("zod").ZodOptional<import("zod").ZodString>;
415
- }, "strip", import("zod").ZodTypeAny, {
416
- title: string;
417
- tags: string[];
418
- text?: string | undefined;
419
- slug?: string | undefined;
420
- }, {
421
- title: string;
422
- tags: string[];
423
- text?: string | undefined;
424
- slug?: string | undefined;
425
- }>;
426
- children: import("zod").ZodObject<{
427
- blocks: import("zod").ZodArray<import("zod").ZodString, "many">;
428
- }, "strip", import("zod").ZodTypeAny, {
429
- blocks: string[];
430
- }, {
431
- blocks: string[];
432
- }>;
433
- parents: import("zod").ZodObject<{
434
- author: import("zod").ZodOptional<import("zod").ZodType<`User/${string}`, import("zod").ZodTypeDef, `User/${string}`>>;
435
- }, "strip", import("zod").ZodTypeAny, {
436
- author?: `User/${string}` | undefined;
437
- }, {
438
- author?: `User/${string}` | undefined;
439
- }>;
440
- ancestors: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
441
- }, "strict", import("zod").ZodTypeAny, {
442
- ref: `Post/${string}`;
443
- data: {
444
- title: string;
445
- tags: string[];
446
- text?: string | undefined;
447
- slug?: string | undefined;
448
- };
449
- parents: {
450
- author?: `User/${string}` | undefined;
451
- };
452
- entity: "Post";
453
- created: {
454
- mutationRef: `Mutation/${string}`;
455
- timestamp: string;
456
- };
457
- updated: {
458
- mutationRef: `Mutation/${string}`;
459
- timestamp: string;
460
- };
461
- children: {
462
- blocks: string[];
463
- };
464
- ancestors: {};
465
- }, {
466
- ref: `Post/${string}`;
467
- data: {
468
- title: string;
469
- tags: string[];
470
- text?: string | undefined;
471
- slug?: string | undefined;
472
- };
473
- parents: {
474
- author?: `User/${string}` | undefined;
475
- };
476
- entity: "Post";
477
- created: {
478
- mutationRef: `Mutation/${string}`;
479
- timestamp: string;
480
- };
481
- updated: {
482
- mutationRef: `Mutation/${string}`;
483
- timestamp: string;
484
- };
485
- children: {
486
- blocks: string[];
487
- };
488
- ancestors: {};
489
- }> | import("zod").ZodObject<{
490
- ref: import("zod").ZodType<`PostVersion/${string}`, import("zod").ZodTypeDef, `PostVersion/${string}`>;
491
- entity: import("zod").ZodLiteral<"PostVersion">;
492
- created: import("zod").ZodObject<{
493
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
494
- timestamp: import("zod").ZodString;
495
- }, "strict", import("zod").ZodTypeAny, {
496
- mutationRef: `Mutation/${string}`;
497
- timestamp: string;
498
- }, {
499
- mutationRef: `Mutation/${string}`;
500
- timestamp: string;
501
- }>;
502
- updated: import("zod").ZodObject<{
503
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
504
- timestamp: import("zod").ZodString;
505
- }, "strict", import("zod").ZodTypeAny, {
506
- mutationRef: `Mutation/${string}`;
507
- timestamp: string;
508
- }, {
509
- mutationRef: `Mutation/${string}`;
510
- timestamp: string;
511
- }>;
512
- data: import("zod").ZodObject<{
513
- version: import("zod").ZodNumber;
514
- snapshot: import("zod").ZodArray<import("zod").ZodAny, "many">;
515
- }, "strip", import("zod").ZodTypeAny, {
516
- version: number;
517
- snapshot: any[];
518
- }, {
519
- version: number;
520
- snapshot: any[];
521
- }>;
522
- children: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
523
- parents: import("zod").ZodObject<{
524
- post: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
525
- }, "strip", import("zod").ZodTypeAny, {
526
- post: `Post/${string}`;
527
- }, {
528
- post: `Post/${string}`;
529
- }>;
530
- ancestors: import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>;
531
- }, "strict", import("zod").ZodTypeAny, {
532
- ref: `PostVersion/${string}`;
533
- data: {
534
- version: number;
535
- snapshot: any[];
536
- };
537
- parents: {
538
- post: `Post/${string}`;
539
- };
540
- entity: "PostVersion";
541
- created: {
542
- mutationRef: `Mutation/${string}`;
543
- timestamp: string;
544
- };
545
- updated: {
546
- mutationRef: `Mutation/${string}`;
547
- timestamp: string;
548
- };
549
- children: {};
550
- ancestors: {};
551
- }, {
552
- ref: `PostVersion/${string}`;
553
- data: {
554
- version: number;
555
- snapshot: any[];
556
- };
557
- parents: {
558
- post: `Post/${string}`;
559
- };
560
- entity: "PostVersion";
561
- created: {
562
- mutationRef: `Mutation/${string}`;
563
- timestamp: string;
564
- };
565
- updated: {
566
- mutationRef: `Mutation/${string}`;
567
- timestamp: string;
568
- };
569
- children: {};
570
- ancestors: {};
571
- }>)[];
572
7
  export { DraftRefSchema } from "./DraftRefSchema";
573
8
  export { PostRefSchema } from "./PostRefSchema";
574
9
  export { UserRefSchema } from "./UserRefSchema";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roc-db/test-utils",
3
- "version": "0.2.0-pre.50",
3
+ "version": "0.2.0-pre.52",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  "sideEffects": false,
19
19
  "peerDependencies": {
20
- "roc-db": "0.2.0-pre.50",
20
+ "roc-db": "0.2.0-pre.52",
21
21
  "zod": "3.24.2"
22
22
  },
23
23
  "keywords": [],
@@ -1 +0,0 @@
1
- export declare const PostVersionRefSchema: import("zod").ZodType<`PostVersion/${string}`, import("zod").ZodTypeDef, `PostVersion/${string}`>;
@@ -1,85 +0,0 @@
1
- import { z } from "zod";
2
- export declare const PostVersionSchema: z.ZodObject<{
3
- ref: z.ZodType<`PostVersion/${string}`, z.ZodTypeDef, `PostVersion/${string}`>;
4
- entity: z.ZodLiteral<"PostVersion">;
5
- created: z.ZodObject<{
6
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
7
- timestamp: z.ZodString;
8
- }, "strict", z.ZodTypeAny, {
9
- mutationRef: `Mutation/${string}`;
10
- timestamp: string;
11
- }, {
12
- mutationRef: `Mutation/${string}`;
13
- timestamp: string;
14
- }>;
15
- updated: z.ZodObject<{
16
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
17
- timestamp: z.ZodString;
18
- }, "strict", z.ZodTypeAny, {
19
- mutationRef: `Mutation/${string}`;
20
- timestamp: string;
21
- }, {
22
- mutationRef: `Mutation/${string}`;
23
- timestamp: string;
24
- }>;
25
- data: z.ZodObject<{
26
- version: z.ZodNumber;
27
- snapshot: z.ZodArray<z.ZodAny, "many">;
28
- }, "strip", z.ZodTypeAny, {
29
- version: number;
30
- snapshot: any[];
31
- }, {
32
- version: number;
33
- snapshot: any[];
34
- }>;
35
- children: z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>;
36
- parents: z.ZodObject<{
37
- post: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
38
- }, "strip", z.ZodTypeAny, {
39
- post: `Post/${string}`;
40
- }, {
41
- post: `Post/${string}`;
42
- }>;
43
- ancestors: z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>;
44
- }, "strict", z.ZodTypeAny, {
45
- ref: `PostVersion/${string}`;
46
- data: {
47
- version: number;
48
- snapshot: any[];
49
- };
50
- parents: {
51
- post: `Post/${string}`;
52
- };
53
- entity: "PostVersion";
54
- created: {
55
- mutationRef: `Mutation/${string}`;
56
- timestamp: string;
57
- };
58
- updated: {
59
- mutationRef: `Mutation/${string}`;
60
- timestamp: string;
61
- };
62
- children: {};
63
- ancestors: {};
64
- }, {
65
- ref: `PostVersion/${string}`;
66
- data: {
67
- version: number;
68
- snapshot: any[];
69
- };
70
- parents: {
71
- post: `Post/${string}`;
72
- };
73
- entity: "PostVersion";
74
- created: {
75
- mutationRef: `Mutation/${string}`;
76
- timestamp: string;
77
- };
78
- updated: {
79
- mutationRef: `Mutation/${string}`;
80
- timestamp: string;
81
- };
82
- children: {};
83
- ancestors: {};
84
- }>;
85
- export type PostVersion = z.infer<typeof PostVersionSchema>;