@roc-db/test-utils 0.2.0-pre.20 → 0.2.0-pre.23
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 +27 -11
- package/dist/types/operations/applyDraft.d.ts +2 -0
- package/dist/types/operations/createBlockImage.d.ts +2 -0
- package/dist/types/operations/createBlockParagraph.d.ts +2 -0
- package/dist/types/operations/createBlockRow.d.ts +2 -0
- package/dist/types/operations/createBlockTitle.d.ts +2 -0
- package/dist/types/operations/createDraft.d.ts +2 -0
- package/dist/types/operations/createPost.d.ts +2 -0
- package/dist/types/operations/deleteBlock.d.ts +2 -0
- package/dist/types/operations/deletePost.d.ts +2 -0
- package/dist/types/operations/index.d.ts +24 -0
- package/dist/types/operations/updateBlockParagraph.d.ts +2 -0
- package/dist/types/operations/updatePost.d.ts +2 -0
- package/dist/types/operations/updatePostTitle.d.ts +2 -0
- package/dist/types/schemas/ApplyDraftMutationSchema.d.ts +6 -0
- package/dist/types/schemas/CreateBlockImageMutationSchema.d.ts +6 -0
- package/dist/types/schemas/CreateBlockParagraphMutationSchema.d.ts +6 -0
- package/dist/types/schemas/CreateBlockRowMutationSchema.d.ts +6 -0
- package/dist/types/schemas/CreateBlockTitleMutationSchema.d.ts +6 -0
- package/dist/types/schemas/CreateDraftMutationSchema.d.ts +6 -0
- package/dist/types/schemas/CreatePostMutationSchema.d.ts +6 -0
- package/dist/types/schemas/CreateUserMutationSchema.d.ts +6 -0
- package/dist/types/schemas/DeleteBlockMutationSchema.d.ts +6 -0
- package/dist/types/schemas/DeletePostMutationSchema.d.ts +6 -0
- package/dist/types/schemas/UpdateBlockParagraphMutationSchema.d.ts +6 -0
- package/dist/types/schemas/UpdatePostMutationSchema.d.ts +6 -0
- package/dist/types/schemas/UpdatePostTitleMutationSchema.d.ts +6 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -129,7 +129,7 @@ var entities = [
|
|
|
129
129
|
PostSchema
|
|
130
130
|
];
|
|
131
131
|
// src/operations/applyDraft.ts
|
|
132
|
-
import { Query, writeOperation } from "roc-db";
|
|
132
|
+
import { Query, QueryChain, writeOperation } from "roc-db";
|
|
133
133
|
|
|
134
134
|
// src/schemas/ApplyDraftMutationSchema.ts
|
|
135
135
|
import { mutationSchemaGenerator as mutationSchemaGenerator5 } from "roc-db";
|
|
@@ -139,7 +139,14 @@ var ApplyDraftMutationSchema = mutationSchemaGenerator5("applyDraft", z10.object
|
|
|
139
139
|
// src/operations/applyDraft.ts
|
|
140
140
|
var applyDraft = writeOperation(ApplyDraftMutationSchema, undefined, (txn) => {
|
|
141
141
|
const { ref } = txn.payload;
|
|
142
|
-
|
|
142
|
+
const versionRef = txn.createRef("PostVersion");
|
|
143
|
+
return QueryChain(Query(() => txn.applyChangeSet(ref)), Query(() => txn.patchEntity(ref, {
|
|
144
|
+
data: { appliedAt: txn.mutation.timestamp }
|
|
145
|
+
})), Query((draft) => txn.childRefsOf(draft.parents.post, true)), Query((childRefs, draft) => txn.batchReadEntities([draft.parents.post, ...childRefs])), Query((childEntities) => txn.createEntity(versionRef, {
|
|
146
|
+
data: {
|
|
147
|
+
snapshot: childEntities
|
|
148
|
+
}
|
|
149
|
+
})));
|
|
143
150
|
});
|
|
144
151
|
|
|
145
152
|
// src/operations/createBlockImage.ts
|
|
@@ -158,7 +165,7 @@ var createBlockImage = writeOperation2(CreateBlockImageMutationSchema, BlockImag
|
|
|
158
165
|
}, { changeSetOnly: true });
|
|
159
166
|
|
|
160
167
|
// src/operations/createBlockParagraph.ts
|
|
161
|
-
import { Query as Query3, QueryChain, writeOperation as writeOperation3 } from "roc-db";
|
|
168
|
+
import { Query as Query3, QueryChain as QueryChain2, writeOperation as writeOperation3 } from "roc-db";
|
|
162
169
|
|
|
163
170
|
// src/schemas/CreateBlockParagraphMutationSchema.ts
|
|
164
171
|
import { mutationSchemaGenerator as mutationSchemaGenerator7 } from "roc-db";
|
|
@@ -175,13 +182,13 @@ var CreateBlockParagraphMutationSchema = mutationSchemaGenerator7("createBlockPa
|
|
|
175
182
|
var createBlockParagrah = writeOperation3(CreateBlockParagraphMutationSchema, BlockParagraphSchema, (txn) => {
|
|
176
183
|
const ref = txn.createRef("BlockParagraph");
|
|
177
184
|
const { parentRef } = txn.payload;
|
|
178
|
-
return
|
|
185
|
+
return QueryChain2(Query3(() => txn.readEntity(parentRef, true)), Query3((parent) => txn.patchEntity(parentRef, {
|
|
179
186
|
children: { blocks: [...parent.children.blocks, ref] }
|
|
180
187
|
})), Query3(() => txn.createEntity(ref, { parents: { parent: parentRef } })), Query3((block, updatedParent) => ({ block, updatedParent })));
|
|
181
188
|
}, { changeSetOnly: true });
|
|
182
189
|
|
|
183
190
|
// src/operations/createBlockRow.ts
|
|
184
|
-
import { Query as Query4, QueryChain as
|
|
191
|
+
import { Query as Query4, QueryChain as QueryChain3, writeOperation as writeOperation4 } from "roc-db";
|
|
185
192
|
|
|
186
193
|
// src/schemas/CreateBlockRowMutationSchema.ts
|
|
187
194
|
import { mutationSchemaGenerator as mutationSchemaGenerator8 } from "roc-db";
|
|
@@ -192,7 +199,7 @@ var CreateBlockRowMutationSchema = mutationSchemaGenerator8("createBlockRow", z1
|
|
|
192
199
|
var createBlockRow = writeOperation4(CreateBlockRowMutationSchema, BlockParagraphSchema, (txn) => {
|
|
193
200
|
const ref = txn.createRef("BlockRow");
|
|
194
201
|
const { parentRef } = txn.payload;
|
|
195
|
-
return
|
|
202
|
+
return QueryChain3(Query4(() => txn.readEntity(parentRef)), Query4((parent) => {
|
|
196
203
|
return txn.patchEntity(parentRef, {
|
|
197
204
|
children: { blocks: [...parent.children.blocks, ref] }
|
|
198
205
|
});
|
|
@@ -248,7 +255,7 @@ var createPost = writeOperation7(CreatePostMutationSchema, PostSchema, (txn) =>
|
|
|
248
255
|
});
|
|
249
256
|
|
|
250
257
|
// src/operations/deleteBlock.ts
|
|
251
|
-
import { Query as Query8, QueryChain as
|
|
258
|
+
import { Query as Query8, QueryChain as QueryChain4, writeOperation as writeOperation8 } from "roc-db";
|
|
252
259
|
|
|
253
260
|
// src/schemas/DeleteBlockMutationSchema.ts
|
|
254
261
|
import { mutationSchemaGenerator as mutationSchemaGenerator11 } from "roc-db";
|
|
@@ -258,7 +265,7 @@ var DeleteBlockMutationSchema = mutationSchemaGenerator11("deleteBlock", z16.uni
|
|
|
258
265
|
// src/operations/deleteBlock.ts
|
|
259
266
|
var deleteBlock = writeOperation8(DeleteBlockMutationSchema, PostSchema, (txn) => {
|
|
260
267
|
const blockRef = txn.payload;
|
|
261
|
-
return
|
|
268
|
+
return QueryChain4(Query8(() => txn.readEntity(blockRef, true)), Query8((block) => txn.readEntity(block.parents.post, true)), Query8((post) => {
|
|
262
269
|
return txn.patchEntity(post.ref, {
|
|
263
270
|
data: {
|
|
264
271
|
blockRefs: post.data.blockRefs.filter((ref) => ref !== blockRef)
|
|
@@ -283,11 +290,11 @@ var deletePost = writeOperation9(DeletePostMutationSchema, undefined, (txn) => {
|
|
|
283
290
|
});
|
|
284
291
|
|
|
285
292
|
// src/operations/readEntity.ts
|
|
286
|
-
import { NotFoundError, Query as Query10, QueryChain as
|
|
293
|
+
import { NotFoundError, Query as Query10, QueryChain as QueryChain5, readOperation } from "roc-db";
|
|
287
294
|
import { z as z17 } from "zod";
|
|
288
295
|
var readEntity = readOperation("readEntity", z17.string(), z17.union([PostSchema, BlockImageSchema, BlockParagraphSchema]), (txn) => {
|
|
289
296
|
const ref = txn.payload;
|
|
290
|
-
return
|
|
297
|
+
return QueryChain5(Query10(() => txn.readEntity(ref)), Query10((entity) => {
|
|
291
298
|
if (!entity) {
|
|
292
299
|
throw new NotFoundError(ref);
|
|
293
300
|
}
|
|
@@ -420,6 +427,7 @@ var testAdapterImplementation = (adapterConstructor, engineArgsAdapter1 = {}, en
|
|
|
420
427
|
expect(post).toMatchZodSchema(PostSchema);
|
|
421
428
|
expect(post.data.title).toBe("Title 1");
|
|
422
429
|
expect(post.data.tags).toStrictEqual(["Foo", "Bar"]);
|
|
430
|
+
expect(createPostMutation).toMatchZodSchema(CreatePostMutationSchema);
|
|
423
431
|
});
|
|
424
432
|
test("read (readEntity function)", async () => {
|
|
425
433
|
const readPostRes = await adapter1.readPost(postRef);
|
|
@@ -513,13 +521,21 @@ var testAdapterImplementation = (adapterConstructor, engineArgsAdapter1 = {}, en
|
|
|
513
521
|
expect(res.length).toBeGreaterThan(0);
|
|
514
522
|
expect(res.every((m) => m.changeSetRef === draftRef)).toBeTrue();
|
|
515
523
|
});
|
|
516
|
-
test("
|
|
524
|
+
test("pageMutations run again", async () => {
|
|
517
525
|
const res = await changeSetAdapter.pageMutations({
|
|
518
526
|
changeSetRef: draftRef
|
|
519
527
|
});
|
|
520
528
|
expect(res.length).toBeGreaterThan(0);
|
|
521
529
|
expect(res.every((m) => m.changeSetRef === draftRef)).toBeTrue();
|
|
522
530
|
});
|
|
531
|
+
describe("create and apply draft", () => {
|
|
532
|
+
test("applyDraft", async () => {
|
|
533
|
+
const { draftRef: draftRef2 } = await prepareChangeSetTest(adapter1);
|
|
534
|
+
const [version, mutation] = await adapter1.applyDraft({
|
|
535
|
+
ref: draftRef2
|
|
536
|
+
});
|
|
537
|
+
});
|
|
538
|
+
});
|
|
523
539
|
});
|
|
524
540
|
};
|
|
525
541
|
};
|
|
@@ -7,7 +7,9 @@ export declare const applyDraft: import("roc-db").WriteOperation<"applyDraft", {
|
|
|
7
7
|
};
|
|
8
8
|
log: [never, string, null][];
|
|
9
9
|
debounceCount: number;
|
|
10
|
+
identityRef: string;
|
|
10
11
|
name: "applyDraft";
|
|
12
|
+
sessionRef?: string | undefined;
|
|
11
13
|
}, {
|
|
12
14
|
ref: `Draft/${string}`;
|
|
13
15
|
}, any>;
|
|
@@ -7,7 +7,9 @@ export declare const createBlockImage: import("roc-db").WriteOperation<"createBl
|
|
|
7
7
|
};
|
|
8
8
|
log: [never, string, null][];
|
|
9
9
|
debounceCount: number;
|
|
10
|
+
identityRef: string;
|
|
10
11
|
name: "createBlockImage";
|
|
12
|
+
sessionRef?: string | undefined;
|
|
11
13
|
}, {
|
|
12
14
|
postRef: `Post/${string}`;
|
|
13
15
|
}, {
|
|
@@ -7,7 +7,9 @@ export declare const createBlockParagrah: import("roc-db").WriteOperation<"creat
|
|
|
7
7
|
};
|
|
8
8
|
log: [never, string, null][];
|
|
9
9
|
debounceCount: number;
|
|
10
|
+
identityRef: string;
|
|
10
11
|
name: "createBlockParagraph";
|
|
12
|
+
sessionRef?: string | undefined;
|
|
11
13
|
}, {
|
|
12
14
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
13
15
|
}, {
|
|
@@ -7,7 +7,9 @@ export declare const createBlockRow: import("roc-db").WriteOperation<"createBloc
|
|
|
7
7
|
};
|
|
8
8
|
log: [never, string, null][];
|
|
9
9
|
debounceCount: number;
|
|
10
|
+
identityRef: string;
|
|
10
11
|
name: "createBlockRow";
|
|
12
|
+
sessionRef?: string | undefined;
|
|
11
13
|
}, {
|
|
12
14
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
13
15
|
}, {
|
|
@@ -7,7 +7,9 @@ export declare const createBlockTitle: import("roc-db").WriteOperation<"createBl
|
|
|
7
7
|
};
|
|
8
8
|
log: [never, string, null][];
|
|
9
9
|
debounceCount: number;
|
|
10
|
+
identityRef: string;
|
|
10
11
|
name: "createBlockTitle";
|
|
12
|
+
sessionRef?: string | undefined;
|
|
11
13
|
}, {
|
|
12
14
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
13
15
|
}, {
|
|
@@ -7,7 +7,9 @@ export declare const createDraft: import("roc-db").WriteOperation<"createDraft",
|
|
|
7
7
|
};
|
|
8
8
|
log: [never, string, null][];
|
|
9
9
|
debounceCount: number;
|
|
10
|
+
identityRef: string;
|
|
10
11
|
name: "createDraft";
|
|
12
|
+
sessionRef?: string | undefined;
|
|
11
13
|
}, {
|
|
12
14
|
postRef: `Post/${string}`;
|
|
13
15
|
}, {
|
|
@@ -9,7 +9,9 @@ export declare const createPost: import("roc-db").WriteOperation<"createPost", {
|
|
|
9
9
|
};
|
|
10
10
|
log: [never, string, null][];
|
|
11
11
|
debounceCount: number;
|
|
12
|
+
identityRef: string;
|
|
12
13
|
name: "createPost";
|
|
14
|
+
sessionRef?: string | undefined;
|
|
13
15
|
}, {
|
|
14
16
|
title: string;
|
|
15
17
|
tags: string[];
|
|
@@ -5,7 +5,9 @@ export declare const deleteBlock: import("roc-db").WriteOperation<"deleteBlock",
|
|
|
5
5
|
payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
|
|
6
6
|
log: [never, string, null][];
|
|
7
7
|
debounceCount: number;
|
|
8
|
+
identityRef: string;
|
|
8
9
|
name: "deleteBlock";
|
|
10
|
+
sessionRef?: string | undefined;
|
|
9
11
|
}, `BlockImage/${string}` | `BlockParagraph/${string}`, {
|
|
10
12
|
[x: string]: any;
|
|
11
13
|
}>;
|
|
@@ -5,5 +5,7 @@ export declare const deletePost: import("roc-db").WriteOperation<"deletePost", {
|
|
|
5
5
|
payload: `Post/${string}`;
|
|
6
6
|
log: [never, string, null][];
|
|
7
7
|
debounceCount: number;
|
|
8
|
+
identityRef: string;
|
|
8
9
|
name: "deletePost";
|
|
10
|
+
sessionRef?: string | undefined;
|
|
9
11
|
}, `Post/${string}`, any>;
|
|
@@ -7,7 +7,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
7
7
|
};
|
|
8
8
|
log: [never, string, null][];
|
|
9
9
|
debounceCount: number;
|
|
10
|
+
identityRef: string;
|
|
10
11
|
name: "applyDraft";
|
|
12
|
+
sessionRef?: string | undefined;
|
|
11
13
|
}, {
|
|
12
14
|
ref: `Draft/${string}`;
|
|
13
15
|
}, any>, import("roc-db").WriteOperation<"createBlockImage", {
|
|
@@ -19,7 +21,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
19
21
|
};
|
|
20
22
|
log: [never, string, null][];
|
|
21
23
|
debounceCount: number;
|
|
24
|
+
identityRef: string;
|
|
22
25
|
name: "createBlockImage";
|
|
26
|
+
sessionRef?: string | undefined;
|
|
23
27
|
}, {
|
|
24
28
|
postRef: `Post/${string}`;
|
|
25
29
|
}, {
|
|
@@ -33,7 +37,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
33
37
|
};
|
|
34
38
|
log: [never, string, null][];
|
|
35
39
|
debounceCount: number;
|
|
40
|
+
identityRef: string;
|
|
36
41
|
name: "createBlockTitle";
|
|
42
|
+
sessionRef?: string | undefined;
|
|
37
43
|
}, {
|
|
38
44
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
39
45
|
}, {
|
|
@@ -47,7 +53,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
47
53
|
};
|
|
48
54
|
log: [never, string, null][];
|
|
49
55
|
debounceCount: number;
|
|
56
|
+
identityRef: string;
|
|
50
57
|
name: "createBlockParagraph";
|
|
58
|
+
sessionRef?: string | undefined;
|
|
51
59
|
}, {
|
|
52
60
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
53
61
|
}, {
|
|
@@ -61,7 +69,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
61
69
|
};
|
|
62
70
|
log: [never, string, null][];
|
|
63
71
|
debounceCount: number;
|
|
72
|
+
identityRef: string;
|
|
64
73
|
name: "createBlockRow";
|
|
74
|
+
sessionRef?: string | undefined;
|
|
65
75
|
}, {
|
|
66
76
|
parentRef: `Post/${string}` | `BlockRow/${string}`;
|
|
67
77
|
}, {
|
|
@@ -75,7 +85,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
75
85
|
};
|
|
76
86
|
log: [never, string, null][];
|
|
77
87
|
debounceCount: number;
|
|
88
|
+
identityRef: string;
|
|
78
89
|
name: "createDraft";
|
|
90
|
+
sessionRef?: string | undefined;
|
|
79
91
|
}, {
|
|
80
92
|
postRef: `Post/${string}`;
|
|
81
93
|
}, {
|
|
@@ -91,7 +103,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
91
103
|
};
|
|
92
104
|
log: [never, string, null][];
|
|
93
105
|
debounceCount: number;
|
|
106
|
+
identityRef: string;
|
|
94
107
|
name: "createPost";
|
|
108
|
+
sessionRef?: string | undefined;
|
|
95
109
|
}, {
|
|
96
110
|
title: string;
|
|
97
111
|
tags: string[];
|
|
@@ -105,7 +119,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
105
119
|
payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
|
|
106
120
|
log: [never, string, null][];
|
|
107
121
|
debounceCount: number;
|
|
122
|
+
identityRef: string;
|
|
108
123
|
name: "deleteBlock";
|
|
124
|
+
sessionRef?: string | undefined;
|
|
109
125
|
}, `BlockImage/${string}` | `BlockParagraph/${string}`, {
|
|
110
126
|
[x: string]: any;
|
|
111
127
|
}>, import("roc-db").WriteOperation<"deletePost", {
|
|
@@ -115,7 +131,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
115
131
|
payload: `Post/${string}`;
|
|
116
132
|
log: [never, string, null][];
|
|
117
133
|
debounceCount: number;
|
|
134
|
+
identityRef: string;
|
|
118
135
|
name: "deletePost";
|
|
136
|
+
sessionRef?: string | undefined;
|
|
119
137
|
}, `Post/${string}`, any>, any, any, import("roc-db").WriteOperation<"updateBlockParagraph", {
|
|
120
138
|
ref: `Mutation/${string}`;
|
|
121
139
|
timestamp: string;
|
|
@@ -126,7 +144,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
126
144
|
};
|
|
127
145
|
log: [never, string, null][];
|
|
128
146
|
debounceCount: number;
|
|
147
|
+
identityRef: string;
|
|
129
148
|
name: "updateBlockParagraph";
|
|
149
|
+
sessionRef?: string | undefined;
|
|
130
150
|
}, {
|
|
131
151
|
ref: `BlockParagraph/${string}`;
|
|
132
152
|
content: string;
|
|
@@ -142,7 +162,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
142
162
|
};
|
|
143
163
|
log: [never, string, null][];
|
|
144
164
|
debounceCount: number;
|
|
165
|
+
identityRef: string;
|
|
145
166
|
name: "updatePost";
|
|
167
|
+
sessionRef?: string | undefined;
|
|
146
168
|
}, {
|
|
147
169
|
ref: `Post/${string}`;
|
|
148
170
|
tags: string[];
|
|
@@ -160,7 +182,9 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
160
182
|
};
|
|
161
183
|
log: [never, string, null][];
|
|
162
184
|
debounceCount: number;
|
|
185
|
+
identityRef: string;
|
|
163
186
|
name: "updatePostTitle";
|
|
187
|
+
sessionRef?: string | undefined;
|
|
164
188
|
}, {
|
|
165
189
|
ref: `Post/${string}`;
|
|
166
190
|
title: string;
|
|
@@ -8,7 +8,9 @@ export declare const updateBlockParagraph: import("roc-db").WriteOperation<"upda
|
|
|
8
8
|
};
|
|
9
9
|
log: [never, string, null][];
|
|
10
10
|
debounceCount: number;
|
|
11
|
+
identityRef: string;
|
|
11
12
|
name: "updateBlockParagraph";
|
|
13
|
+
sessionRef?: string | undefined;
|
|
12
14
|
}, {
|
|
13
15
|
ref: `BlockParagraph/${string}`;
|
|
14
16
|
content: string;
|
|
@@ -10,7 +10,9 @@ export declare const updatePost: import("roc-db").WriteOperation<"updatePost", {
|
|
|
10
10
|
};
|
|
11
11
|
log: [never, string, null][];
|
|
12
12
|
debounceCount: number;
|
|
13
|
+
identityRef: string;
|
|
13
14
|
name: "updatePost";
|
|
15
|
+
sessionRef?: string | undefined;
|
|
14
16
|
}, {
|
|
15
17
|
ref: `Post/${string}`;
|
|
16
18
|
tags: string[];
|
|
@@ -8,7 +8,9 @@ export declare const updatePostTitle: import("roc-db").WriteOperation<"updatePos
|
|
|
8
8
|
};
|
|
9
9
|
log: [never, string, null][];
|
|
10
10
|
debounceCount: number;
|
|
11
|
+
identityRef: string;
|
|
11
12
|
name: "updatePostTitle";
|
|
13
|
+
sessionRef?: string | undefined;
|
|
12
14
|
}, {
|
|
13
15
|
ref: `Post/${string}`;
|
|
14
16
|
title: string;
|
|
@@ -6,6 +6,8 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"applyDraft">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -26,7 +28,9 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
26
28
|
};
|
|
27
29
|
log: [never, string, null][];
|
|
28
30
|
debounceCount: number;
|
|
31
|
+
identityRef: string;
|
|
29
32
|
name: "applyDraft";
|
|
33
|
+
sessionRef?: string | undefined;
|
|
30
34
|
}, {
|
|
31
35
|
ref: `Mutation/${string}`;
|
|
32
36
|
timestamp: string;
|
|
@@ -36,5 +40,7 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
36
40
|
};
|
|
37
41
|
log: [never, string, null][];
|
|
38
42
|
debounceCount: number;
|
|
43
|
+
identityRef: string;
|
|
39
44
|
name: "applyDraft";
|
|
45
|
+
sessionRef?: string | undefined;
|
|
40
46
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"createBlockImage">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -26,7 +28,9 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
26
28
|
};
|
|
27
29
|
log: [never, string, null][];
|
|
28
30
|
debounceCount: number;
|
|
31
|
+
identityRef: string;
|
|
29
32
|
name: "createBlockImage";
|
|
33
|
+
sessionRef?: string | undefined;
|
|
30
34
|
}, {
|
|
31
35
|
ref: `Mutation/${string}`;
|
|
32
36
|
timestamp: string;
|
|
@@ -36,5 +40,7 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
36
40
|
};
|
|
37
41
|
log: [never, string, null][];
|
|
38
42
|
debounceCount: number;
|
|
43
|
+
identityRef: string;
|
|
39
44
|
name: "createBlockImage";
|
|
45
|
+
sessionRef?: string | undefined;
|
|
40
46
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"createBlockParagraph">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -26,7 +28,9 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
26
28
|
};
|
|
27
29
|
log: [never, string, null][];
|
|
28
30
|
debounceCount: number;
|
|
31
|
+
identityRef: string;
|
|
29
32
|
name: "createBlockParagraph";
|
|
33
|
+
sessionRef?: string | undefined;
|
|
30
34
|
}, {
|
|
31
35
|
ref: `Mutation/${string}`;
|
|
32
36
|
timestamp: string;
|
|
@@ -36,5 +40,7 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
36
40
|
};
|
|
37
41
|
log: [never, string, null][];
|
|
38
42
|
debounceCount: number;
|
|
43
|
+
identityRef: string;
|
|
39
44
|
name: "createBlockParagraph";
|
|
45
|
+
sessionRef?: string | undefined;
|
|
40
46
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"createBlockRow">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -26,7 +28,9 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
|
|
|
26
28
|
};
|
|
27
29
|
log: [never, string, null][];
|
|
28
30
|
debounceCount: number;
|
|
31
|
+
identityRef: string;
|
|
29
32
|
name: "createBlockRow";
|
|
33
|
+
sessionRef?: string | undefined;
|
|
30
34
|
}, {
|
|
31
35
|
ref: `Mutation/${string}`;
|
|
32
36
|
timestamp: string;
|
|
@@ -36,5 +40,7 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
|
|
|
36
40
|
};
|
|
37
41
|
log: [never, string, null][];
|
|
38
42
|
debounceCount: number;
|
|
43
|
+
identityRef: string;
|
|
39
44
|
name: "createBlockRow";
|
|
45
|
+
sessionRef?: string | undefined;
|
|
40
46
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"createBlockTitle">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -26,7 +28,9 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
26
28
|
};
|
|
27
29
|
log: [never, string, null][];
|
|
28
30
|
debounceCount: number;
|
|
31
|
+
identityRef: string;
|
|
29
32
|
name: "createBlockTitle";
|
|
33
|
+
sessionRef?: string | undefined;
|
|
30
34
|
}, {
|
|
31
35
|
ref: `Mutation/${string}`;
|
|
32
36
|
timestamp: string;
|
|
@@ -36,5 +40,7 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
36
40
|
};
|
|
37
41
|
log: [never, string, null][];
|
|
38
42
|
debounceCount: number;
|
|
43
|
+
identityRef: string;
|
|
39
44
|
name: "createBlockTitle";
|
|
45
|
+
sessionRef?: string | undefined;
|
|
40
46
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"createDraft">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -26,7 +28,9 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
26
28
|
};
|
|
27
29
|
log: [never, string, null][];
|
|
28
30
|
debounceCount: number;
|
|
31
|
+
identityRef: string;
|
|
29
32
|
name: "createDraft";
|
|
33
|
+
sessionRef?: string | undefined;
|
|
30
34
|
}, {
|
|
31
35
|
ref: `Mutation/${string}`;
|
|
32
36
|
timestamp: string;
|
|
@@ -36,5 +40,7 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
36
40
|
};
|
|
37
41
|
log: [never, string, null][];
|
|
38
42
|
debounceCount: number;
|
|
43
|
+
identityRef: string;
|
|
39
44
|
name: "createDraft";
|
|
45
|
+
sessionRef?: string | undefined;
|
|
40
46
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"createPost">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -34,7 +36,9 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
34
36
|
};
|
|
35
37
|
log: [never, string, null][];
|
|
36
38
|
debounceCount: number;
|
|
39
|
+
identityRef: string;
|
|
37
40
|
name: "createPost";
|
|
41
|
+
sessionRef?: string | undefined;
|
|
38
42
|
}, {
|
|
39
43
|
ref: `Mutation/${string}`;
|
|
40
44
|
timestamp: string;
|
|
@@ -46,5 +50,7 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
46
50
|
};
|
|
47
51
|
log: [never, string, null][];
|
|
48
52
|
debounceCount: number;
|
|
53
|
+
identityRef: string;
|
|
49
54
|
name: "createPost";
|
|
55
|
+
sessionRef?: string | undefined;
|
|
50
56
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"createUser">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -26,7 +28,9 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
26
28
|
};
|
|
27
29
|
log: [never, string, null][];
|
|
28
30
|
debounceCount: number;
|
|
31
|
+
identityRef: string;
|
|
29
32
|
name: "createUser";
|
|
33
|
+
sessionRef?: string | undefined;
|
|
30
34
|
}, {
|
|
31
35
|
ref: `Mutation/${string}`;
|
|
32
36
|
timestamp: string;
|
|
@@ -36,5 +40,7 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
36
40
|
};
|
|
37
41
|
log: [never, string, null][];
|
|
38
42
|
debounceCount: number;
|
|
43
|
+
identityRef: string;
|
|
39
44
|
name: "createUser";
|
|
45
|
+
sessionRef?: string | undefined;
|
|
40
46
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const DeleteBlockMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"deleteBlock">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -18,7 +20,9 @@ export declare const DeleteBlockMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
18
20
|
payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
|
|
19
21
|
log: [never, string, null][];
|
|
20
22
|
debounceCount: number;
|
|
23
|
+
identityRef: string;
|
|
21
24
|
name: "deleteBlock";
|
|
25
|
+
sessionRef?: string | undefined;
|
|
22
26
|
}, {
|
|
23
27
|
ref: `Mutation/${string}`;
|
|
24
28
|
timestamp: string;
|
|
@@ -26,5 +30,7 @@ export declare const DeleteBlockMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
26
30
|
payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
|
|
27
31
|
log: [never, string, null][];
|
|
28
32
|
debounceCount: number;
|
|
33
|
+
identityRef: string;
|
|
29
34
|
name: "deleteBlock";
|
|
35
|
+
sessionRef?: string | undefined;
|
|
30
36
|
}>;
|
|
@@ -5,6 +5,8 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
|
|
|
5
5
|
payload: import("zod").ZodAny;
|
|
6
6
|
log: import("zod").ZodArray<import("zod").ZodTuple<[import("zod").ZodType<never, import("zod").ZodTypeDef, never>, import("zod").ZodString, import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>], null>, "many">;
|
|
7
7
|
debounceCount: import("zod").ZodNumber;
|
|
8
|
+
identityRef: import("zod").ZodString;
|
|
9
|
+
sessionRef: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
10
|
}, {
|
|
9
11
|
name: import("zod").ZodLiteral<"deletePost">;
|
|
10
12
|
changeSetRef: import("zod").ZodType<never, import("zod").ZodTypeDef, never> | import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
|
|
@@ -17,7 +19,9 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
|
|
|
17
19
|
payload: `Post/${string}`;
|
|
18
20
|
log: [never, string, null][];
|
|
19
21
|
debounceCount: number;
|
|
22
|
+
identityRef: string;
|
|
20
23
|
name: "deletePost";
|
|
24
|
+
sessionRef?: string | undefined;
|
|
21
25
|
}, {
|
|
22
26
|
ref: `Mutation/${string}`;
|
|
23
27
|
timestamp: string;
|
|
@@ -25,5 +29,7 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
|
|
|
25
29
|
payload: `Post/${string}`;
|
|
26
30
|
log: [never, string, null][];
|
|
27
31
|
debounceCount: number;
|
|
32
|
+
identityRef: string;
|
|
28
33
|
name: "deletePost";
|
|
34
|
+
sessionRef?: string | undefined;
|
|
29
35
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const UpdateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"updateBlockParagraph">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -30,7 +32,9 @@ export declare const UpdateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
30
32
|
};
|
|
31
33
|
log: [never, string, null][];
|
|
32
34
|
debounceCount: number;
|
|
35
|
+
identityRef: string;
|
|
33
36
|
name: "updateBlockParagraph";
|
|
37
|
+
sessionRef?: string | undefined;
|
|
34
38
|
}, {
|
|
35
39
|
ref: `Mutation/${string}`;
|
|
36
40
|
timestamp: string;
|
|
@@ -41,5 +45,7 @@ export declare const UpdateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
41
45
|
};
|
|
42
46
|
log: [never, string, null][];
|
|
43
47
|
debounceCount: number;
|
|
48
|
+
identityRef: string;
|
|
44
49
|
name: "updateBlockParagraph";
|
|
50
|
+
sessionRef?: string | undefined;
|
|
45
51
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"updatePost">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -38,7 +40,9 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
38
40
|
};
|
|
39
41
|
log: [never, string, null][];
|
|
40
42
|
debounceCount: number;
|
|
43
|
+
identityRef: string;
|
|
41
44
|
name: "updatePost";
|
|
45
|
+
sessionRef?: string | undefined;
|
|
42
46
|
}, {
|
|
43
47
|
ref: `Mutation/${string}`;
|
|
44
48
|
timestamp: string;
|
|
@@ -51,5 +55,7 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
51
55
|
};
|
|
52
56
|
log: [never, string, null][];
|
|
53
57
|
debounceCount: number;
|
|
58
|
+
identityRef: string;
|
|
54
59
|
name: "updatePost";
|
|
60
|
+
sessionRef?: string | undefined;
|
|
55
61
|
}>;
|
|
@@ -6,6 +6,8 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
|
|
|
6
6
|
payload: z.ZodAny;
|
|
7
7
|
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
8
|
debounceCount: z.ZodNumber;
|
|
9
|
+
identityRef: z.ZodString;
|
|
10
|
+
sessionRef: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, {
|
|
10
12
|
name: z.ZodLiteral<"updatePostTitle">;
|
|
11
13
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
@@ -30,7 +32,9 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
|
|
|
30
32
|
};
|
|
31
33
|
log: [never, string, null][];
|
|
32
34
|
debounceCount: number;
|
|
35
|
+
identityRef: string;
|
|
33
36
|
name: "updatePostTitle";
|
|
37
|
+
sessionRef?: string | undefined;
|
|
34
38
|
}, {
|
|
35
39
|
ref: `Mutation/${string}`;
|
|
36
40
|
timestamp: string;
|
|
@@ -41,5 +45,7 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
|
|
|
41
45
|
};
|
|
42
46
|
log: [never, string, null][];
|
|
43
47
|
debounceCount: number;
|
|
48
|
+
identityRef: string;
|
|
44
49
|
name: "updatePostTitle";
|
|
50
|
+
sessionRef?: string | undefined;
|
|
45
51
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roc-db/test-utils",
|
|
3
|
-
"version": "0.2.0-pre.
|
|
3
|
+
"version": "0.2.0-pre.23",
|
|
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.
|
|
20
|
+
"roc-db": "0.2.0-pre.23",
|
|
21
21
|
"zod": "3.24.2"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [],
|