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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/index.js +72 -130
  2. package/dist/types/operations/applyDraft.d.ts +1 -5
  3. package/dist/types/operations/createBlockImage.d.ts +8 -24
  4. package/dist/types/operations/createBlockParagraph.d.ts +8 -24
  5. package/dist/types/operations/createBlockRow.d.ts +8 -24
  6. package/dist/types/operations/createBlockTitle.d.ts +8 -24
  7. package/dist/types/operations/createDraft.d.ts +8 -22
  8. package/dist/types/operations/createPost.d.ts +14 -29
  9. package/dist/types/operations/deleteBlocks.d.ts +2 -29
  10. package/dist/types/operations/deleteDraft.d.ts +1 -5
  11. package/dist/types/operations/deletePost.d.ts +1 -5
  12. package/dist/types/operations/index.d.ts +98 -294
  13. package/dist/types/operations/moveBlocks.d.ts +11 -5
  14. package/dist/types/operations/testTransactionalEdits.d.ts +14 -29
  15. package/dist/types/operations/updateBlockParagraph.d.ts +11 -5
  16. package/dist/types/operations/updatePost.d.ts +16 -28
  17. package/dist/types/operations/updatePostDescription.d.ts +10 -28
  18. package/dist/types/operations/updatePostTitle.d.ts +10 -28
  19. package/package.json +2 -2
  20. package/dist/types/schemas/ApplyDraftMutationSchema.d.ts +0 -64
  21. package/dist/types/schemas/CreateBlockImageMutationSchema.d.ts +0 -64
  22. package/dist/types/schemas/CreateBlockParagraphMutationSchema.d.ts +0 -64
  23. package/dist/types/schemas/CreateBlockRowMutationSchema.d.ts +0 -64
  24. package/dist/types/schemas/CreateBlockTitleMutationSchema.d.ts +0 -64
  25. package/dist/types/schemas/CreateDraftMutationSchema.d.ts +0 -64
  26. package/dist/types/schemas/DeleteBlocksMutationSchema.d.ts +0 -54
  27. package/dist/types/schemas/DeleteDraftMutationSchema.d.ts +0 -53
  28. package/dist/types/schemas/DeletePostMutationSchema.d.ts +0 -53
  29. package/dist/types/schemas/MoveBlocksMutationSchema.d.ts +0 -69
  30. package/dist/types/schemas/TestTransactionalEditsMutationSchema.d.ts +0 -74
  31. package/dist/types/schemas/UpdateBlockParagraphMutationSchema.d.ts +0 -69
  32. package/dist/types/schemas/UpdatePostDescriptionMutationSchema.d.ts +0 -69
