@roc-db/test-utils 0.2.0-pre.44 → 0.2.0-pre.46

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.
Files changed (41) hide show
  1. package/dist/index.js +181 -114
  2. package/dist/types/operations/createBlockImage.d.ts +18 -1
  3. package/dist/types/operations/createBlockParagraph.d.ts +18 -1
  4. package/dist/types/operations/createBlockRow.d.ts +18 -1
  5. package/dist/types/operations/createBlockTitle.d.ts +18 -1
  6. package/dist/types/operations/createDraft.d.ts +16 -1
  7. package/dist/types/operations/createPost.d.ts +23 -1
  8. package/dist/types/operations/deleteBlocks.d.ts +23 -1
  9. package/dist/types/operations/deleteDraft.d.ts +5 -0
  10. package/dist/types/operations/index.d.ts +230 -11
  11. package/dist/types/operations/testTransactionalEdits.d.ts +23 -1
  12. package/dist/types/operations/updatePost.d.ts +23 -1
  13. package/dist/types/operations/updatePostDescription.d.ts +23 -1
  14. package/dist/types/operations/updatePostTitle.d.ts +23 -1
  15. package/dist/types/schemas/ApplyDraftMutationSchema.d.ts +2 -2
  16. package/dist/types/schemas/BlockImageSchema.d.ts +56 -9
  17. package/dist/types/schemas/BlockParagraphSchema.d.ts +56 -9
  18. package/dist/types/schemas/BlockRowSchema.d.ts +61 -9
  19. package/dist/types/schemas/BlockTitleSchema.d.ts +56 -9
  20. package/dist/types/schemas/CreateBlockImageMutationSchema.d.ts +2 -2
  21. package/dist/types/schemas/CreateBlockParagraphMutationSchema.d.ts +2 -2
  22. package/dist/types/schemas/CreateBlockRowMutationSchema.d.ts +2 -2
  23. package/dist/types/schemas/CreateBlockTitleMutationSchema.d.ts +2 -2
  24. package/dist/types/schemas/CreateDraftMutationSchema.d.ts +2 -2
  25. package/dist/types/schemas/CreatePostMutationSchema.d.ts +2 -2
  26. package/dist/types/schemas/CreateUserMutationSchema.d.ts +2 -2
  27. package/dist/types/schemas/DeleteBlocksMutationSchema.d.ts +2 -2
  28. package/dist/types/schemas/DeleteDraftMutationSchema.d.ts +53 -0
  29. package/dist/types/schemas/DeletePostMutationSchema.d.ts +2 -2
  30. package/dist/types/schemas/DraftSchema.d.ts +46 -9
  31. package/dist/types/schemas/MoveBlocksMutationSchema.d.ts +2 -2
  32. package/dist/types/schemas/PostSchema.d.ts +81 -9
  33. package/dist/types/schemas/PostVersionRefSchema.d.ts +1 -0
  34. package/dist/types/schemas/PostVersionSchema.d.ts +85 -0
  35. package/dist/types/schemas/TestTransactionalEditsMutationSchema.d.ts +2 -2
  36. package/dist/types/schemas/UpdateBlockParagraphMutationSchema.d.ts +2 -2
  37. package/dist/types/schemas/UpdatePostDescriptionMutationSchema.d.ts +2 -2
  38. package/dist/types/schemas/UpdatePostMutationSchema.d.ts +2 -2
  39. package/dist/types/schemas/UpdatePostTitleMutationSchema.d.ts +2 -2
  40. package/dist/types/schemas/index.d.ts +544 -10
  41. package/package.json +2 -2
@@ -3,5 +3,27 @@ export declare const createPost: import("roc-db").WriteOperation<string, {
3
3
  name: string;
4
4
  payload?: any;
5
5
  }, any, {
6
- [x: string]: any;
6
+ ref: `Post/${string}`;
7
+ data: {
8
+ title: string;
9
+ tags: string[];
10
+ text?: string | undefined;
11
+ slug?: string | undefined;
12
+ };
13
+ parents: {
14
+ author?: `User/${string}` | undefined;
15
+ };
16
+ entity: "Post";
17
+ created: {
18
+ mutationRef: `Mutation/${string}`;
19
+ timestamp: string;
20
+ };
21
+ updated: {
22
+ mutationRef: `Mutation/${string}`;
23
+ timestamp: string;
24
+ };
25
+ children: {
26
+ blocks: string[];
27
+ };
28
+ ancestors: {};
7
29
  }>;
