@roc-db/test-utils 0.2.0-pre.40 → 0.2.0-pre.41

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.
@@ -8,6 +8,7 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"applyDraft">;
@@ -43,6 +44,7 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
43
44
  version: number;
44
45
  };
45
46
  sessionRef?: string | undefined;
47
+ persistedAt?: string | null | undefined;
46
48
  }, {
47
49
  ref: `Mutation/${string}`;
48
50
  timestamp: string;
@@ -58,4 +60,5 @@ export declare const ApplyDraftMutationSchema: z.ZodObject<z.objectUtil.extendSh
58
60
  version?: number | undefined;
59
61
  };
60
62
  sessionRef?: string | undefined;
63
+ persistedAt?: string | null | undefined;
61
64
  }>;
@@ -8,6 +8,7 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"createBlockImage">;
@@ -43,6 +44,7 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
43
44
  version: number;
44
45
  };
45
46
  sessionRef?: string | undefined;
47
+ persistedAt?: string | null | undefined;
46
48
  }, {
47
49
  ref: `Mutation/${string}`;
48
50
  timestamp: string;
@@ -58,4 +60,5 @@ export declare const CreateBlockImageMutationSchema: z.ZodObject<z.objectUtil.ex
58
60
  version?: number | undefined;
59
61
  };
60
62
  sessionRef?: string | undefined;
63
+ persistedAt?: string | null | undefined;
61
64
  }>;
@@ -8,6 +8,7 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"createBlockParagraph">;
@@ -43,6 +44,7 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
43
44
  version: number;
44
45
  };
45
46
  sessionRef?: string | undefined;
47
+ persistedAt?: string | null | undefined;
46
48
  }, {
47
49
  ref: `Mutation/${string}`;
48
50
  timestamp: string;
@@ -58,4 +60,5 @@ export declare const CreateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
58
60
  version?: number | undefined;
59
61
  };
60
62
  sessionRef?: string | undefined;
63
+ persistedAt?: string | null | undefined;
61
64
  }>;
@@ -8,6 +8,7 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"createBlockRow">;
@@ -43,6 +44,7 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
43
44
  version: number;
44
45
  };
45
46
  sessionRef?: string | undefined;
47
+ persistedAt?: string | null | undefined;
46
48
  }, {
47
49
  ref: `Mutation/${string}`;
48
50
  timestamp: string;
@@ -58,4 +60,5 @@ export declare const CreateBlockRowMutationSchema: z.ZodObject<z.objectUtil.exte
58
60
  version?: number | undefined;
59
61
  };
60
62
  sessionRef?: string | undefined;
63
+ persistedAt?: string | null | undefined;
61
64
  }>;
@@ -8,6 +8,7 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"createBlockTitle">;
@@ -43,6 +44,7 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
43
44
  version: number;
44
45
  };
45
46
  sessionRef?: string | undefined;
47
+ persistedAt?: string | null | undefined;
46
48
  }, {
47
49
  ref: `Mutation/${string}`;
48
50
  timestamp: string;
@@ -58,4 +60,5 @@ export declare const CreateBlockTitleMutationSchema: z.ZodObject<z.objectUtil.ex
58
60
  version?: number | undefined;
59
61
  };
60
62
  sessionRef?: string | undefined;
63
+ persistedAt?: string | null | undefined;
61
64
  }>;
@@ -8,6 +8,7 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"createDraft">;
@@ -43,6 +44,7 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
43
44
  version: number;
44
45
  };
45
46
  sessionRef?: string | undefined;
47
+ persistedAt?: string | null | undefined;
46
48
  }, {
47
49
  ref: `Mutation/${string}`;
48
50
  timestamp: string;
@@ -58,4 +60,5 @@ export declare const CreateDraftMutationSchema: z.ZodObject<z.objectUtil.extendS
58
60
  version?: number | undefined;
59
61
  };
60
62
  sessionRef?: string | undefined;
63
+ persistedAt?: string | null | undefined;
61
64
  }>;