@@ -1,64 +0,0 @@
1
- import { z } from "zod";
2
- export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
4
- timestamp: z.ZodString;
5
- changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
6
- payload: z.ZodAny;
7
- log: z.ZodArray<z.ZodAny, "many">;
8
- debounceCount: z.ZodNumber;
9
- identityRef: z.ZodString;
10
- sessionRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, {
13
- operation: z.ZodObject<{
14
- name: z.ZodLiteral<"applyDraft">;
15
- version: z.ZodDefault<z.ZodNumber>;
16
- }, "strip", z.ZodTypeAny, {
17
- version: number;
18
- name: "applyDraft";
19
- }, {
20
- name: "applyDraft";
21
- version?: number | undefined;
22
- }>;
23
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
24
- payload: z.ZodObject<{
25
- ref: z.ZodType<`Draft/${string}`, z.ZodTypeDef, `Draft/${string}`>;
26
- }, "strict", z.ZodTypeAny, {
27
- ref: `Draft/${string}`;
28
- }, {
29
- ref: `Draft/${string}`;
30
- }>;
31
- log: z.ZodType<any[], z.ZodTypeDef, any[]>;
32
- }>, "strict", z.ZodTypeAny, {
33
- ref: `Mutation/${string}`;
34
- timestamp: string;
35
- changeSetRef: null;
36
- payload: {
37
- ref: `Draft/${string}`;
38
- };
39
- log: any[];
40
- debounceCount: number;
41
- identityRef: string;
42
- operation: {
43
- version: number;
44
- name: "applyDraft";
45
- };
46
- sessionRef?: string | null | undefined;
47
- persistedAt?: string | null | undefined;
48
- }, {
49
- ref: `Mutation/${string}`;
50
- timestamp: string;
51
- changeSetRef: null;
52
- payload: {
53
- ref: `Draft/${string}`;
54
- };
55
- log: any[];
56
- debounceCount: number;
57
- identityRef: string;
58
- operation: {
59
- name: "applyDraft";
60
- version?: number | undefined;
61
- };
62
- sessionRef?: string | null | undefined;
63
- persistedAt?: string | null | undefined;
64
- }>;
@@ -1,64 +0,0 @@
1
- import { z } from "zod";
2
- export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
4
- timestamp: z.ZodString;
5
- changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
6
- payload: z.ZodAny;
7
- log: z.ZodArray<z.ZodAny, "many">;
8
- debounceCount: z.ZodNumber;
9
- identityRef: z.ZodString;
10
- sessionRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, {
13
- operation: z.ZodObject<{
14
- name: z.ZodLiteral<"createBlockImage">;
15
- version: z.ZodDefault<z.ZodNumber>;
16
- }, "strip", z.ZodTypeAny, {
17
- version: number;
18
- name: "createBlockImage";
19
- }, {
20
- name: "createBlockImage";
21
- version?: number | undefined;
22
- }>;
23
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
24
- payload: z.ZodObject<{
25
- postRef: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
26
- }, "strict", z.ZodTypeAny, {
27
- postRef: `Post/${string}`;
28
- }, {
29
- postRef: `Post/${string}`;
30
- }>;
31
- log: z.ZodType<any[], z.ZodTypeDef, any[]>;
32
- }>, "strict", z.ZodTypeAny, {
33
- ref: `Mutation/${string}`;
34
- timestamp: string;
35
- changeSetRef: null;
36
- payload: {
37
- postRef: `Post/${string}`;
38
- };
39
- log: any[];
40
- debounceCount: number;
41
- identityRef: string;
42
- operation: {
43
- version: number;
44
- name: "createBlockImage";
45
- };
46
- sessionRef?: string | null | undefined;
47
- persistedAt?: string | null | undefined;
48
- }, {
49
- ref: `Mutation/${string}`;
50
- timestamp: string;
51
- changeSetRef: null;
52
- payload: {
53
- postRef: `Post/${string}`;
54
- };
55
- log: any[];
56
- debounceCount: number;
57
- identityRef: string;
58
- operation: {
59
- name: "createBlockImage";
60
- version?: number | undefined;
61
- };
62
- sessionRef?: string | null | undefined;
63
- persistedAt?: string | null | undefined;
64
- }>;
@@ -1,64 +0,0 @@
1
- import { z } from "zod";
2
- export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
4
- timestamp: z.ZodString;
5
- changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
6
- payload: z.ZodAny;
7
- log: z.ZodArray<z.ZodAny, "many">;
8
- debounceCount: z.ZodNumber;
9
- identityRef: z.ZodString;
10
- sessionRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, {
13
- operation: z.ZodObject<{
14
- name: z.ZodLiteral<"createBlockParagraph">;
15
- version: z.ZodDefault<z.ZodNumber>;
16
- }, "strip", z.ZodTypeAny, {
17
- version: number;
18
- name: "createBlockParagraph";
19
- }, {
20
- name: "createBlockParagraph";
21
- version?: number | undefined;
22
- }>;
23
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
24
- payload: z.ZodObject<{
25
- parentRef: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>;
26
- }, "strict", z.ZodTypeAny, {
27
- parentRef: `Post/${string}` | `BlockRow/${string}`;
28
- }, {
29
- parentRef: `Post/${string}` | `BlockRow/${string}`;
30
- }>;
31
- log: z.ZodType<any[], z.ZodTypeDef, any[]>;
32
- }>, "strict", z.ZodTypeAny, {
33
- ref: `Mutation/${string}`;
34
- timestamp: string;
35
- changeSetRef: null;
36
- payload: {
37
- parentRef: `Post/${string}` | `BlockRow/${string}`;
38
- };
39
- log: any[];
40
- debounceCount: number;
41
- identityRef: string;
42
- operation: {
43
- version: number;
44
- name: "createBlockParagraph";
45
- };
46
- sessionRef?: string | null | undefined;
47
- persistedAt?: string | null | undefined;
48
- }, {
49
- ref: `Mutation/${string}`;
50
- timestamp: string;
51
- changeSetRef: null;
52
- payload: {
53
- parentRef: `Post/${string}` | `BlockRow/${string}`;
54
- };
55
- log: any[];
56
- debounceCount: number;
57
- identityRef: string;
58
- operation: {
59
- name: "createBlockParagraph";
60
- version?: number | undefined;
61
- };
62
- sessionRef?: string | null | undefined;
63
- persistedAt?: string | null | undefined;
64
- }>;
@@ -1,64 +0,0 @@
1
- import { z } from "zod";
2
- export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
4
- timestamp: z.ZodString;
5
- changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
6
- payload: z.ZodAny;
7
- log: z.ZodArray<z.ZodAny, "many">;
8
- debounceCount: z.ZodNumber;
9
- identityRef: z.ZodString;
10
- sessionRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, {
13
- operation: z.ZodObject<{
14
- name: z.ZodLiteral<"createBlockRow">;
15
- version: z.ZodDefault<z.ZodNumber>;
16
- }, "strip", z.ZodTypeAny, {
17
- version: number;
18
- name: "createBlockRow";
19
- }, {
20
- name: "createBlockRow";
21
- version?: number | undefined;
22
- }>;
23
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
24
- payload: z.ZodObject<{
25
- parentRef: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>;
26
- }, "strict", z.ZodTypeAny, {
27
- parentRef: `Post/${string}` | `BlockRow/${string}`;
28
- }, {
29
- parentRef: `Post/${string}` | `BlockRow/${string}`;
30
- }>;
31
- log: z.ZodType<any[], z.ZodTypeDef, any[]>;
32
- }>, "strict", z.ZodTypeAny, {
33
- ref: `Mutation/${string}`;
34
- timestamp: string;
35
- changeSetRef: null;
36
- payload: {
37
- parentRef: `Post/${string}` | `BlockRow/${string}`;
38
- };
39
- log: any[];
40
- debounceCount: number;
41
- identityRef: string;
42
- operation: {
43
- version: number;
44
- name: "createBlockRow";
45
- };
46
- sessionRef?: string | null | undefined;
47
- persistedAt?: string | null | undefined;
48
- }, {
49
- ref: `Mutation/${string}`;
50
- timestamp: string;
51
- changeSetRef: null;
52
- payload: {
53
- parentRef: `Post/${string}` | `BlockRow/${string}`;
54
- };
55
- log: any[];
56
- debounceCount: number;
57
- identityRef: string;
58
- operation: {
59
- name: "createBlockRow";
60
- version?: number | undefined;
61
- };
62
- sessionRef?: string | null | undefined;
63
- persistedAt?: string | null | undefined;
64
- }>;
@@ -1,64 +0,0 @@
1
- import { z } from "zod";
2
- export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
4
- timestamp: z.ZodString;
5
- changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
6
- payload: z.ZodAny;
7
- log: z.ZodArray<z.ZodAny, "many">;
8
- debounceCount: z.ZodNumber;
9
- identityRef: z.ZodString;
10
- sessionRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, {
13
- operation: z.ZodObject<{
14
- name: z.ZodLiteral<"createBlockTitle">;
15
- version: z.ZodDefault<z.ZodNumber>;
16
- }, "strip", z.ZodTypeAny, {
17
- version: number;
18
- name: "createBlockTitle";
19
- }, {
20
- name: "createBlockTitle";
21
- version?: number | undefined;
22
- }>;
23
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
24
- payload: z.ZodObject<{
25
- parentRef: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>;
26
- }, "strict", z.ZodTypeAny, {
27
- parentRef: `Post/${string}` | `BlockRow/${string}`;
28
- }, {
29
- parentRef: `Post/${string}` | `BlockRow/${string}`;
30
- }>;
31
- log: z.ZodType<any[], z.ZodTypeDef, any[]>;
32
- }>, "strict", z.ZodTypeAny, {
33
- ref: `Mutation/${string}`;
34
- timestamp: string;
35
- changeSetRef: null;
36
- payload: {
37
- parentRef: `Post/${string}` | `BlockRow/${string}`;
38
- };
39
- log: any[];
40
- debounceCount: number;
41
- identityRef: string;
42
- operation: {
43
- version: number;
44
- name: "createBlockTitle";
45
- };
46
- sessionRef?: string | null | undefined;
47
- persistedAt?: string | null | undefined;
48
- }, {
49
- ref: `Mutation/${string}`;
50
- timestamp: string;
51
- changeSetRef: null;
52
- payload: {
53
- parentRef: `Post/${string}` | `BlockRow/${string}`;
54
- };
55
- log: any[];
56
- debounceCount: number;
57
- identityRef: string;
58
- operation: {
59
- name: "createBlockTitle";
60
- version?: number | undefined;
61
- };
62
- sessionRef?: string | null | undefined;
63
- persistedAt?: string | null | undefined;
64
- }>;
@@ -1,64 +0,0 @@
1
- import { z } from "zod";
2
- export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
4
- timestamp: z.ZodString;
5
- changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
6
- payload: z.ZodAny;
7
- log: z.ZodArray<z.ZodAny, "many">;
8
- debounceCount: z.ZodNumber;
9
- identityRef: z.ZodString;
10
- sessionRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, {
13
- operation: z.ZodObject<{
14
- name: z.ZodLiteral<"createDraft">;
15
- version: z.ZodDefault<z.ZodNumber>;
16
- }, "strip", z.ZodTypeAny, {
17
- version: number;
18
- name: "createDraft";
19
- }, {
20
- name: "createDraft";
21
- version?: number | undefined;
22
- }>;
23
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
24
- payload: z.ZodObject<{
25
- postRef: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
26
- }, "strict", z.ZodTypeAny, {
27
- postRef: `Post/${string}`;
28
- }, {
29
- postRef: `Post/${string}`;
30
- }>;
31
- log: z.ZodType<any[], z.ZodTypeDef, any[]>;
32
- }>, "strict", z.ZodTypeAny, {
33
- ref: `Mutation/${string}`;
34
- timestamp: string;
35
- changeSetRef: null;
36
- payload: {
37
- postRef: `Post/${string}`;
38
- };
39
- log: any[];
40
- debounceCount: number;
41
- identityRef: string;
42
- operation: {
43
- version: number;
44
- name: "createDraft";
45
- };
46
- sessionRef?: string | null | undefined;
47
- persistedAt?: string | null | undefined;
48
- }, {
49
- ref: `Mutation/${string}`;
50
- timestamp: string;
51
- changeSetRef: null;
52
- payload: {
53
- postRef: `Post/${string}`;
54
- };
55
- log: any[];
56
- debounceCount: number;
57
- identityRef: string;
58
- operation: {
59
- name: "createDraft";
60
- version?: number | undefined;
61
- };
62
- sessionRef?: string | null | undefined;
63
- persistedAt?: string | null | undefined;
64
- }>;
@@ -1,54 +0,0 @@
1
- import { z } from "zod";
2
- export declare const DeleteBlocksMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
4
- timestamp: z.ZodString;
5
- changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
6
- payload: z.ZodAny;
7
- log: z.ZodArray<z.ZodAny, "many">;
8
- debounceCount: z.ZodNumber;
9
- identityRef: z.ZodString;
10
- sessionRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, {
13
- operation: z.ZodObject<{
14
- name: z.ZodLiteral<"deleteBlocks">;
15
- version: z.ZodDefault<z.ZodNumber>;
16
- }, "strip", z.ZodTypeAny, {
17
- version: number;
18
- name: "deleteBlocks";
19
- }, {
20
- name: "deleteBlocks";
21
- version?: number | undefined;
22
- }>;
23
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
24
- 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">;
25
- log: z.ZodType<any[], z.ZodTypeDef, any[]>;
26
- }>, "strict", z.ZodTypeAny, {
27
- ref: `Mutation/${string}`;
28
- timestamp: string;
29
- changeSetRef: null;
30
- payload: (`BlockImage/${string}` | `BlockParagraph/${string}` | `BlockRow/${string}`)[];
31
- log: any[];
32
- debounceCount: number;
33
- identityRef: string;
34
- operation: {
35
- version: number;
36
- name: "deleteBlocks";
37
- };
38
- sessionRef?: string | null | undefined;
39
- persistedAt?: string | null | undefined;
40
- }, {
41
- ref: `Mutation/${string}`;
42
- timestamp: string;
43
- changeSetRef: null;
44
- payload: (`BlockImage/${string}` | `BlockParagraph/${string}` | `BlockRow/${string}`)[];
45
- log: any[];
46
- debounceCount: number;
47
- identityRef: string;
48
- operation: {
49
- name: "deleteBlocks";
50
- version?: number | undefined;
51
- };
52
- sessionRef?: string | null | undefined;
53
- persistedAt?: string | null | undefined;
54
- }>;
@@ -1,53 +0,0 @@
1
- export declare const DeleteDraftMutationSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2
- ref: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
3
- timestamp: import("zod").ZodString;
4
- changeSetRef: import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
5
- payload: import("zod").ZodAny;
6
- log: import("zod").ZodArray<import("zod").ZodAny, "many">;
7
- debounceCount: import("zod").ZodNumber;
8
- identityRef: import("zod").ZodString;
9
- sessionRef: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
10
- persistedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
11
- }, {
12
- operation: import("zod").ZodObject<{
13
- name: import("zod").ZodLiteral<"deleteDraft">;
14
- version: import("zod").ZodDefault<import("zod").ZodNumber>;
15
- }, "strip", import("zod").ZodTypeAny, {
16
- version: number;
17
- name: "deleteDraft";
18
- }, {
19
- name: "deleteDraft";
20
- version?: number | undefined;
21
- }>;
22
- changeSetRef: import("zod").ZodType<never, import("zod").ZodTypeDef, never> | import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
23
- payload: import("zod").ZodType<`Draft/${string}`, import("zod").ZodTypeDef, `Draft/${string}`>;
24
- log: import("zod").ZodType<any[], import("zod").ZodTypeDef, any[]>;
25
- }>, "strict", import("zod").ZodTypeAny, {
26
- ref: `Mutation/${string}`;
27
- timestamp: string;
28
- changeSetRef: null;
29
- payload: `Draft/${string}`;
30
- log: any[];
31
- debounceCount: number;
32
- identityRef: string;
33
- operation: {
34
- version: number;
35
- name: "deleteDraft";
36
- };
37
- sessionRef?: string | null | undefined;
38
- persistedAt?: string | null | undefined;
39
- }, {
40
- ref: `Mutation/${string}`;
41
- timestamp: string;
42
- changeSetRef: null;
43
- payload: `Draft/${string}`;
44
- log: any[];
45
- debounceCount: number;
46
- identityRef: string;
47
- operation: {
48
- name: "deleteDraft";
49
- version?: number | undefined;
50
- };
51
- sessionRef?: string | null | undefined;
52
- persistedAt?: string | null | undefined;
53
- }>;
@@ -1,53 +0,0 @@
1
- export declare const DeletePostMutationSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2
- ref: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
3
- timestamp: import("zod").ZodString;
4
- changeSetRef: import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
5
- payload: import("zod").ZodAny;
6
- log: import("zod").ZodArray<import("zod").ZodAny, "many">;
7
- debounceCount: import("zod").ZodNumber;
8
- identityRef: import("zod").ZodString;
9
- sessionRef: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
10
- persistedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
11
- }, {
12
- operation: import("zod").ZodObject<{
13
- name: import("zod").ZodLiteral<"deletePost">;
14
- version: import("zod").ZodDefault<import("zod").ZodNumber>;
15
- }, "strip", import("zod").ZodTypeAny, {
16
- version: number;
17
- name: "deletePost";
18
- }, {
19
- name: "deletePost";
20
- version?: number | undefined;
21
- }>;
22
- changeSetRef: import("zod").ZodType<never, import("zod").ZodTypeDef, never> | import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
23
- payload: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
24
- log: import("zod").ZodType<any[], import("zod").ZodTypeDef, any[]>;
25
- }>, "strict", import("zod").ZodTypeAny, {
26
- ref: `Mutation/${string}`;
27
- timestamp: string;
28
- changeSetRef: null;
29
- payload: `Post/${string}`;
30
- log: any[];
31
- debounceCount: number;
32
- identityRef: string;
33
- operation: {
34
- version: number;
35
- name: "deletePost";
36
- };
37
- sessionRef?: string | null | undefined;
38
- persistedAt?: string | null | undefined;
39
- }, {
40
- ref: `Mutation/${string}`;
41
- timestamp: string;
42
- changeSetRef: null;
43
- payload: `Post/${string}`;
44
- log: any[];
45
- debounceCount: number;
46
- identityRef: string;
47
- operation: {
48
- name: "deletePost";
49
- version?: number | undefined;
50
- };
51
- sessionRef?: string | null | undefined;
52
- persistedAt?: string | null | undefined;
53
- }>;
@@ -1,69 +0,0 @@
1
- import { z } from "zod";
2
- export declare const MoveBlocksMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
4
- timestamp: z.ZodString;
5
- changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
6
- payload: z.ZodAny;
7
- log: z.ZodArray<z.ZodAny, "many">;
8
- debounceCount: z.ZodNumber;
9
- identityRef: z.ZodString;
10
- sessionRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, {
13
- operation: z.ZodObject<{
14
- name: z.ZodLiteral<"moveBlocks">;
15
- version: z.ZodDefault<z.ZodNumber>;
16
- }, "strip", z.ZodTypeAny, {
17
- version: number;
18
- name: "moveBlocks";
19
- }, {
20
- name: "moveBlocks";
21
- version?: number | undefined;
22
- }>;
23
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
24
- payload: z.ZodObject<{
25
- refs: z.ZodArray<z.ZodUnion<[z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>, "many">;
26
- targetPosition: z.ZodNumber;
27
- }, "strict", z.ZodTypeAny, {
28
- refs: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
29
- targetPosition: number;
30
- }, {
31
- refs: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
32
- targetPosition: number;
33
- }>;
34
- log: z.ZodType<any[], z.ZodTypeDef, any[]>;
35
- }>, "strict", z.ZodTypeAny, {
36
- ref: `Mutation/${string}`;
37
- timestamp: string;
38
- changeSetRef: null;
39
- payload: {
40
- refs: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
41
- targetPosition: number;
42
- };
43
- log: any[];
44
- debounceCount: number;
45
- identityRef: string;
46
- operation: {
47
- version: number;
48
- name: "moveBlocks";
49
- };
50
- sessionRef?: string | null | undefined;
51
- persistedAt?: string | null | undefined;
52
- }, {
53
- ref: `Mutation/${string}`;
54
- timestamp: string;
55
- changeSetRef: null;
56
- payload: {
57
- refs: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
58
- targetPosition: number;
59
- };
60
- log: any[];
61
- debounceCount: number;
62
- identityRef: string;
63
- operation: {
64
- name: "moveBlocks";
65
- version?: number | undefined;
66
- };
67
- sessionRef?: string | null | undefined;
68
- persistedAt?: string | null | undefined;
69
- }>;