@@ -3,5 +3,27 @@ export declare const deleteBlocks: import("roc-db").WriteOperation<string, {
3
3
  name: string;
4
4
  payload?: any;
5
5
  }, any, {
6
- [x: string]: any;
6
+ ref: `Post/${string}`;
7
+ data: {
8
+ title: string;
9
+ tags: string[];
10
+ text?: string | undefined;
11
+ slug?: string | undefined;
12
+ };
13
+ parents: {
14
+ author?: `User/${string}` | undefined;
15
+ };
16
+ entity: "Post";
17
+ created: {
18
+ mutationRef: `Mutation/${string}`;
19
+ timestamp: string;
20
+ };
21
+ updated: {
22
+ mutationRef: `Mutation/${string}`;
23
+ timestamp: string;
24
+ };
25
+ children: {
26
+ blocks: string[];
27
+ };
28
+ ancestors: {};
7
29
  }>;
@@ -0,0 +1,5 @@
1
+ export declare const deleteDraft: import("roc-db").WriteOperation<string, {
2
+ debounceCount: number;
3
+ name: string;
4
+ payload?: any;
5
+ }, any, any>;
@@ -7,43 +7,170 @@ export declare const operations: readonly [import("roc-db").WriteOperation<strin
7
7
  name: string;
8
8
  payload?: any;
9
9
  }, any, {
10
- [x: string]: any;
10
+ ref: `BlockImage/${string}`;
11
+ data: {
12
+ url: string;
13
+ };
14
+ parents: {
15
+ post: `Post/${string}`;
16
+ };
17
+ entity: "BlockImage";
18
+ created: {
19
+ mutationRef: `Mutation/${string}`;
20
+ timestamp: string;
21
+ };
22
+ updated: {
23
+ mutationRef: `Mutation/${string}`;
24
+ timestamp: string;
25
+ };
26
+ children: {};
27
+ ancestors: {};
11
28
  }>, import("roc-db").WriteOperation<string, {
12
29
  debounceCount: number;
13
30
  name: string;
14
31
  payload?: any;
15
32
  }, any, {
16
- [x: string]: any;
33
+ ref: `BlockTitle/${string}`;
34
+ data: {
35
+ content: string;
36
+ };
37
+ parents: {
38
+ post: `Post/${string}`;
39
+ };
40
+ entity: "BlockTitle";
41
+ created: {
42
+ mutationRef: `Mutation/${string}`;
43
+ timestamp: string;
44
+ };
45
+ updated: {
46
+ mutationRef: `Mutation/${string}`;
47
+ timestamp: string;
48
+ };
49
+ children: {};
50
+ ancestors: {};
17
51
  }>, import("roc-db").WriteOperation<string, {
18
52
  debounceCount: number;
19
53
  name: string;
20
54
  payload?: any;
21
55
  }, any, {
22
- [x: string]: any;
56
+ ref: `BlockParagraph/${string}`;
57
+ data: {
58
+ content?: string | undefined;
59
+ };
60
+ parents: {
61
+ parent: `Post/${string}`;
62
+ };
63
+ entity: "BlockParagraph";
64
+ created: {
65
+ mutationRef: `Mutation/${string}`;
66
+ timestamp: string;
67
+ };
68
+ updated: {
69
+ mutationRef: `Mutation/${string}`;
70
+ timestamp: string;
71
+ };
72
+ children: {};
73
+ ancestors: {};
23
74
  }>, import("roc-db").WriteOperation<string, {
24
75
  debounceCount: number;
25
76
  name: string;
26
77
  payload?: any;
27
78
  }, any, {
28
- [x: string]: any;
79
+ ref: `BlockParagraph/${string}`;
80
+ data: {
81
+ content?: string | undefined;
82
+ };
83
+ parents: {
84
+ parent: `Post/${string}`;
85
+ };
86
+ entity: "BlockParagraph";
87
+ created: {
88
+ mutationRef: `Mutation/${string}`;
89
+ timestamp: string;
90
+ };
91
+ updated: {
92
+ mutationRef: `Mutation/${string}`;
93
+ timestamp: string;
94
+ };
95
+ children: {};
96
+ ancestors: {};
29
97
  }>, import("roc-db").WriteOperation<string, {
30
98
  debounceCount: number;
31
99
  name: string;
32
100
  payload?: any;
33
101
  }, any, {
34
- [x: string]: any;
102
+ ref: `Draft/${string}`;
103
+ data: {
104
+ postRef: `Post/${string}`;
105
+ };
106
+ parents: {};
107
+ entity: "Draft";
108
+ created: {
109
+ mutationRef: `Mutation/${string}`;
110
+ timestamp: string;
111
+ };
112
+ updated: {
113
+ mutationRef: `Mutation/${string}`;
114
+ timestamp: string;
115
+ };
116
+ children: {};
117
+ ancestors: {};
35
118
  }>, import("roc-db").WriteOperation<string, {
36
119
  debounceCount: number;
37
120
  name: string;
38
121
  payload?: any;
39
122
  }, any, {
40
- [x: string]: any;
123
+ ref: `Post/${string}`;
124
+ data: {
125
+ title: string;
126
+ tags: string[];
127
+ text?: string | undefined;
128
+ slug?: string | undefined;
129
+ };
130
+ parents: {
131
+ author?: `User/${string}` | undefined;
132
+ };
133
+ entity: "Post";
134
+ created: {
135
+ mutationRef: `Mutation/${string}`;
136
+ timestamp: string;
137
+ };
138
+ updated: {
139
+ mutationRef: `Mutation/${string}`;
140
+ timestamp: string;
141
+ };
142
+ children: {
143
+ blocks: string[];
144
+ };
145
+ ancestors: {};
41
146
  }>, import("roc-db").WriteOperation<string, {
42
147
  debounceCount: number;
43
148
  name: string;
44
149
  payload?: any;
45
150
  }, any, {
46
- [x: string]: any;
151
+ ref: `Post/${string}`;
152
+ data: {
153
+ title: string;
154
+ tags: string[];
155
+ text?: string | undefined;
156
+ slug?: string | undefined;
157
+ };
158
+ parents: {
159
+ author?: `User/${string}` | undefined;
160
+ };
161
+ entity: "Post";
162
+ created: {
163
+ mutationRef: `Mutation/${string}`;
164
+ timestamp: string;
165
+ };
166
+ updated: {
167
+ mutationRef: `Mutation/${string}`;
168
+ timestamp: string;
169
+ };
170
+ children: {
171
+ blocks: string[];
172
+ };
173
+ ancestors: {};
47
174
  }>, import("roc-db").WriteOperation<string, {
48
175
  debounceCount: number;
49
176
  name: string;
@@ -52,12 +179,38 @@ export declare const operations: readonly [import("roc-db").WriteOperation<strin
52
179
  debounceCount: number;
53
180
  name: string;
54
181
  payload?: any;
182
+ }, any, any>, import("roc-db").WriteOperation<string, {
183
+ debounceCount: number;
184
+ name: string;
185
+ payload?: any;
55
186
  }, any, any>, any, any, any, import("roc-db").WriteOperation<string, {
56
187
  debounceCount: number;
57
188
  name: string;
58
189
  payload?: any;
59
190
  }, any, {
60
- [x: string]: any;
191
+ ref: `Post/${string}`;
192
+ data: {
193
+ title: string;
194
+ tags: string[];
195
+ text?: string | undefined;
196
+ slug?: string | undefined;
197
+ };
198
+ parents: {
199
+ author?: `User/${string}` | undefined;
200
+ };
201
+ entity: "Post";
202
+ created: {
203
+ mutationRef: `Mutation/${string}`;
204
+ timestamp: string;
205
+ };
206
+ updated: {
207
+ mutationRef: `Mutation/${string}`;
208
+ timestamp: string;
209
+ };
210
+ children: {
211
+ blocks: string[];
212
+ };
213
+ ancestors: {};
61
214
  }>, import("roc-db").WriteOperation<string, {
62
215
  debounceCount: number;
63
216
  name: string;
@@ -67,17 +220,83 @@ export declare const operations: readonly [import("roc-db").WriteOperation<strin
67
220
  name: string;
68
221
  payload?: any;
69
222
  }, any, {
70
- [x: string]: any;
223
+ ref: `Post/${string}`;
224
+ data: {
225
+ title: string;
226
+ tags: string[];
227
+ text?: string | undefined;
228
+ slug?: string | undefined;
229
+ };
230
+ parents: {
231
+ author?: `User/${string}` | undefined;
232
+ };
233
+ entity: "Post";
234
+ created: {
235
+ mutationRef: `Mutation/${string}`;
236
+ timestamp: string;
237
+ };
238
+ updated: {
239
+ mutationRef: `Mutation/${string}`;
240
+ timestamp: string;
241
+ };
242
+ children: {
243
+ blocks: string[];
244
+ };
245
+ ancestors: {};
71
246
  }>, import("roc-db").WriteOperation<string, {
72
247
  debounceCount: number;
73
248
  name: string;
74
249
  payload?: any;
75
250
  }, any, {
76
- [x: string]: any;
251
+ ref: `Post/${string}`;
252
+ data: {
253
+ title: string;
254
+ tags: string[];
255
+ text?: string | undefined;
256
+ slug?: string | undefined;
257
+ };
258
+ parents: {
259
+ author?: `User/${string}` | undefined;
260
+ };
261
+ entity: "Post";
262
+ created: {
263
+ mutationRef: `Mutation/${string}`;
264
+ timestamp: string;
265
+ };
266
+ updated: {
267
+ mutationRef: `Mutation/${string}`;
268
+ timestamp: string;
269
+ };
270
+ children: {
271
+ blocks: string[];
272
+ };
273
+ ancestors: {};
77
274
  }>, import("roc-db").WriteOperation<string, {
78
275
  debounceCount: number;
79
276
  name: string;
80
277
  payload?: any;
81
278
  }, any, {
82
- [x: string]: any;
279
+ ref: `Post/${string}`;
280
+ data: {
281
+ title: string;
282
+ tags: string[];
283
+ text?: string | undefined;
284
+ slug?: string | undefined;
285
+ };
286
+ parents: {
287
+ author?: `User/${string}` | undefined;
288
+ };
289
+ entity: "Post";
290
+ created: {
291
+ mutationRef: `Mutation/${string}`;
292
+ timestamp: string;
293
+ };
294
+ updated: {
295
+ mutationRef: `Mutation/${string}`;
296
+ timestamp: string;
297
+ };
298
+ children: {
299
+ blocks: string[];
300
+ };
301
+ ancestors: {};
83
302
  }>];
@@ -3,5 +3,27 @@ export declare const testTransactionalEdits: import("roc-db").WriteOperation<str
3
3
  name: string;
4
4
  payload?: any;
5
5
  }, any, {
6
- [x: string]: any;
6
+ ref: `Post/${string}`;
7
+ data: {
8
+ title: string;
9
+ tags: string[];
10
+ text?: string | undefined;
11
+ slug?: string | undefined;
12
+ };
13
+ parents: {
14
+ author?: `User/${string}` | undefined;
15
+ };
16
+ entity: "Post";
17
+ created: {
18
+ mutationRef: `Mutation/${string}`;
19
+ timestamp: string;
20
+ };
21
+ updated: {
22
+ mutationRef: `Mutation/${string}`;
23
+ timestamp: string;
24
+ };
25
+ children: {
26
+ blocks: string[];
27
+ };
28
+ ancestors: {};
7
29
  }>;
