@roc-db/test-utils 0.2.0-pre.32 → 0.2.0-pre.34
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/index.js +311 -172
- package/dist/types/operations/applyDraft.d.ts +1 -1
- package/dist/types/operations/createBlockImage.d.ts +1 -1
- package/dist/types/operations/createBlockParagraph.d.ts +1 -1
- package/dist/types/operations/createBlockRow.d.ts +1 -1
- package/dist/types/operations/createBlockTitle.d.ts +1 -1
- package/dist/types/operations/createDraft.d.ts +1 -1
- package/dist/types/operations/createPost.d.ts +1 -1
- package/dist/types/operations/deleteBlock.d.ts +1 -1
- package/dist/types/operations/deletePost.d.ts +1 -1
- package/dist/types/operations/index.d.ts +50 -14
- package/dist/types/operations/moveBlocks.d.ts +17 -0
- package/dist/types/operations/testTransactionalEdits.d.ts +21 -0
- package/dist/types/operations/updateBlockParagraph.d.ts +1 -1
- package/dist/types/operations/updatePost.d.ts +1 -1
- package/dist/types/operations/updatePostDescription.d.ts +1 -1
- package/dist/types/operations/updatePostTitle.d.ts +1 -1
- package/dist/types/schemas/ApplyDraftMutationSchema.d.ts +4 -4
- package/dist/types/schemas/CreateBlockImageMutationSchema.d.ts +4 -4
- package/dist/types/schemas/CreateBlockParagraphMutationSchema.d.ts +4 -4
- package/dist/types/schemas/CreateBlockRowMutationSchema.d.ts +4 -4
- package/dist/types/schemas/CreateBlockTitleMutationSchema.d.ts +4 -4
- package/dist/types/schemas/CreateDraftMutationSchema.d.ts +4 -4
- package/dist/types/schemas/CreatePostMutationSchema.d.ts +4 -4
- package/dist/types/schemas/CreateUserMutationSchema.d.ts +4 -4
- package/dist/types/schemas/DeleteBlockMutationSchema.d.ts +4 -4
- package/dist/types/schemas/DeletePostMutationSchema.d.ts +4 -4
- package/dist/types/schemas/MoveBlocksMutationSchema.d.ts +51 -0
- package/dist/types/schemas/TestTransactionalEditsMutationSchema.d.ts +56 -0
- package/dist/types/schemas/UpdateBlockParagraphMutationSchema.d.ts +4 -4
- package/dist/types/schemas/UpdatePostDescriptionMutationSchema.d.ts +4 -4
- package/dist/types/schemas/UpdatePostMutationSchema.d.ts +5 -5
- package/dist/types/schemas/UpdatePostTitleMutationSchema.d.ts +4 -4
- package/dist/types/testAdapterImplementation.d.ts +1 -1
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ export declare const deleteBlock: import("roc-db").WriteOperation<"deleteBlock",
|
|
|
3
3
|
timestamp: string;
|
|
4
4
|
changeSetRef: null;
|
|
5
5
|
payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
|
|
6
|
-
log: [
|
|
6
|
+
log: any[];
|
|
7
7
|
debounceCount: number;
|
|
8
8
|
identityRef: string;
|
|
9
9
|
name: "deleteBlock";
|
|
@@ -3,7 +3,7 @@ export declare const deletePost: import("roc-db").WriteOperation<"deletePost", {
|
|
|
3
3
|
timestamp: string;
|
|
4
4
|
changeSetRef: null;
|
|
5
5
|
payload: `Post/${string}`;
|
|
6
|
-
log: [
|
|
6
|
+
log: any[];
|
|
7
7
|
debounceCount: number;
|
|
8
8
|
identityRef: string;
|
|
9
9
|
name: "deletePost";
|
|
@@ -5,7 +5,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
5
5
|
payload: {
|
|
6
6
|
ref: `Draft/${string}`;
|
|
7
7
|
};
|
|
8
|
-
log: [
|
|
8
|
+
log: any[];
|
|
9
9
|
debounceCount: number;
|
|
10
10
|
identityRef: string;
|
|
11
11
|
name: "applyDraft";
|
|
@@ -19,7 +19,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
19
19
|
payload: {
|
|
20
20
|
postRef: `Post/${string}`;
|
|
21
21
|
};
|
|
22
|
-
log: [
|
|
22
|
+
log: any[];
|
|
23
23
|
debounceCount: number;
|
|
24
24
|
identityRef: string;
|
|
25
25
|
name: "createBlockImage";
|
|
@@ -35,7 +35,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
35
35
|
payload: {
|
|
36
36
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
37
37
|
};
|
|
38
|
-
log: [
|
|
38
|
+
log: any[];
|
|
39
39
|
debounceCount: number;
|
|
40
40
|
identityRef: string;
|
|
41
41
|
name: "createBlockTitle";
|
|
@@ -51,7 +51,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
51
51
|
payload: {
|
|
52
52
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
53
53
|
};
|
|
54
|
-
log: [
|
|
54
|
+
log: any[];
|
|
55
55
|
debounceCount: number;
|
|
56
56
|
identityRef: string;
|
|
57
57
|
name: "createBlockParagraph";
|
|
@@ -67,7 +67,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
67
67
|
payload: {
|
|
68
68
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
69
69
|
};
|
|
70
|
-
log: [
|
|
70
|
+
log: any[];
|
|
71
71
|
debounceCount: number;
|
|
72
72
|
identityRef: string;
|
|
73
73
|
name: "createBlockRow";
|
|
@@ -83,7 +83,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
83
83
|
payload: {
|
|
84
84
|
postRef: `Post/${string}`;
|
|
85
85
|
};
|
|
86
|
-
log: [
|
|
86
|
+
log: any[];
|
|
87
87
|
debounceCount: number;
|
|
88
88
|
identityRef: string;
|
|
89
89
|
name: "createDraft";
|
|
@@ -101,7 +101,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
101
101
|
tags: string[];
|
|
102
102
|
slug?: string | undefined;
|
|
103
103
|
};
|
|
104
|
-
log: [
|
|
104
|
+
log: any[];
|
|
105
105
|
debounceCount: number;
|
|
106
106
|
identityRef: string;
|
|
107
107
|
name: "createPost";
|
|
@@ -117,7 +117,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
117
117
|
timestamp: string;
|
|
118
118
|
changeSetRef: null;
|
|
119
119
|
payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
|
|
120
|
-
log: [
|
|
120
|
+
log: any[];
|
|
121
121
|
debounceCount: number;
|
|
122
122
|
identityRef: string;
|
|
123
123
|
name: "deleteBlock";
|
|
@@ -129,12 +129,48 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
129
129
|
timestamp: string;
|
|
130
130
|
changeSetRef: null;
|
|
131
131
|
payload: `Post/${string}`;
|
|
132
|
-
log: [
|
|
132
|
+
log: any[];
|
|
133
133
|
debounceCount: number;
|
|
134
134
|
identityRef: string;
|
|
135
135
|
name: "deletePost";
|
|
136
136
|
sessionRef?: string | undefined;
|
|
137
|
-
}, `Post/${string}`, any>,
|
|
137
|
+
}, `Post/${string}`, any>, import("roc-db").WriteOperation<"moveBlocks", {
|
|
138
|
+
ref: `Mutation/${string}`;
|
|
139
|
+
timestamp: string;
|
|
140
|
+
changeSetRef: null;
|
|
141
|
+
payload: {
|
|
142
|
+
refs: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
|
|
143
|
+
targetPosition: number;
|
|
144
|
+
};
|
|
145
|
+
log: any[];
|
|
146
|
+
debounceCount: number;
|
|
147
|
+
identityRef: string;
|
|
148
|
+
name: "moveBlocks";
|
|
149
|
+
sessionRef?: string | undefined;
|
|
150
|
+
}, {
|
|
151
|
+
refs: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
|
|
152
|
+
targetPosition: number;
|
|
153
|
+
}, any>, any, any, import("roc-db").WriteOperation<"testTransactionalEdits", {
|
|
154
|
+
ref: `Mutation/${string}`;
|
|
155
|
+
timestamp: string;
|
|
156
|
+
changeSetRef: null;
|
|
157
|
+
payload: {
|
|
158
|
+
name?: string | undefined;
|
|
159
|
+
post1ref?: `Post/${string}` | undefined;
|
|
160
|
+
post2ref?: `Post/${string}` | undefined;
|
|
161
|
+
};
|
|
162
|
+
log: any[];
|
|
163
|
+
debounceCount: number;
|
|
164
|
+
identityRef: string;
|
|
165
|
+
name: "testTransactionalEdits";
|
|
166
|
+
sessionRef?: string | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
name?: string | undefined;
|
|
169
|
+
post1ref?: `Post/${string}` | undefined;
|
|
170
|
+
post2ref?: `Post/${string}` | undefined;
|
|
171
|
+
}, {
|
|
172
|
+
[x: string]: any;
|
|
173
|
+
}>, import("roc-db").WriteOperation<"updateBlockParagraph", {
|
|
138
174
|
ref: `Mutation/${string}`;
|
|
139
175
|
timestamp: string;
|
|
140
176
|
changeSetRef: null;
|
|
@@ -142,7 +178,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
142
178
|
ref: `BlockParagraph/${string}`;
|
|
143
179
|
content: string;
|
|
144
180
|
};
|
|
145
|
-
log: [
|
|
181
|
+
log: any[];
|
|
146
182
|
debounceCount: number;
|
|
147
183
|
identityRef: string;
|
|
148
184
|
name: "updateBlockParagraph";
|
|
@@ -160,7 +196,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
160
196
|
title?: string | undefined;
|
|
161
197
|
authorRef?: `User/${string}` | undefined;
|
|
162
198
|
};
|
|
163
|
-
log: [
|
|
199
|
+
log: any[];
|
|
164
200
|
debounceCount: number;
|
|
165
201
|
identityRef: string;
|
|
166
202
|
name: "updatePost";
|
|
@@ -180,7 +216,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
180
216
|
ref: `Post/${string}`;
|
|
181
217
|
description: string;
|
|
182
218
|
};
|
|
183
|
-
log: [
|
|
219
|
+
log: any[];
|
|
184
220
|
debounceCount: number;
|
|
185
221
|
identityRef: string;
|
|
186
222
|
name: "updatePostDescription";
|
|
@@ -198,7 +234,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
198
234
|
ref: `Post/${string}`;
|
|
199
235
|
title: string;
|
|
200
236
|
};
|
|
201
|
-
log: [
|
|
237
|
+
log: any[];
|
|
202
238
|
debounceCount: number;
|
|
203
239
|
identityRef: string;
|
|
204
240
|
name: "updatePostTitle";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const moveBlocks: import("roc-db").WriteOperation<"moveBlocks", {
|
|
2
|
+
ref: `Mutation/${string}`;
|
|
3
|
+
timestamp: string;
|
|
4
|
+
changeSetRef: null;
|
|
5
|
+
payload: {
|
|
6
|
+
refs: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
|
|
7
|
+
targetPosition: number;
|
|
8
|
+
};
|
|
9
|
+
log: any[];
|
|
10
|
+
debounceCount: number;
|
|
11
|
+
identityRef: string;
|
|
12
|
+
name: "moveBlocks";
|
|
13
|
+
sessionRef?: string | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
refs: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
|
|
16
|
+
targetPosition: number;
|
|
17
|
+
}, any>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const testTransactionalEdits: import("roc-db").WriteOperation<"testTransactionalEdits", {
|
|
2
|
+
ref: `Mutation/${string}`;
|
|
3
|
+
timestamp: string;
|
|
4
|
+
changeSetRef: null;
|
|
5
|
+
payload: {
|
|
6
|
+
name?: string | undefined;
|
|
7
|
+
post1ref?: `Post/${string}` | undefined;
|
|
8
|
+
post2ref?: `Post/${string}` | undefined;
|
|
9
|
+
};
|
|
10
|
+
log: any[];
|
|
11
|
+
debounceCount: number;
|
|
12
|
+
identityRef: string;
|
|
13
|
+
name: "testTransactionalEdits";
|
|
14
|
+
sessionRef?: string | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
post1ref?: `Post/${string}` | undefined;
|
|
18
|
+
post2ref?: `Post/${string}` | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
}>;
|
|
@@ -6,7 +6,7 @@ export declare const updateBlockParagraph: import("roc-db").WriteOperation<"upda
|
|
|
6
6
|
ref: `BlockParagraph/${string}`;
|
|
7
7
|
content: string;
|
|
8
8
|
};
|
|
9
|
-
log: [
|
|
9
|
+
log: any[];
|
|
10
10
|
debounceCount: number;
|
|
11
11
|
identityRef: string;
|
|
12
12
|
name: "updateBlockParagraph";
|
|
@@ -8,7 +8,7 @@ export declare const updatePost: import("roc-db").WriteOperation<"updatePost", {
|
|
|
8
8
|
title?: string | undefined;
|
|
9
9
|
authorRef?: `User/${string}` | undefined;
|
|
10
10
|
};
|
|
11
|
-
log: [
|
|
11
|
+
log: any[];
|
|
12
12
|
debounceCount: number;
|
|
13
13
|
identityRef: string;
|
|
14
14
|
name: "updatePost";
|
|
@@ -4,7 +4,7 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
4
4
|
timestamp: z.ZodString;
|
|
5
5
|
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
6
|
payload: z.ZodAny;
|
|
7
|
-
log: z.ZodArray<z.
|
|
7
|
+
log: z.ZodArray<z.ZodAny, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -18,7 +18,7 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
18
18
|
}, {
|
|
19
19
|
ref: `Draft/${string}`;
|
|
20
20
|
}>;
|
|
21
|
-
log: z.ZodType<[
|
|
21
|
+
log: z.ZodType<any[], z.ZodTypeDef, any[]>;
|
|
22
22
|
}>, "strict", z.ZodTypeAny, {
|
|
23
23
|
ref: `Mutation/${string}`;
|
|
24
24
|
timestamp: string;
|
|
@@ -26,7 +26,7 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
26
26
|
payload: {
|
|
27
27
|
ref: `Draft/${string}`;
|
|
28
28
|
};
|
|
29
|
-
log: [
|
|
29
|
+
log: any[];
|
|
30
30
|
debounceCount: number;
|
|
31
31
|
identityRef: string;
|
|
32
32
|
name: "applyDraft";
|
|
@@ -38,7 +38,7 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
38
38
|
payload: {
|
|
39
39
|
ref: `Draft/${string}`;
|
|
40
40
|
};
|
|
41
|
-
log: [
|
|
41
|
+
log: any[];
|
|
42
42
|
debounceCount: number;
|
|
43
43
|
identityRef: string;
|
|
44
44
|
name: "applyDraft";
|
|
@@ -4,7 +4,7 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
4
4
|
timestamp: z.ZodString;
|
|
5
5
|
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
6
|
payload: z.ZodAny;
|
|
7
|
-
log: z.ZodArray<z.
|
|
7
|
+
log: z.ZodArray<z.ZodAny, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -18,7 +18,7 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
18
18
|
}, {
|
|
19
19
|
postRef: `Post/${string}`;
|
|
20
20
|
}>;
|
|
21
|
-
log: z.ZodType<[
|
|
21
|
+
log: z.ZodType<any[], z.ZodTypeDef, any[]>;
|
|
22
22
|
}>, "strict", z.ZodTypeAny, {
|
|
23
23
|
ref: `Mutation/${string}`;
|
|
24
24
|
timestamp: string;
|
|
@@ -26,7 +26,7 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
26
26
|
payload: {
|
|
27
27
|
postRef: `Post/${string}`;
|
|
28
28
|
};
|
|
29
|
-
log: [
|
|
29
|
+
log: any[];
|
|
30
30
|
debounceCount: number;
|
|
31
31
|
identityRef: string;
|
|
32
32
|
name: "createBlockImage";
|
|
@@ -38,7 +38,7 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
38
38
|
payload: {
|
|
39
39
|
postRef: `Post/${string}`;
|
|
40
40
|
};
|
|
41
|
-
log: [
|
|
41
|
+
log: any[];
|
|
42
42
|
debounceCount: number;
|
|
43
43
|
identityRef: string;
|
|
44
44
|
name: "createBlockImage";
|
|
@@ -4,7 +4,7 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
4
4
|
timestamp: z.ZodString;
|
|
5
5
|
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
6
|
payload: z.ZodAny;
|
|
7
|
-
log: z.ZodArray<z.
|
|
7
|
+
log: z.ZodArray<z.ZodAny, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -18,7 +18,7 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
18
18
|
}, {
|
|
19
19
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
20
20
|
}>;
|
|
21
|
-
log: z.ZodType<[
|
|
21
|
+
log: z.ZodType<any[], z.ZodTypeDef, any[]>;
|
|
22
22
|
}>, "strict", z.ZodTypeAny, {
|
|
23
23
|
ref: `Mutation/${string}`;
|
|
24
24
|
timestamp: string;
|
|
@@ -26,7 +26,7 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
26
26
|
payload: {
|
|
27
27
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
28
28
|
};
|
|
29
|
-
log: [
|
|
29
|
+
log: any[];
|
|
30
30
|
debounceCount: number;
|
|
31
31
|
identityRef: string;
|
|
32
32
|
name: "createBlockParagraph";
|
|
@@ -38,7 +38,7 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
38
38
|
payload: {
|
|
39
39
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
40
40
|
};
|
|
41
|
-
log: [
|
|
41
|
+
log: any[];
|
|
42
42
|
debounceCount: number;
|
|
43
43
|
identityRef: string;
|
|
44
44
|
name: "createBlockParagraph";
|
|
@@ -4,7 +4,7 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
|
|
|
4
4
|
timestamp: z.ZodString;
|
|
5
5
|
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
6
|
payload: z.ZodAny;
|
|
7
|
-
log: z.ZodArray<z.
|
|
7
|
+
log: z.ZodArray<z.ZodAny, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -18,7 +18,7 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
|
|
|
18
18
|
}, {
|
|
19
19
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
20
20
|
}>;
|
|
21
|
-
log: z.ZodType<[
|
|
21
|
+
log: z.ZodType<any[], z.ZodTypeDef, any[]>;
|
|
22
22
|
}>, "strict", z.ZodTypeAny, {
|
|
23
23
|
ref: `Mutation/${string}`;
|
|
24
24
|
timestamp: string;
|
|
@@ -26,7 +26,7 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
|
|
|
26
26
|
payload: {
|
|
27
27
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
28
28
|
};
|
|
29
|
-
log: [
|
|
29
|
+
log: any[];
|
|
30
30
|
debounceCount: number;
|
|
31
31
|
identityRef: string;
|
|
32
32
|
name: "createBlockRow";
|
|
@@ -38,7 +38,7 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
|
|
|
38
38
|
payload: {
|
|
39
39
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
40
40
|
};
|
|
41
|
-
log: [
|
|
41
|
+
log: any[];
|
|
42
42
|
debounceCount: number;
|
|
43
43
|
identityRef: string;
|
|
44
44
|
name: "createBlockRow";
|
|
@@ -4,7 +4,7 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
4
4
|
timestamp: z.ZodString;
|
|
5
5
|
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
6
|
payload: z.ZodAny;
|
|
7
|
-
log: z.ZodArray<z.
|
|
7
|
+
log: z.ZodArray<z.ZodAny, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -18,7 +18,7 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
18
18
|
}, {
|
|
19
19
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
20
20
|
}>;
|
|
21
|
-
log: z.ZodType<[
|
|
21
|
+
log: z.ZodType<any[], z.ZodTypeDef, any[]>;
|
|
22
22
|
}>, "strict", z.ZodTypeAny, {
|
|
23
23
|
ref: `Mutation/${string}`;
|
|
24
24
|
timestamp: string;
|
|
@@ -26,7 +26,7 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
26
26
|
payload: {
|
|
27
27
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
28
28
|
};
|
|
29
|
-
log: [
|
|
29
|
+
log: any[];
|
|
30
30
|
debounceCount: number;
|
|
31
31
|
identityRef: string;
|
|
32
32
|
name: "createBlockTitle";
|
|
@@ -38,7 +38,7 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
38
38
|
payload: {
|
|
39
39
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
40
40
|
};
|
|
41
|
-
log: [
|
|
41
|
+
log: any[];
|
|
42
42
|
debounceCount: number;
|
|
43
43
|
identityRef: string;
|
|
44
44
|
name: "createBlockTitle";
|
|
@@ -4,7 +4,7 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
4
4
|
timestamp: z.ZodString;
|
|
5
5
|
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
6
|
payload: z.ZodAny;
|
|
7
|
-
log: z.ZodArray<z.
|
|
7
|
+
log: z.ZodArray<z.ZodAny, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -18,7 +18,7 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
18
18
|
}, {
|
|
19
19
|
postRef: `Post/${string}`;
|
|
20
20
|
}>;
|
|
21
|
-
log: z.ZodType<[
|
|
21
|
+
log: z.ZodType<any[], z.ZodTypeDef, any[]>;
|
|
22
22
|
}>, "strict", z.ZodTypeAny, {
|
|
23
23
|
ref: `Mutation/${string}`;
|
|
24
24
|
timestamp: string;
|
|
@@ -26,7 +26,7 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
26
26
|
payload: {
|
|
27
27
|
postRef: `Post/${string}`;
|
|
28
28
|
};
|
|
29
|
-
log: [
|
|
29
|
+
log: any[];
|
|
30
30
|
debounceCount: number;
|
|
31
31
|
identityRef: string;
|
|
32
32
|
name: "createDraft";
|
|
@@ -38,7 +38,7 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
38
38
|
payload: {
|
|
39
39
|
postRef: `Post/${string}`;
|
|
40
40
|
};
|
|
41
|
-
log: [
|
|
41
|
+
log: any[];
|
|
42
42
|
debounceCount: number;
|
|
43
43
|
identityRef: string;
|
|
44
44
|
name: "createDraft";
|
|
@@ -4,7 +4,7 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
4
4
|
timestamp: z.ZodString;
|
|
5
5
|
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
6
|
payload: z.ZodAny;
|
|
7
|
-
log: z.ZodArray<z.
|
|
7
|
+
log: z.ZodArray<z.ZodAny, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -24,7 +24,7 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
24
24
|
tags?: string[] | undefined;
|
|
25
25
|
slug?: string | undefined;
|
|
26
26
|
}>;
|
|
27
|
-
log: z.ZodType<[
|
|
27
|
+
log: z.ZodType<any[], z.ZodTypeDef, any[]>;
|
|
28
28
|
}>, "strict", z.ZodTypeAny, {
|
|
29
29
|
ref: `Mutation/${string}`;
|
|
30
30
|
timestamp: string;
|
|
@@ -34,7 +34,7 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
34
34
|
tags: string[];
|
|
35
35
|
slug?: string | undefined;
|
|
36
36
|
};
|
|
37
|
-
log: [
|
|
37
|
+
log: any[];
|
|
38
38
|
debounceCount: number;
|
|
39
39
|
identityRef: string;
|
|
40
40
|
name: "createPost";
|
|
@@ -48,7 +48,7 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
48
48
|
tags?: string[] | undefined;
|
|
49
49
|
slug?: string | undefined;
|
|
50
50
|
};
|
|
51
|
-
log: [
|
|
51
|
+
log: any[];
|
|
52
52
|
debounceCount: number;
|
|
53
53
|
identityRef: string;
|
|
54
54
|
name: "createPost";
|
|
@@ -4,7 +4,7 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
4
4
|
timestamp: z.ZodString;
|
|
5
5
|
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
6
|
payload: z.ZodAny;
|
|
7
|
-
log: z.ZodArray<z.
|
|
7
|
+
log: z.ZodArray<z.ZodAny, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -18,7 +18,7 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
18
18
|
}, {
|
|
19
19
|
email: string;
|
|
20
20
|
}>;
|
|
21
|
-
log: z.ZodType<[
|
|
21
|
+
log: z.ZodType<any[], z.ZodTypeDef, any[]>;
|
|
22
22
|
}>, "strict", z.ZodTypeAny, {
|
|
23
23
|
ref: `Mutation/${string}`;
|
|
24
24
|
timestamp: string;
|
|
@@ -26,7 +26,7 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
26
26
|
payload: {
|
|
27
27
|
email: string;
|
|
28
28
|
};
|
|
29
|
-
log: [
|
|
29
|
+
log: any[];
|
|
30
30
|
debounceCount: number;
|
|
31
31
|
identityRef: string;
|
|
32
32
|
name: "createUser";
|
|
@@ -38,7 +38,7 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
38
38
|
payload: {
|
|
39
39
|
email: string;
|
|
40
40
|
};
|
|
41
|
-
log: [
|
|
41
|
+
log: any[];
|
|
42
42
|
debounceCount: number;
|
|
43
43
|
identityRef: string;
|
|
44
44
|
name: "createUser";
|
|
@@ -4,7 +4,7 @@ export declare const DeleteBlockMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
4
4
|
timestamp: z.ZodString;
|
|
5
5
|
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
6
|
payload: z.ZodAny;
|
|
7
|
-
log: z.ZodArray<z.
|
|
7
|
+
log: z.ZodArray<z.ZodAny, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
@@ -12,13 +12,13 @@ export declare const DeleteBlockMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
12
12
|
name: z.ZodLiteral<"deleteBlock">;
|
|
13
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
14
|
payload: z.ZodUnion<[z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>, z.ZodType<`BlockImage/${string}`, z.ZodTypeDef, `BlockImage/${string}`>]>;
|
|
15
|
-
log: z.ZodType<[
|
|
15
|
+
log: z.ZodType<any[], z.ZodTypeDef, any[]>;
|
|
16
16
|
}>, "strict", z.ZodTypeAny, {
|
|
17
17
|
ref: `Mutation/${string}`;
|
|
18
18
|
timestamp: string;
|
|
19
19
|
changeSetRef: null;
|
|
20
20
|
payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
|
|
21
|
-
log: [
|
|
21
|
+
log: any[];
|
|
22
22
|
debounceCount: number;
|
|
23
23
|
identityRef: string;
|
|
24
24
|
name: "deleteBlock";
|
|
@@ -28,7 +28,7 @@ export declare const DeleteBlockMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
28
28
|
timestamp: string;
|
|
29
29
|
changeSetRef: null;
|
|
30
30
|
payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
|
|
31
|
-
log: [
|
|
31
|
+
log: any[];
|
|
32
32
|
debounceCount: number;
|
|
33
33
|
identityRef: string;
|
|
34
34
|
name: "deleteBlock";
|
|
@@ -3,7 +3,7 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
|
|
|
3
3
|
timestamp: import("zod").ZodString;
|
|
4
4
|
changeSetRef: import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
|
|
5
5
|
payload: import("zod").ZodAny;
|
|
6
|
-
log: import("zod").ZodArray<import("zod").
|
|
6
|
+
log: import("zod").ZodArray<import("zod").ZodAny, "many">;
|
|
7
7
|
debounceCount: import("zod").ZodNumber;
|
|
8
8
|
identityRef: import("zod").ZodString;
|
|
9
9
|
sessionRef: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -11,13 +11,13 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
|
|
|
11
11
|
name: import("zod").ZodLiteral<"deletePost">;
|
|
12
12
|
changeSetRef: import("zod").ZodType<never, import("zod").ZodTypeDef, never> | import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
|
|
13
13
|
payload: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
|
|
14
|
-
log: import("zod").ZodType<[
|
|
14
|
+
log: import("zod").ZodType<any[], import("zod").ZodTypeDef, any[]>;
|
|
15
15
|
}>, "strict", import("zod").ZodTypeAny, {
|
|
16
16
|
ref: `Mutation/${string}`;
|
|
17
17
|
timestamp: string;
|
|
18
18
|
changeSetRef: null;
|
|
19
19
|
payload: `Post/${string}`;
|
|
20
|
-
log: [
|
|
20
|
+
log: any[];
|
|
21
21
|
debounceCount: number;
|
|
22
22
|
identityRef: string;
|
|
23
23
|
name: "deletePost";
|
|
@@ -27,7 +27,7 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
|
|
|
27
27
|
timestamp: string;
|
|
28
28
|
changeSetRef: null;
|
|
29
29
|
payload: `Post/${string}`;
|
|
30
|
-
log: [
|
|
30
|
+
log: any[];
|
|
31
31
|
debounceCount: number;
|
|
32
32
|
identityRef: string;
|
|
33
33
|
name: "deletePost";
|