@@ -8,6 +8,7 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"createPost">;
@@ -51,6 +52,7 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
51
52
  version: number;
52
53
  };
53
54
  sessionRef?: string | undefined;
55
+ persistedAt?: string | null | undefined;
54
56
  }, {
55
57
  ref: `Mutation/${string}`;
56
58
  timestamp: string;
@@ -68,4 +70,5 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
68
70
  version?: number | undefined;
69
71
  };
70
72
  sessionRef?: string | undefined;
73
+ persistedAt?: string | null | undefined;
71
74
  }>;
@@ -8,6 +8,7 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"createUser">;
@@ -43,6 +44,7 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
43
44
  version: number;
44
45
  };
45
46
  sessionRef?: string | undefined;
47
+ persistedAt?: string | null | undefined;
46
48
  }, {
47
49
  ref: `Mutation/${string}`;
48
50
  timestamp: string;
@@ -58,4 +60,5 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
58
60
  version?: number | undefined;
59
61
  };
60
62
  sessionRef?: string | undefined;
63
+ persistedAt?: string | null | undefined;
61
64
  }>;
@@ -8,6 +8,7 @@ export declare const DeleteBlocksMutationSchema: z.ZodObject<z.objectUtil.extend
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"deleteBlocks">;
@@ -35,6 +36,7 @@ export declare const DeleteBlocksMutationSchema: z.ZodObject<z.objectUtil.extend
35
36
  version: number;
36
37
  };
37
38
  sessionRef?: string | undefined;
39
+ persistedAt?: string | null | undefined;
38
40
  }, {
39
41
  ref: `Mutation/${string}`;
40
42
  timestamp: string;
@@ -48,4 +50,5 @@ export declare const DeleteBlocksMutationSchema: z.ZodObject<z.objectUtil.extend
48
50
  version?: number | undefined;
49
51
  };
50
52
  sessionRef?: string | undefined;
53
+ persistedAt?: string | null | undefined;
51
54
  }>;
@@ -7,6 +7,7 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
7
7
  debounceCount: import("zod").ZodNumber;
8
8
  identityRef: import("zod").ZodString;
9
9
  sessionRef: import("zod").ZodOptional<import("zod").ZodString>;
10
+ persistedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
10
11
  }, {
11
12
  operation: import("zod").ZodObject<{
12
13
  name: import("zod").ZodLiteral<"deletePost">;
@@ -34,6 +35,7 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
34
35
  version: number;
35
36
  };
36
37
  sessionRef?: string | undefined;
38
+ persistedAt?: string | null | undefined;
37
39
  }, {
38
40
  ref: `Mutation/${string}`;
39
41
  timestamp: string;
@@ -47,4 +49,5 @@ export declare const DeletePostMutationSchema: import("zod").ZodObject<import("z
47
49
  version?: number | undefined;
48
50
  };
49
51
  sessionRef?: string | undefined;
52
+ persistedAt?: string | null | undefined;
50
53
  }>;
@@ -8,6 +8,7 @@ export declare const MoveBlocksMutationSchema: z.ZodObject<z.objectUtil.extendSh
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"moveBlocks">;
@@ -47,6 +48,7 @@ export declare const MoveBlocksMutationSchema: z.ZodObject<z.objectUtil.extendSh
47
48
  version: number;
48
49
  };
49
50
  sessionRef?: string | undefined;
51
+ persistedAt?: string | null | undefined;
50
52
  }, {
51
53
  ref: `Mutation/${string}`;
52
54
  timestamp: string;
@@ -63,4 +65,5 @@ export declare const MoveBlocksMutationSchema: z.ZodObject<z.objectUtil.extendSh
63
65
  version?: number | undefined;
64
66
  };
65
67
  sessionRef?: string | undefined;
68
+ persistedAt?: string | null | undefined;
66
69
  }>;