@@ -3,5 +3,27 @@ export declare const updatePost: import("roc-db").WriteOperation<string, {
3
3
  name: string;
4
4
  payload?: any;
5
5
  }, any, {
6
- [x: string]: any;
6
+ ref: `Post/${string}`;
7
+ data: {
8
+ title: string;
9
+ tags: string[];
10
+ text?: string | undefined;
11
+ slug?: string | undefined;
12
+ };
13
+ parents: {
14
+ author?: `User/${string}` | undefined;
15
+ };
16
+ entity: "Post";
17
+ created: {
18
+ mutationRef: `Mutation/${string}`;
19
+ timestamp: string;
20
+ };
21
+ updated: {
22
+ mutationRef: `Mutation/${string}`;
23
+ timestamp: string;
24
+ };
25
+ children: {
26
+ blocks: string[];
27
+ };
28
+ ancestors: {};
7
29
  }>;
@@ -3,5 +3,27 @@ export declare const updatePostDescription: import("roc-db").WriteOperation<stri
3
3
  name: string;
4
4
  payload?: any;
5
5
  }, any, {
6
- [x: string]: any;
6
+ ref: `Post/${string}`;
7
+ data: {
8
+ title: string;
9
+ tags: string[];
10
+ text?: string | undefined;
11
+ slug?: string | undefined;
12
+ };
13
+ parents: {
14
+ author?: `User/${string}` | undefined;
15
+ };
16
+ entity: "Post";
17
+ created: {
18
+ mutationRef: `Mutation/${string}`;
19
+ timestamp: string;
20
+ };
21
+ updated: {
22
+ mutationRef: `Mutation/${string}`;
23
+ timestamp: string;
24
+ };
25
+ children: {
26
+ blocks: string[];
27
+ };
28
+ ancestors: {};
7
29
  }>;
