@roc-db/test-utils 0.2.0-pre.37 → 0.2.0-pre.39
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 +3 -1
- package/dist/types/operations/applyDraft.d.ts +4 -14
- package/dist/types/operations/createBlockImage.d.ts +4 -14
- package/dist/types/operations/createBlockParagraph.d.ts +4 -14
- package/dist/types/operations/createBlockRow.d.ts +4 -14
- package/dist/types/operations/createBlockTitle.d.ts +4 -14
- package/dist/types/operations/createDraft.d.ts +4 -14
- package/dist/types/operations/createPost.d.ts +4 -18
- package/dist/types/operations/deleteBlocks.d.ts +4 -10
- package/dist/types/operations/deletePost.d.ts +4 -10
- package/dist/types/operations/index.d.ts +56 -220
- package/dist/types/operations/moveBlocks.d.ts +4 -16
- package/dist/types/operations/testTransactionalEdits.d.ts +4 -18
- package/dist/types/operations/updateBlockParagraph.d.ts +4 -16
- package/dist/types/operations/updatePost.d.ts +4 -20
- package/dist/types/operations/updatePostDescription.d.ts +4 -16
- package/dist/types/operations/updatePostTitle.d.ts +4 -16
- package/dist/types/schemas/ApplyDraftMutationSchema.d.ts +18 -3
- package/dist/types/schemas/CreateBlockImageMutationSchema.d.ts +18 -3
- package/dist/types/schemas/CreateBlockParagraphMutationSchema.d.ts +18 -3
- package/dist/types/schemas/CreateBlockRowMutationSchema.d.ts +18 -3
- package/dist/types/schemas/CreateBlockTitleMutationSchema.d.ts +18 -3
- package/dist/types/schemas/CreateDraftMutationSchema.d.ts +18 -3
- package/dist/types/schemas/CreatePostMutationSchema.d.ts +18 -3
- package/dist/types/schemas/CreateUserMutationSchema.d.ts +18 -3
- package/dist/types/schemas/DeleteBlocksMutationSchema.d.ts +18 -3
- package/dist/types/schemas/DeletePostMutationSchema.d.ts +18 -3
- package/dist/types/schemas/MoveBlocksMutationSchema.d.ts +18 -3
- package/dist/types/schemas/TestTransactionalEditsMutationSchema.d.ts +18 -3
- package/dist/types/schemas/UpdateBlockParagraphMutationSchema.d.ts +18 -3
- package/dist/types/schemas/UpdatePostDescriptionMutationSchema.d.ts +18 -3
- package/dist/types/schemas/UpdatePostMutationSchema.d.ts +18 -3
- package/dist/types/schemas/UpdatePostTitleMutationSchema.d.ts +18 -3
- package/package.json +2 -2
|
@@ -9,7 +9,16 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"applyDraft">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "applyDraft";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "applyDraft";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
ref: z.ZodType<`Draft/${string}`, z.ZodTypeDef, `Draft/${string}`>;
|
|
@@ -29,7 +38,10 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
29
38
|
log: any[];
|
|
30
39
|
debounceCount: number;
|
|
31
40
|
identityRef: string;
|
|
32
|
-
|
|
41
|
+
operation: {
|
|
42
|
+
name: "applyDraft";
|
|
43
|
+
version: number;
|
|
44
|
+
};
|
|
33
45
|
sessionRef?: string | undefined;
|
|
34
46
|
}, {
|
|
35
47
|
ref: `Mutation/${string}`;
|
|
@@ -41,6 +53,9 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
41
53
|
log: any[];
|
|
42
54
|
debounceCount: number;
|
|
43
55
|
identityRef: string;
|
|
44
|
-
|
|
56
|
+
operation: {
|
|
57
|
+
name: "applyDraft";
|
|
58
|
+
version?: number | undefined;
|
|
59
|
+
};
|
|
45
60
|
sessionRef?: string | undefined;
|
|
46
61
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"createBlockImage">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "createBlockImage";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "createBlockImage";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
postRef: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
@@ -29,7 +38,10 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
29
38
|
log: any[];
|
|
30
39
|
debounceCount: number;
|
|
31
40
|
identityRef: string;
|
|
32
|
-
|
|
41
|
+
operation: {
|
|
42
|
+
name: "createBlockImage";
|
|
43
|
+
version: number;
|
|
44
|
+
};
|
|
33
45
|
sessionRef?: string | undefined;
|
|
34
46
|
}, {
|
|
35
47
|
ref: `Mutation/${string}`;
|
|
@@ -41,6 +53,9 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
41
53
|
log: any[];
|
|
42
54
|
debounceCount: number;
|
|
43
55
|
identityRef: string;
|
|
44
|
-
|
|
56
|
+
operation: {
|
|
57
|
+
name: "createBlockImage";
|
|
58
|
+
version?: number | undefined;
|
|
59
|
+
};
|
|
45
60
|
sessionRef?: string | undefined;
|
|
46
61
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"createBlockParagraph">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "createBlockParagraph";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "createBlockParagraph";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
parentRef: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>;
|
|
@@ -29,7 +38,10 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
29
38
|
log: any[];
|
|
30
39
|
debounceCount: number;
|
|
31
40
|
identityRef: string;
|
|
32
|
-
|
|
41
|
+
operation: {
|
|
42
|
+
name: "createBlockParagraph";
|
|
43
|
+
version: number;
|
|
44
|
+
};
|
|
33
45
|
sessionRef?: string | undefined;
|
|
34
46
|
}, {
|
|
35
47
|
ref: `Mutation/${string}`;
|
|
@@ -41,6 +53,9 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
41
53
|
log: any[];
|
|
42
54
|
debounceCount: number;
|
|
43
55
|
identityRef: string;
|
|
44
|
-
|
|
56
|
+
operation: {
|
|
57
|
+
name: "createBlockParagraph";
|
|
58
|
+
version?: number | undefined;
|
|
59
|
+
};
|
|
45
60
|
sessionRef?: string | undefined;
|
|
46
61
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"createBlockRow">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "createBlockRow";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "createBlockRow";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
parentRef: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>;
|
|
@@ -29,7 +38,10 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
|
|
|
29
38
|
log: any[];
|
|
30
39
|
debounceCount: number;
|
|
31
40
|
identityRef: string;
|
|
32
|
-
|
|
41
|
+
operation: {
|
|
42
|
+
name: "createBlockRow";
|
|
43
|
+
version: number;
|
|
44
|
+
};
|
|
33
45
|
sessionRef?: string | undefined;
|
|
34
46
|
}, {
|
|
35
47
|
ref: `Mutation/${string}`;
|
|
@@ -41,6 +53,9 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
|
|
|
41
53
|
log: any[];
|
|
42
54
|
debounceCount: number;
|
|
43
55
|
identityRef: string;
|
|
44
|
-
|
|
56
|
+
operation: {
|
|
57
|
+
name: "createBlockRow";
|
|
58
|
+
version?: number | undefined;
|
|
59
|
+
};
|
|
45
60
|
sessionRef?: string | undefined;
|
|
46
61
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"createBlockTitle">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "createBlockTitle";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "createBlockTitle";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
parentRef: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>;
|
|
@@ -29,7 +38,10 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
29
38
|
log: any[];
|
|
30
39
|
debounceCount: number;
|
|
31
40
|
identityRef: string;
|
|
32
|
-
|
|
41
|
+
operation: {
|
|
42
|
+
name: "createBlockTitle";
|
|
43
|
+
version: number;
|
|
44
|
+
};
|
|
33
45
|
sessionRef?: string | undefined;
|
|
34
46
|
}, {
|
|
35
47
|
ref: `Mutation/${string}`;
|
|
@@ -41,6 +53,9 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
|
|
|
41
53
|
log: any[];
|
|
42
54
|
debounceCount: number;
|
|
43
55
|
identityRef: string;
|
|
44
|
-
|
|
56
|
+
operation: {
|
|
57
|
+
name: "createBlockTitle";
|
|
58
|
+
version?: number | undefined;
|
|
59
|
+
};
|
|
45
60
|
sessionRef?: string | undefined;
|
|
46
61
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"createDraft">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "createDraft";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "createDraft";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
postRef: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
@@ -29,7 +38,10 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
29
38
|
log: any[];
|
|
30
39
|
debounceCount: number;
|
|
31
40
|
identityRef: string;
|
|
32
|
-
|
|
41
|
+
operation: {
|
|
42
|
+
name: "createDraft";
|
|
43
|
+
version: number;
|
|
44
|
+
};
|
|
33
45
|
sessionRef?: string | undefined;
|
|
34
46
|
}, {
|
|
35
47
|
ref: `Mutation/${string}`;
|
|
@@ -41,6 +53,9 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
41
53
|
log: any[];
|
|
42
54
|
debounceCount: number;
|
|
43
55
|
identityRef: string;
|
|
44
|
-
|
|
56
|
+
operation: {
|
|
57
|
+
name: "createDraft";
|
|
58
|
+
version?: number | undefined;
|
|
59
|
+
};
|
|
45
60
|
sessionRef?: string | undefined;
|
|
46
61
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"createPost">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "createPost";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "createPost";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
title: z.ZodString;
|
|
@@ -37,7 +46,10 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
37
46
|
log: any[];
|
|
38
47
|
debounceCount: number;
|
|
39
48
|
identityRef: string;
|
|
40
|
-
|
|
49
|
+
operation: {
|
|
50
|
+
name: "createPost";
|
|
51
|
+
version: number;
|
|
52
|
+
};
|
|
41
53
|
sessionRef?: string | undefined;
|
|
42
54
|
}, {
|
|
43
55
|
ref: `Mutation/${string}`;
|
|
@@ -51,6 +63,9 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
51
63
|
log: any[];
|
|
52
64
|
debounceCount: number;
|
|
53
65
|
identityRef: string;
|
|
54
|
-
|
|
66
|
+
operation: {
|
|
67
|
+
name: "createPost";
|
|
68
|
+
version?: number | undefined;
|
|
69
|
+
};
|
|
55
70
|
sessionRef?: string | undefined;
|
|
56
71
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"createUser">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "createUser";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "createUser";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
email: z.ZodString;
|
|
@@ -29,7 +38,10 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
29
38
|
log: any[];
|
|
30
39
|
debounceCount: number;
|
|
31
40
|
identityRef: string;
|
|
32
|
-
|
|
41
|
+
operation: {
|
|
42
|
+
name: "createUser";
|
|
43
|
+
version: number;
|
|
44
|
+
};
|
|
33
45
|
sessionRef?: string | undefined;
|
|
34
46
|
}, {
|
|
35
47
|
ref: `Mutation/${string}`;
|
|
@@ -41,6 +53,9 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
41
53
|
log: any[];
|
|
42
54
|
debounceCount: number;
|
|
43
55
|
identityRef: string;
|
|
44
|
-
|
|
56
|
+
operation: {
|
|
57
|
+
name: "createUser";
|
|
58
|
+
version?: number | undefined;
|
|
59
|
+
};
|
|
45
60
|
sessionRef?: string | undefined;
|
|
46
61
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const DeleteBlocksMutationSchema: z.ZodObject<z.objectUtil.extend
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"deleteBlocks">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "deleteBlocks";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "deleteBlocks";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodArray<z.ZodUnion<[z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>, z.ZodType<`BlockImage/${string}`, z.ZodTypeDef, `BlockImage/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>, "many">;
|
|
15
24
|
log: z.ZodType<any[], z.ZodTypeDef, any[]>;
|
|
@@ -21,7 +30,10 @@ export declare const DeleteBlocksMutationSchema: z.ZodObject<z.objectUtil.extend
|
|
|
21
30
|
log: any[];
|
|
22
31
|
debounceCount: number;
|
|
23
32
|
identityRef: string;
|
|
24
|
-
|
|
33
|
+
operation: {
|
|
34
|
+
name: "deleteBlocks";
|
|
35
|
+
version: number;
|
|
36
|
+
};
|
|
25
37
|
sessionRef?: string | undefined;
|
|
26
38
|
}, {
|
|
27
39
|
ref: `Mutation/${string}`;
|
|
@@ -31,6 +43,9 @@ export declare const DeleteBlocksMutationSchema: z.ZodObject<z.objectUtil.extend
|
|
|
31
43
|
log: any[];
|
|
32
44
|
debounceCount: number;
|
|
33
45
|
identityRef: string;
|
|
34
|
-
|
|
46
|
+
operation: {
|
|
47
|
+
name: "deleteBlocks";
|
|
48
|
+
version?: number | undefined;
|
|
49
|
+
};
|
|
35
50
|
sessionRef?: string | undefined;
|
|
36
51
|
}>;
|
|
@@ -8,7 +8,16 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
|
|
|
8
8
|
identityRef: import("zod").ZodString;
|
|
9
9
|
sessionRef: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10
10
|
}, {
|
|
11
|
-
|
|
11
|
+
operation: import("zod").ZodObject<{
|
|
12
|
+
name: import("zod").ZodLiteral<"deletePost">;
|
|
13
|
+
version: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
14
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15
|
+
name: "deletePost";
|
|
16
|
+
version: number;
|
|
17
|
+
}, {
|
|
18
|
+
name: "deletePost";
|
|
19
|
+
version?: number | undefined;
|
|
20
|
+
}>;
|
|
12
21
|
changeSetRef: import("zod").ZodType<never, import("zod").ZodTypeDef, never> | import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
|
|
13
22
|
payload: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
|
|
14
23
|
log: import("zod").ZodType<any[], import("zod").ZodTypeDef, any[]>;
|
|
@@ -20,7 +29,10 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
|
|
|
20
29
|
log: any[];
|
|
21
30
|
debounceCount: number;
|
|
22
31
|
identityRef: string;
|
|
23
|
-
|
|
32
|
+
operation: {
|
|
33
|
+
name: "deletePost";
|
|
34
|
+
version: number;
|
|
35
|
+
};
|
|
24
36
|
sessionRef?: string | undefined;
|
|
25
37
|
}, {
|
|
26
38
|
ref: `Mutation/${string}`;
|
|
@@ -30,6 +42,9 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
|
|
|
30
42
|
log: any[];
|
|
31
43
|
debounceCount: number;
|
|
32
44
|
identityRef: string;
|
|
33
|
-
|
|
45
|
+
operation: {
|
|
46
|
+
name: "deletePost";
|
|
47
|
+
version?: number | undefined;
|
|
48
|
+
};
|
|
34
49
|
sessionRef?: string | undefined;
|
|
35
50
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const MoveBlocksMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"moveBlocks">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "moveBlocks";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "moveBlocks";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
refs: z.ZodArray<z.ZodUnion<[z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>, "many">;
|
|
@@ -33,7 +42,10 @@ export declare const MoveBlocksMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
33
42
|
log: any[];
|
|
34
43
|
debounceCount: number;
|
|
35
44
|
identityRef: string;
|
|
36
|
-
|
|
45
|
+
operation: {
|
|
46
|
+
name: "moveBlocks";
|
|
47
|
+
version: number;
|
|
48
|
+
};
|
|
37
49
|
sessionRef?: string | undefined;
|
|
38
50
|
}, {
|
|
39
51
|
ref: `Mutation/${string}`;
|
|
@@ -46,6 +58,9 @@ export declare const MoveBlocksMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
46
58
|
log: any[];
|
|
47
59
|
debounceCount: number;
|
|
48
60
|
identityRef: string;
|
|
49
|
-
|
|
61
|
+
operation: {
|
|
62
|
+
name: "moveBlocks";
|
|
63
|
+
version?: number | undefined;
|
|
64
|
+
};
|
|
50
65
|
sessionRef?: string | undefined;
|
|
51
66
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const TestTransactionalEditsMutationSchema: z.ZodObject<z.objectU
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"testTransactionalEdits">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "testTransactionalEdits";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "testTransactionalEdits";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -37,7 +46,10 @@ export declare const TestTransactionalEditsMutationSchema: z.ZodObject<z.objectU
|
|
|
37
46
|
log: any[];
|
|
38
47
|
debounceCount: number;
|
|
39
48
|
identityRef: string;
|
|
40
|
-
|
|
49
|
+
operation: {
|
|
50
|
+
name: "testTransactionalEdits";
|
|
51
|
+
version: number;
|
|
52
|
+
};
|
|
41
53
|
sessionRef?: string | undefined;
|
|
42
54
|
}, {
|
|
43
55
|
ref: `Mutation/${string}`;
|
|
@@ -51,6 +63,9 @@ export declare const TestTransactionalEditsMutationSchema: z.ZodObject<z.objectU
|
|
|
51
63
|
log: any[];
|
|
52
64
|
debounceCount: number;
|
|
53
65
|
identityRef: string;
|
|
54
|
-
|
|
66
|
+
operation: {
|
|
67
|
+
name: "testTransactionalEdits";
|
|
68
|
+
version?: number | undefined;
|
|
69
|
+
};
|
|
55
70
|
sessionRef?: string | undefined;
|
|
56
71
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const UpdateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"updateBlockParagraph">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "updateBlockParagraph";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "updateBlockParagraph";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
ref: z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>;
|
|
@@ -33,7 +42,10 @@ export declare const UpdateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
33
42
|
log: any[];
|
|
34
43
|
debounceCount: number;
|
|
35
44
|
identityRef: string;
|
|
36
|
-
|
|
45
|
+
operation: {
|
|
46
|
+
name: "updateBlockParagraph";
|
|
47
|
+
version: number;
|
|
48
|
+
};
|
|
37
49
|
sessionRef?: string | undefined;
|
|
38
50
|
}, {
|
|
39
51
|
ref: `Mutation/${string}`;
|
|
@@ -46,6 +58,9 @@ export declare const UpdateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
|
|
|
46
58
|
log: any[];
|
|
47
59
|
debounceCount: number;
|
|
48
60
|
identityRef: string;
|
|
49
|
-
|
|
61
|
+
operation: {
|
|
62
|
+
name: "updateBlockParagraph";
|
|
63
|
+
version?: number | undefined;
|
|
64
|
+
};
|
|
50
65
|
sessionRef?: string | undefined;
|
|
51
66
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const UpdatePostDescriptionMutationSchema: z.ZodObject<z.objectUt
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"updatePostDescription">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "updatePostDescription";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "updatePostDescription";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
ref: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
@@ -33,7 +42,10 @@ export declare const UpdatePostDescriptionMutationSchema: z.ZodObject<z.objectUt
|
|
|
33
42
|
log: any[];
|
|
34
43
|
debounceCount: number;
|
|
35
44
|
identityRef: string;
|
|
36
|
-
|
|
45
|
+
operation: {
|
|
46
|
+
name: "updatePostDescription";
|
|
47
|
+
version: number;
|
|
48
|
+
};
|
|
37
49
|
sessionRef?: string | undefined;
|
|
38
50
|
}, {
|
|
39
51
|
ref: `Mutation/${string}`;
|
|
@@ -46,6 +58,9 @@ export declare const UpdatePostDescriptionMutationSchema: z.ZodObject<z.objectUt
|
|
|
46
58
|
log: any[];
|
|
47
59
|
debounceCount: number;
|
|
48
60
|
identityRef: string;
|
|
49
|
-
|
|
61
|
+
operation: {
|
|
62
|
+
name: "updatePostDescription";
|
|
63
|
+
version?: number | undefined;
|
|
64
|
+
};
|
|
50
65
|
sessionRef?: string | undefined;
|
|
51
66
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"updatePost">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "updatePost";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "updatePost";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
ref: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
@@ -41,7 +50,10 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
41
50
|
log: any[];
|
|
42
51
|
debounceCount: number;
|
|
43
52
|
identityRef: string;
|
|
44
|
-
|
|
53
|
+
operation: {
|
|
54
|
+
name: "updatePost";
|
|
55
|
+
version: number;
|
|
56
|
+
};
|
|
45
57
|
sessionRef?: string | undefined;
|
|
46
58
|
}, {
|
|
47
59
|
ref: `Mutation/${string}`;
|
|
@@ -56,6 +68,9 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
56
68
|
log: any[];
|
|
57
69
|
debounceCount: number;
|
|
58
70
|
identityRef: string;
|
|
59
|
-
|
|
71
|
+
operation: {
|
|
72
|
+
name: "updatePost";
|
|
73
|
+
version?: number | undefined;
|
|
74
|
+
};
|
|
60
75
|
sessionRef?: string | undefined;
|
|
61
76
|
}>;
|
|
@@ -9,7 +9,16 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
|
|
|
9
9
|
identityRef: z.ZodString;
|
|
10
10
|
sessionRef: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, {
|
|
12
|
-
|
|
12
|
+
operation: z.ZodObject<{
|
|
13
|
+
name: z.ZodLiteral<"updatePostTitle">;
|
|
14
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: "updatePostTitle";
|
|
17
|
+
version: number;
|
|
18
|
+
}, {
|
|
19
|
+
name: "updatePostTitle";
|
|
20
|
+
version?: number | undefined;
|
|
21
|
+
}>;
|
|
13
22
|
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
14
23
|
payload: z.ZodObject<{
|
|
15
24
|
ref: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
@@ -33,7 +42,10 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
|
|
|
33
42
|
log: any[];
|
|
34
43
|
debounceCount: number;
|
|
35
44
|
identityRef: string;
|
|
36
|
-
|
|
45
|
+
operation: {
|
|
46
|
+
name: "updatePostTitle";
|
|
47
|
+
version: number;
|
|
48
|
+
};
|
|
37
49
|
sessionRef?: string | undefined;
|
|
38
50
|
}, {
|
|
39
51
|
ref: `Mutation/${string}`;
|
|
@@ -46,6 +58,9 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
|
|
|
46
58
|
log: any[];
|
|
47
59
|
debounceCount: number;
|
|
48
60
|
identityRef: string;
|
|
49
|
-
|
|
61
|
+
operation: {
|
|
62
|
+
name: "updatePostTitle";
|
|
63
|
+
version?: number | undefined;
|
|
64
|
+
};
|
|
50
65
|
sessionRef?: string | undefined;
|
|
51
66
|
}>;
|
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.39",
|
|
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.39",
|
|
21
21
|
"zod": "3.24.2"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [],
|