@@ -8,6 +8,7 @@ export declare const TestTransactionalEditsMutationSchema: z.ZodObject<z.objectU
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"testTransactionalEdits">;
@@ -51,6 +52,7 @@ export declare const TestTransactionalEditsMutationSchema: z.ZodObject<z.objectU
51
52
  version: number;
52
53
  };
53
54
  sessionRef?: string | undefined;
55
+ persistedAt?: string | null | undefined;
54
56
  }, {
55
57
  ref: `Mutation/${string}`;
56
58
  timestamp: string;
@@ -68,4 +70,5 @@ export declare const TestTransactionalEditsMutationSchema: z.ZodObject<z.objectU
68
70
  version?: number | undefined;
69
71
  };
70
72
  sessionRef?: string | undefined;
73
+ persistedAt?: string | null | undefined;
71
74
  }>;
@@ -8,6 +8,7 @@ export declare const UpdateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"updateBlockParagraph">;
@@ -47,6 +48,7 @@ export declare const UpdateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
47
48
  version: number;
48
49
  };
49
50
  sessionRef?: string | undefined;
51
+ persistedAt?: string | null | undefined;
50
52
  }, {
51
53
  ref: `Mutation/${string}`;
52
54
  timestamp: string;
@@ -63,4 +65,5 @@ export declare const UpdateBlockParagraphMutationSchema: z.ZodObject<z.objectUti
63
65
  version?: number | undefined;
64
66
  };
65
67
  sessionRef?: string | undefined;
68
+ persistedAt?: string | null | undefined;
66
69
  }>;
@@ -8,6 +8,7 @@ export declare const UpdatePostDescriptionMutationSchema: z.ZodObject<z.objectUt
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"updatePostDescription">;
@@ -47,6 +48,7 @@ export declare const UpdatePostDescriptionMutationSchema: z.ZodObject<z.objectUt
47
48
  version: number;
48
49
  };
49
50
  sessionRef?: string | undefined;
51
+ persistedAt?: string | null | undefined;
50
52
  }, {
51
53
  ref: `Mutation/${string}`;
52
54
  timestamp: string;
@@ -63,4 +65,5 @@ export declare const UpdatePostDescriptionMutationSchema: z.ZodObject<z.objectUt
63
65
  version?: number | undefined;
64
66
  };
65
67
  sessionRef?: string | undefined;
68
+ persistedAt?: string | null | undefined;
66
69
  }>;
@@ -8,6 +8,7 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"updatePost">;
@@ -55,6 +56,7 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
55
56
  version: number;
56
57
  };
57
58
  sessionRef?: string | undefined;
59
+ persistedAt?: string | null | undefined;
58
60
  }, {
59
61
  ref: `Mutation/${string}`;
60
62
  timestamp: string;
@@ -73,4 +75,5 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
73
75
  version?: number | undefined;
74
76
  };
75
77
  sessionRef?: string | undefined;
78
+ persistedAt?: string | null | undefined;
76
79
  }>;
@@ -8,6 +8,7 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
8
8
  debounceCount: z.ZodNumber;
9
9
  identityRef: z.ZodString;
10
10
  sessionRef: z.ZodOptional<z.ZodString>;
11
+ persistedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  }, {
12
13
  operation: z.ZodObject<{
13
14
  name: z.ZodLiteral<"updatePostTitle">;
@@ -47,6 +48,7 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
47
48
  version: number;
48
49
  };
49
50
  sessionRef?: string | undefined;
51
+ persistedAt?: string | null | undefined;
50
52
  }, {
51
53
  ref: `Mutation/${string}`;
52
54
  timestamp: string;
@@ -63,4 +65,5 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
63
65
  version?: number | undefined;
64
66
  };
65
67
  sessionRef?: string | undefined;
68
+ persistedAt?: string | null | undefined;
66
69
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roc-db/test-utils",
3
- "version": "0.2.0-pre.40",
3
+ "version": "0.2.0-pre.41",
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.40",
20
+ "roc-db": "0.2.0-pre.41",
21
21
  "zod": "3.24.2"
22
22
  },
23
23
  "keywords": [],