@@ -3,5 +3,27 @@ export declare const updatePostTitle: import("roc-db").WriteOperation<string, {
3
3
  name: string;
4
4
  payload?: any;
5
5
  }, any, {
6
- [x: string]: any;
6
+ ref: `Post/${string}`;
7
+ data: {
8
+ title: string;
9
+ tags: string[];
10
+ text?: string | undefined;
11
+ slug?: string | undefined;
12
+ };
13
+ parents: {
14
+ author?: `User/${string}` | undefined;
15
+ };
16
+ entity: "Post";
17
+ created: {
18
+ mutationRef: `Mutation/${string}`;
19
+ timestamp: string;
20
+ };
21
+ updated: {
22
+ mutationRef: `Mutation/${string}`;
23
+ timestamp: string;
24
+ };
25
+ children: {
26
+ blocks: string[];
27
+ };
28
+ ancestors: {};
7
29
  }>;
@@ -14,8 +14,8 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
14
14
  name: z.ZodLiteral<"applyDraft">;
15
15
  version: z.ZodDefault<z.ZodNumber>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- name: "applyDraft";
18
17
  version: number;
18
+ name: "applyDraft";
19
19
  }, {
20
20
  name: "applyDraft";
21
21
  version?: number | undefined;
@@ -40,8 +40,8 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
40
40
  debounceCount: number;
41
41
  identityRef: string;
42
42
  operation: {
43
- name: "applyDraft";
44
43
  version: number;
44
+ name: "applyDraft";
45
45
  };
46
46
  sessionRef?: string | null | undefined;
47
47
  persistedAt?: string | null | undefined;
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
- export declare const BlockImageSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<never, z.ZodTypeDef, never>;
4
- entity: z.ZodString;
2
+ export declare const BlockImageSchema: z.ZodObject<{
3
+ ref: z.ZodType<`BlockImage/${string}`, z.ZodTypeDef, `BlockImage/${string}`>;
4
+ entity: z.ZodLiteral<"BlockImage">;
5
5
  created: z.ZodObject<{
6
6
  mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
7
7
  timestamp: z.ZodString;
@@ -22,11 +22,58 @@ export declare const BlockImageSchema: z.ZodObject<z.objectUtil.extendShape<{
22
22
  mutationRef: `Mutation/${string}`;
23
23
  timestamp: string;
24
24
  }>;
25
- data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- parents: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
27
- ancestors: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
28
- }, z.ZodRawShape>, "strict", z.ZodTypeAny, {
29
- [x: string]: any;
25
+ data: z.ZodObject<{
26
+ url: z.ZodString;
27
+ }, "strip", z.ZodTypeAny, {
28
+ url: string;
29
+ }, {
30
+ url: string;
31
+ }>;
32
+ children: z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>;
33
+ parents: z.ZodObject<{
34
+ post: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ post: `Post/${string}`;
37
+ }, {
38
+ post: `Post/${string}`;
39
+ }>;
40
+ ancestors: z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>;
41
+ }, "strict", z.ZodTypeAny, {
42
+ ref: `BlockImage/${string}`;
43
+ data: {
44
+ url: string;
45
+ };
46
+ parents: {
47
+ post: `Post/${string}`;
48
+ };
49
+ entity: "BlockImage";
50
+ created: {
51
+ mutationRef: `Mutation/${string}`;
52
+ timestamp: string;
53
+ };
54
+ updated: {
55
+ mutationRef: `Mutation/${string}`;
56
+ timestamp: string;
57
+ };
58
+ children: {};
59
+ ancestors: {};
30
60
  }, {
31
- [x: string]: any;
61
+ ref: `BlockImage/${string}`;
62
+ data: {
63
+ url: string;
64
+ };
65
+ parents: {
66
+ post: `Post/${string}`;
67
+ };
68
+ entity: "BlockImage";
69
+ created: {
70
+ mutationRef: `Mutation/${string}`;
71
+ timestamp: string;
72
+ };
73
+ updated: {
74
+ mutationRef: `Mutation/${string}`;
75
+ timestamp: string;
76
+ };
77
+ children: {};
78
+ ancestors: {};
32
79
  }>;
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
- export declare const BlockParagraphSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<never, z.ZodTypeDef, never>;
4
- entity: z.ZodString;
2
+ export declare const BlockParagraphSchema: z.ZodObject<{
3
+ ref: z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>;
4
+ entity: z.ZodLiteral<"BlockParagraph">;
5
5
  created: z.ZodObject<{
6
6
  mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
7
7
  timestamp: z.ZodString;
@@ -22,12 +22,59 @@ export declare const BlockParagraphSchema: z.ZodObject<z.objectUtil.extendShape<
22
22
  mutationRef: `Mutation/${string}`;
23
23
  timestamp: string;
24
24
  }>;
25
- data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- parents: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
27
- ancestors: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
28
- }, z.ZodRawShape>, "strict", z.ZodTypeAny, {
29
- [x: string]: any;
25
+ data: z.ZodObject<{
26
+ content: z.ZodOptional<z.ZodString>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ content?: string | undefined;
29
+ }, {
30
+ content?: string | undefined;
31
+ }>;
32
+ children: z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>;
33
+ parents: z.ZodObject<{
34
+ parent: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ parent: `Post/${string}`;
37
+ }, {
38
+ parent: `Post/${string}`;
39
+ }>;
40
+ ancestors: z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>;
41
+ }, "strict", z.ZodTypeAny, {
42
+ ref: `BlockParagraph/${string}`;
43
+ data: {
44
+ content?: string | undefined;
45
+ };
46
+ parents: {
47
+ parent: `Post/${string}`;
48
+ };
49
+ entity: "BlockParagraph";
50
+ created: {
51
+ mutationRef: `Mutation/${string}`;
52
+ timestamp: string;
53
+ };
54
+ updated: {
55
+ mutationRef: `Mutation/${string}`;
56
+ timestamp: string;
57
+ };
58
+ children: {};
59
+ ancestors: {};
30
60
  }, {
31
- [x: string]: any;
61
+ ref: `BlockParagraph/${string}`;
62
+ data: {
63
+ content?: string | undefined;
64
+ };
65
+ parents: {
66
+ parent: `Post/${string}`;
67
+ };
68
+ entity: "BlockParagraph";
69
+ created: {
70
+ mutationRef: `Mutation/${string}`;
71
+ timestamp: string;
72
+ };
73
+ updated: {
74
+ mutationRef: `Mutation/${string}`;
75
+ timestamp: string;
76
+ };
77
+ children: {};
78
+ ancestors: {};
32
79
  }>;
33
80
  export type BlockParagraph = z.infer<typeof BlockParagraphSchema>;