@roc-db/test-utils 0.1.0-pre.3 → 0.2.0-pre.1

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 (45) hide show
  1. package/dist/roc-db-test-utils-0.2.0-pre.1.tgz +0 -0
  2. package/package.json +3 -3
  3. package/dist/roc-db-test-utils-0.1.0-pre.3.tgz +0 -0
  4. package/dist/types/inMemoryAdapter.d.ts +0 -1
  5. package/dist/types/index.d.ts +0 -4
  6. package/dist/types/operations/createBlockImage.d.ts +0 -15
  7. package/dist/types/operations/createBlockParagraph.d.ts +0 -15
  8. package/dist/types/operations/createBlockRow.d.ts +0 -15
  9. package/dist/types/operations/createBlockTitle.d.ts +0 -15
  10. package/dist/types/operations/createDraft.d.ts +0 -15
  11. package/dist/types/operations/createPost.d.ts +0 -19
  12. package/dist/types/operations/deleteBlock.d.ts +0 -11
  13. package/dist/types/operations/deletePost.d.ts +0 -9
  14. package/dist/types/operations/index.d.ts +0 -157
  15. package/dist/types/operations/readEntity.d.ts +0 -1
  16. package/dist/types/operations/readPost.d.ts +0 -1
  17. package/dist/types/operations/updateBlockParagraph.d.ts +0 -15
  18. package/dist/types/operations/updatePost.d.ts +0 -21
  19. package/dist/types/operations/updatePostTitle.d.ts +0 -17
  20. package/dist/types/schemas/BlockImageRefSchema.d.ts +0 -1
  21. package/dist/types/schemas/BlockImageSchema.d.ts +0 -32
  22. package/dist/types/schemas/BlockParagraphRefSchema.d.ts +0 -1
  23. package/dist/types/schemas/BlockParagraphSchema.d.ts +0 -32
  24. package/dist/types/schemas/BlockRowRefSchema.d.ts +0 -1
  25. package/dist/types/schemas/BlockTitleRefSchema.d.ts +0 -1
  26. package/dist/types/schemas/BlockTitleSchema.d.ts +0 -32
  27. package/dist/types/schemas/CreateBlockImageMutationSchema.d.ts +0 -40
  28. package/dist/types/schemas/CreateBlockParagraphMutationSchema.d.ts +0 -40
  29. package/dist/types/schemas/CreateBlockRowMutationSchema.d.ts +0 -40
  30. package/dist/types/schemas/CreateBlockTitleMutationSchema.d.ts +0 -40
  31. package/dist/types/schemas/CreateDraftMutationSchema.d.ts +0 -40
  32. package/dist/types/schemas/CreatePostMutationSchema.d.ts +0 -50
  33. package/dist/types/schemas/CreateUserMutationSchema.d.ts +0 -40
  34. package/dist/types/schemas/DeleteBlockMutationSchema.d.ts +0 -30
  35. package/dist/types/schemas/DeletePostMutationSchema.d.ts +0 -29
  36. package/dist/types/schemas/DraftRefSchema.d.ts +0 -1
  37. package/dist/types/schemas/DraftSchema.d.ts +0 -32
  38. package/dist/types/schemas/PostRefSchema.d.ts +0 -1
  39. package/dist/types/schemas/PostSchema.d.ts +0 -32
  40. package/dist/types/schemas/UpdateBlockParagraphMutationSchema.d.ts +0 -45
  41. package/dist/types/schemas/UpdatePostMutationSchema.d.ts +0 -55
  42. package/dist/types/schemas/UpdatePostTitleMutationSchema.d.ts +0 -45
  43. package/dist/types/schemas/UserRefSchema.d.ts +0 -1
  44. package/dist/types/schemas/index.d.ts +0 -44
  45. package/dist/types/testAdapterImplementation.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roc-db/test-utils",
3
- "version": "0.1.0-pre.3",
3
+ "version": "0.2.0-pre.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.ts",
@@ -21,10 +21,10 @@
21
21
  "@types/sanitize-html": "2.13.0",
22
22
  "bun": "1.2.5",
23
23
  "expect-type": "1.2.0",
24
- "roc-db": "0.1.0-pre.3"
24
+ "roc-db": "0.2.0-pre.1"
25
25
  },
26
26
  "peerDependencies": {
27
- "roc-db": "0.1.0-pre.3",
27
+ "roc-db": "0.2.0-pre.1",
28
28
  "zod": "3.24.2"
29
29
  },
30
30
  "keywords": [],
@@ -1 +0,0 @@
1
- export declare const inMemoryAdapter: any;
@@ -1,4 +0,0 @@
1
- export * from "./schemas";
2
- export * from "./operations";
3
- export { testAdapterImplementation } from "./testAdapterImplementation";
4
- export { inMemoryAdapter } from "./inMemoryAdapter";
@@ -1,15 +0,0 @@
1
- export declare const createBlockImage: import("roc-db").WriteOperation<"createBlockImage", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: {
6
- postRef: `Post/${string}`;
7
- };
8
- log: [never, string, null][];
9
- debounceCount: number;
10
- name: "createBlockImage";
11
- }, {
12
- postRef: `Post/${string}`;
13
- }, {
14
- [x: string]: any;
15
- }>;
@@ -1,15 +0,0 @@
1
- export declare const createBlockParagrah: import("roc-db").WriteOperation<"createBlockParagraph", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: {
6
- parentRef: `Post/${string}` | `BlockRow/${string}`;
7
- };
8
- log: [never, string, null][];
9
- debounceCount: number;
10
- name: "createBlockParagraph";
11
- }, {
12
- parentRef: `Post/${string}` | `BlockRow/${string}`;
13
- }, {
14
- [x: string]: any;
15
- }>;
@@ -1,15 +0,0 @@
1
- export declare const createBlockRow: import("roc-db").WriteOperation<"createBlockRow", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: {
6
- parentRef: `Post/${string}` | `BlockRow/${string}`;
7
- };
8
- log: [never, string, null][];
9
- debounceCount: number;
10
- name: "createBlockRow";
11
- }, {
12
- parentRef: `Post/${string}` | `BlockRow/${string}`;
13
- }, {
14
- [x: string]: any;
15
- }>;
@@ -1,15 +0,0 @@
1
- export declare const createBlockTitle: import("roc-db").WriteOperation<"createBlockTitle", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: {
6
- parentRef: `Post/${string}` | `BlockRow/${string}`;
7
- };
8
- log: [never, string, null][];
9
- debounceCount: number;
10
- name: "createBlockTitle";
11
- }, {
12
- parentRef: `Post/${string}` | `BlockRow/${string}`;
13
- }, {
14
- [x: string]: any;
15
- }>;
@@ -1,15 +0,0 @@
1
- export declare const createDraft: import("roc-db").WriteOperation<"createDraft", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: {
6
- postRef: `Post/${string}`;
7
- };
8
- log: [never, string, null][];
9
- debounceCount: number;
10
- name: "createDraft";
11
- }, {
12
- postRef: `Post/${string}`;
13
- }, {
14
- [x: string]: any;
15
- }>;
@@ -1,19 +0,0 @@
1
- export declare const createPost: import("roc-db").WriteOperation<"createPost", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: {
6
- title: string;
7
- tags: string[];
8
- slug?: string | undefined;
9
- };
10
- log: [never, string, null][];
11
- debounceCount: number;
12
- name: "createPost";
13
- }, {
14
- title: string;
15
- tags: string[];
16
- slug?: string | undefined;
17
- }, {
18
- [x: string]: any;
19
- }>;
@@ -1,11 +0,0 @@
1
- export declare const deleteBlock: import("roc-db").WriteOperation<"deleteBlock", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
6
- log: [never, string, null][];
7
- debounceCount: number;
8
- name: "deleteBlock";
9
- }, `BlockImage/${string}` | `BlockParagraph/${string}`, {
10
- [x: string]: any;
11
- }>;
@@ -1,9 +0,0 @@
1
- export declare const deletePost: import("roc-db").WriteOperation<"deletePost", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: `Post/${string}`;
6
- log: [never, string, null][];
7
- debounceCount: number;
8
- name: "deletePost";
9
- }, `Post/${string}`, any>;
@@ -1,157 +0,0 @@
1
- export declare const operations: readonly [import("roc-db").WriteOperation<"createBlockImage", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: {
6
- postRef: `Post/${string}`;
7
- };
8
- log: [never, string, null][];
9
- debounceCount: number;
10
- name: "createBlockImage";
11
- }, {
12
- postRef: `Post/${string}`;
13
- }, {
14
- [x: string]: any;
15
- }>, import("roc-db").WriteOperation<"createBlockTitle", {
16
- ref: `Mutation/${string}`;
17
- timestamp: string;
18
- changeSetRef: null;
19
- payload: {
20
- parentRef: `Post/${string}` | `BlockRow/${string}`;
21
- };
22
- log: [never, string, null][];
23
- debounceCount: number;
24
- name: "createBlockTitle";
25
- }, {
26
- parentRef: `Post/${string}` | `BlockRow/${string}`;
27
- }, {
28
- [x: string]: any;
29
- }>, import("roc-db").WriteOperation<"createBlockParagraph", {
30
- ref: `Mutation/${string}`;
31
- timestamp: string;
32
- changeSetRef: null;
33
- payload: {
34
- parentRef: `Post/${string}` | `BlockRow/${string}`;
35
- };
36
- log: [never, string, null][];
37
- debounceCount: number;
38
- name: "createBlockParagraph";
39
- }, {
40
- parentRef: `Post/${string}` | `BlockRow/${string}`;
41
- }, {
42
- [x: string]: any;
43
- }>, import("roc-db").WriteOperation<"createBlockRow", {
44
- ref: `Mutation/${string}`;
45
- timestamp: string;
46
- changeSetRef: null;
47
- payload: {
48
- parentRef: `Post/${string}` | `BlockRow/${string}`;
49
- };
50
- log: [never, string, null][];
51
- debounceCount: number;
52
- name: "createBlockRow";
53
- }, {
54
- parentRef: `Post/${string}` | `BlockRow/${string}`;
55
- }, {
56
- [x: string]: any;
57
- }>, import("roc-db").WriteOperation<"createDraft", {
58
- ref: `Mutation/${string}`;
59
- timestamp: string;
60
- changeSetRef: null;
61
- payload: {
62
- postRef: `Post/${string}`;
63
- };
64
- log: [never, string, null][];
65
- debounceCount: number;
66
- name: "createDraft";
67
- }, {
68
- postRef: `Post/${string}`;
69
- }, {
70
- [x: string]: any;
71
- }>, import("roc-db").WriteOperation<"createPost", {
72
- ref: `Mutation/${string}`;
73
- timestamp: string;
74
- changeSetRef: null;
75
- payload: {
76
- title: string;
77
- tags: string[];
78
- slug?: string | undefined;
79
- };
80
- log: [never, string, null][];
81
- debounceCount: number;
82
- name: "createPost";
83
- }, {
84
- title: string;
85
- tags: string[];
86
- slug?: string | undefined;
87
- }, {
88
- [x: string]: any;
89
- }>, import("roc-db").WriteOperation<"deleteBlock", {
90
- ref: `Mutation/${string}`;
91
- timestamp: string;
92
- changeSetRef: null;
93
- payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
94
- log: [never, string, null][];
95
- debounceCount: number;
96
- name: "deleteBlock";
97
- }, `BlockImage/${string}` | `BlockParagraph/${string}`, {
98
- [x: string]: any;
99
- }>, import("roc-db").WriteOperation<"deletePost", {
100
- ref: `Mutation/${string}`;
101
- timestamp: string;
102
- changeSetRef: null;
103
- payload: `Post/${string}`;
104
- log: [never, string, null][];
105
- debounceCount: number;
106
- name: "deletePost";
107
- }, `Post/${string}`, any>, any, any, import("roc-db").WriteOperation<"updateBlockParagraph", {
108
- ref: `Mutation/${string}`;
109
- timestamp: string;
110
- changeSetRef: null;
111
- payload: {
112
- ref: `BlockParagraph/${string}`;
113
- content: string;
114
- };
115
- log: [never, string, null][];
116
- debounceCount: number;
117
- name: "updateBlockParagraph";
118
- }, {
119
- ref: `BlockParagraph/${string}`;
120
- content: string;
121
- }, `BlockParagraph/${string}`>, import("roc-db").WriteOperation<"updatePost", {
122
- ref: `Mutation/${string}`;
123
- timestamp: string;
124
- changeSetRef: null;
125
- payload: {
126
- ref: `Post/${string}`;
127
- tags: string[];
128
- title?: string | undefined;
129
- authorRef?: `User/${string}` | undefined;
130
- };
131
- log: [never, string, null][];
132
- debounceCount: number;
133
- name: "updatePost";
134
- }, {
135
- ref: `Post/${string}`;
136
- tags: string[];
137
- title?: string | undefined;
138
- authorRef?: `User/${string}` | undefined;
139
- }, {
140
- [x: string]: any;
141
- }>, import("roc-db").WriteOperation<"updatePostTitle", {
142
- ref: `Mutation/${string}`;
143
- timestamp: string;
144
- changeSetRef: null;
145
- payload: {
146
- ref: `Post/${string}`;
147
- title: string;
148
- };
149
- log: [never, string, null][];
150
- debounceCount: number;
151
- name: "updatePostTitle";
152
- }, {
153
- ref: `Post/${string}`;
154
- title: string;
155
- }, {
156
- [x: string]: any;
157
- }>];
@@ -1 +0,0 @@
1
- export declare const readEntity: any;
@@ -1 +0,0 @@
1
- export declare const readPost: any;
@@ -1,15 +0,0 @@
1
- export declare const updateBlockParagraph: import("roc-db").WriteOperation<"updateBlockParagraph", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: {
6
- ref: `BlockParagraph/${string}`;
7
- content: string;
8
- };
9
- log: [never, string, null][];
10
- debounceCount: number;
11
- name: "updateBlockParagraph";
12
- }, {
13
- ref: `BlockParagraph/${string}`;
14
- content: string;
15
- }, `BlockParagraph/${string}`>;
@@ -1,21 +0,0 @@
1
- export declare const updatePost: import("roc-db").WriteOperation<"updatePost", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: {
6
- ref: `Post/${string}`;
7
- tags: string[];
8
- title?: string | undefined;
9
- authorRef?: `User/${string}` | undefined;
10
- };
11
- log: [never, string, null][];
12
- debounceCount: number;
13
- name: "updatePost";
14
- }, {
15
- ref: `Post/${string}`;
16
- tags: string[];
17
- title?: string | undefined;
18
- authorRef?: `User/${string}` | undefined;
19
- }, {
20
- [x: string]: any;
21
- }>;
@@ -1,17 +0,0 @@
1
- export declare const updatePostTitle: import("roc-db").WriteOperation<"updatePostTitle", {
2
- ref: `Mutation/${string}`;
3
- timestamp: string;
4
- changeSetRef: null;
5
- payload: {
6
- ref: `Post/${string}`;
7
- title: string;
8
- };
9
- log: [never, string, null][];
10
- debounceCount: number;
11
- name: "updatePostTitle";
12
- }, {
13
- ref: `Post/${string}`;
14
- title: string;
15
- }, {
16
- [x: string]: any;
17
- }>;
@@ -1 +0,0 @@
1
- export declare const BlockImageRefSchema: import("zod").ZodType<`BlockImage/${string}`, import("zod").ZodTypeDef, `BlockImage/${string}`>;
@@ -1,32 +0,0 @@
1
- import { z } from "zod";
2
- export declare const BlockImageSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<never, z.ZodTypeDef, never>;
4
- entity: z.ZodString;
5
- created: z.ZodObject<{
6
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
7
- timestamp: z.ZodString;
8
- }, "strict", z.ZodTypeAny, {
9
- mutationRef: `Mutation/${string}`;
10
- timestamp: string;
11
- }, {
12
- mutationRef: `Mutation/${string}`;
13
- timestamp: string;
14
- }>;
15
- updated: z.ZodObject<{
16
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
17
- timestamp: z.ZodString;
18
- }, "strict", z.ZodTypeAny, {
19
- mutationRef: `Mutation/${string}`;
20
- timestamp: string;
21
- }, {
22
- mutationRef: `Mutation/${string}`;
23
- timestamp: string;
24
- }>;
25
- data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- parents: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
27
- ancestors: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
28
- }, z.ZodRawShape>, "strict", z.ZodTypeAny, {
29
- [x: string]: any;
30
- }, {
31
- [x: string]: any;
32
- }>;
@@ -1 +0,0 @@
1
- export declare const BlockParagraphRefSchema: import("zod").ZodType<`BlockParagraph/${string}`, import("zod").ZodTypeDef, `BlockParagraph/${string}`>;
@@ -1,32 +0,0 @@
1
- import { z } from "zod";
2
- export declare const BlockParagraphSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<never, z.ZodTypeDef, never>;
4
- entity: z.ZodString;
5
- created: z.ZodObject<{
6
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
7
- timestamp: z.ZodString;
8
- }, "strict", z.ZodTypeAny, {
9
- mutationRef: `Mutation/${string}`;
10
- timestamp: string;
11
- }, {
12
- mutationRef: `Mutation/${string}`;
13
- timestamp: string;
14
- }>;
15
- updated: z.ZodObject<{
16
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
17
- timestamp: z.ZodString;
18
- }, "strict", z.ZodTypeAny, {
19
- mutationRef: `Mutation/${string}`;
20
- timestamp: string;
21
- }, {
22
- mutationRef: `Mutation/${string}`;
23
- timestamp: string;
24
- }>;
25
- data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- parents: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
27
- ancestors: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
28
- }, z.ZodRawShape>, "strict", z.ZodTypeAny, {
29
- [x: string]: any;
30
- }, {
31
- [x: string]: any;
32
- }>;
@@ -1 +0,0 @@
1
- export declare const BlockRowRefSchema: import("zod").ZodType<`BlockRow/${string}`, import("zod").ZodTypeDef, `BlockRow/${string}`>;
@@ -1 +0,0 @@
1
- export declare const BlockTitleRefSchema: import("zod").ZodType<`BlockTitle/${string}`, import("zod").ZodTypeDef, `BlockTitle/${string}`>;
@@ -1,32 +0,0 @@
1
- import { z } from "zod";
2
- export declare const BlockTitleSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<never, z.ZodTypeDef, never>;
4
- entity: z.ZodString;
5
- created: z.ZodObject<{
6
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
7
- timestamp: z.ZodString;
8
- }, "strict", z.ZodTypeAny, {
9
- mutationRef: `Mutation/${string}`;
10
- timestamp: string;
11
- }, {
12
- mutationRef: `Mutation/${string}`;
13
- timestamp: string;
14
- }>;
15
- updated: z.ZodObject<{
16
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
17
- timestamp: z.ZodString;
18
- }, "strict", z.ZodTypeAny, {
19
- mutationRef: `Mutation/${string}`;
20
- timestamp: string;
21
- }, {
22
- mutationRef: `Mutation/${string}`;
23
- timestamp: string;
24
- }>;
25
- data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- parents: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
27
- ancestors: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
28
- }, z.ZodRawShape>, "strict", z.ZodTypeAny, {
29
- [x: string]: any;
30
- }, {
31
- [x: string]: any;
32
- }>;
@@ -1,40 +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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"createBlockImage">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodObject<{
13
- postRef: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
14
- }, "strict", z.ZodTypeAny, {
15
- postRef: `Post/${string}`;
16
- }, {
17
- postRef: `Post/${string}`;
18
- }>;
19
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
20
- }>, "strict", z.ZodTypeAny, {
21
- ref: `Mutation/${string}`;
22
- timestamp: string;
23
- changeSetRef: null;
24
- payload: {
25
- postRef: `Post/${string}`;
26
- };
27
- log: [never, string, null][];
28
- debounceCount: number;
29
- name: "createBlockImage";
30
- }, {
31
- ref: `Mutation/${string}`;
32
- timestamp: string;
33
- changeSetRef: null;
34
- payload: {
35
- postRef: `Post/${string}`;
36
- };
37
- log: [never, string, null][];
38
- debounceCount: number;
39
- name: "createBlockImage";
40
- }>;
@@ -1,40 +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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"createBlockParagraph">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodObject<{
13
- parentRef: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>;
14
- }, "strict", z.ZodTypeAny, {
15
- parentRef: `Post/${string}` | `BlockRow/${string}`;
16
- }, {
17
- parentRef: `Post/${string}` | `BlockRow/${string}`;
18
- }>;
19
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
20
- }>, "strict", z.ZodTypeAny, {
21
- ref: `Mutation/${string}`;
22
- timestamp: string;
23
- changeSetRef: null;
24
- payload: {
25
- parentRef: `Post/${string}` | `BlockRow/${string}`;
26
- };
27
- log: [never, string, null][];
28
- debounceCount: number;
29
- name: "createBlockParagraph";
30
- }, {
31
- ref: `Mutation/${string}`;
32
- timestamp: string;
33
- changeSetRef: null;
34
- payload: {
35
- parentRef: `Post/${string}` | `BlockRow/${string}`;
36
- };
37
- log: [never, string, null][];
38
- debounceCount: number;
39
- name: "createBlockParagraph";
40
- }>;
@@ -1,40 +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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"createBlockRow">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodObject<{
13
- parentRef: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>;
14
- }, "strict", z.ZodTypeAny, {
15
- parentRef: `Post/${string}` | `BlockRow/${string}`;
16
- }, {
17
- parentRef: `Post/${string}` | `BlockRow/${string}`;
18
- }>;
19
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
20
- }>, "strict", z.ZodTypeAny, {
21
- ref: `Mutation/${string}`;
22
- timestamp: string;
23
- changeSetRef: null;
24
- payload: {
25
- parentRef: `Post/${string}` | `BlockRow/${string}`;
26
- };
27
- log: [never, string, null][];
28
- debounceCount: number;
29
- name: "createBlockRow";
30
- }, {
31
- ref: `Mutation/${string}`;
32
- timestamp: string;
33
- changeSetRef: null;
34
- payload: {
35
- parentRef: `Post/${string}` | `BlockRow/${string}`;
36
- };
37
- log: [never, string, null][];
38
- debounceCount: number;
39
- name: "createBlockRow";
40
- }>;
@@ -1,40 +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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"createBlockTitle">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodObject<{
13
- parentRef: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>;
14
- }, "strict", z.ZodTypeAny, {
15
- parentRef: `Post/${string}` | `BlockRow/${string}`;
16
- }, {
17
- parentRef: `Post/${string}` | `BlockRow/${string}`;
18
- }>;
19
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
20
- }>, "strict", z.ZodTypeAny, {
21
- ref: `Mutation/${string}`;
22
- timestamp: string;
23
- changeSetRef: null;
24
- payload: {
25
- parentRef: `Post/${string}` | `BlockRow/${string}`;
26
- };
27
- log: [never, string, null][];
28
- debounceCount: number;
29
- name: "createBlockTitle";
30
- }, {
31
- ref: `Mutation/${string}`;
32
- timestamp: string;
33
- changeSetRef: null;
34
- payload: {
35
- parentRef: `Post/${string}` | `BlockRow/${string}`;
36
- };
37
- log: [never, string, null][];
38
- debounceCount: number;
39
- name: "createBlockTitle";
40
- }>;
@@ -1,40 +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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"createDraft">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodObject<{
13
- postRef: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
14
- }, "strict", z.ZodTypeAny, {
15
- postRef: `Post/${string}`;
16
- }, {
17
- postRef: `Post/${string}`;
18
- }>;
19
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
20
- }>, "strict", z.ZodTypeAny, {
21
- ref: `Mutation/${string}`;
22
- timestamp: string;
23
- changeSetRef: null;
24
- payload: {
25
- postRef: `Post/${string}`;
26
- };
27
- log: [never, string, null][];
28
- debounceCount: number;
29
- name: "createDraft";
30
- }, {
31
- ref: `Mutation/${string}`;
32
- timestamp: string;
33
- changeSetRef: null;
34
- payload: {
35
- postRef: `Post/${string}`;
36
- };
37
- log: [never, string, null][];
38
- debounceCount: number;
39
- name: "createDraft";
40
- }>;
@@ -1,50 +0,0 @@
1
- import { z } from "zod";
2
- export declare const CreatePostMutationSchema: 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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"createPost">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodObject<{
13
- title: z.ZodString;
14
- slug: z.ZodOptional<z.ZodString>;
15
- tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
16
- }, "strict", z.ZodTypeAny, {
17
- title: string;
18
- tags: string[];
19
- slug?: string | undefined;
20
- }, {
21
- title: string;
22
- tags?: string[] | undefined;
23
- slug?: string | undefined;
24
- }>;
25
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
26
- }>, "strict", z.ZodTypeAny, {
27
- ref: `Mutation/${string}`;
28
- timestamp: string;
29
- changeSetRef: null;
30
- payload: {
31
- title: string;
32
- tags: string[];
33
- slug?: string | undefined;
34
- };
35
- log: [never, string, null][];
36
- debounceCount: number;
37
- name: "createPost";
38
- }, {
39
- ref: `Mutation/${string}`;
40
- timestamp: string;
41
- changeSetRef: null;
42
- payload: {
43
- title: string;
44
- tags?: string[] | undefined;
45
- slug?: string | undefined;
46
- };
47
- log: [never, string, null][];
48
- debounceCount: number;
49
- name: "createPost";
50
- }>;
@@ -1,40 +0,0 @@
1
- import { z } from "zod";
2
- export declare const CreateUserMutationSchema: 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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"createUser">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodObject<{
13
- email: z.ZodString;
14
- }, "strip", z.ZodTypeAny, {
15
- email: string;
16
- }, {
17
- email: string;
18
- }>;
19
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
20
- }>, "strict", z.ZodTypeAny, {
21
- ref: `Mutation/${string}`;
22
- timestamp: string;
23
- changeSetRef: null;
24
- payload: {
25
- email: string;
26
- };
27
- log: [never, string, null][];
28
- debounceCount: number;
29
- name: "createUser";
30
- }, {
31
- ref: `Mutation/${string}`;
32
- timestamp: string;
33
- changeSetRef: null;
34
- payload: {
35
- email: string;
36
- };
37
- log: [never, string, null][];
38
- debounceCount: number;
39
- name: "createUser";
40
- }>;
@@ -1,30 +0,0 @@
1
- import { z } from "zod";
2
- export declare const DeleteBlockMutationSchema: 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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"deleteBlock">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodUnion<[z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>, z.ZodType<`BlockImage/${string}`, z.ZodTypeDef, `BlockImage/${string}`>]>;
13
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
14
- }>, "strict", z.ZodTypeAny, {
15
- ref: `Mutation/${string}`;
16
- timestamp: string;
17
- changeSetRef: null;
18
- payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
19
- log: [never, string, null][];
20
- debounceCount: number;
21
- name: "deleteBlock";
22
- }, {
23
- ref: `Mutation/${string}`;
24
- timestamp: string;
25
- changeSetRef: null;
26
- payload: `BlockImage/${string}` | `BlockParagraph/${string}`;
27
- log: [never, string, null][];
28
- debounceCount: number;
29
- name: "deleteBlock";
30
- }>;
@@ -1,29 +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").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
- debounceCount: import("zod").ZodNumber;
8
- }, {
9
- name: import("zod").ZodLiteral<"deletePost">;
10
- changeSetRef: import("zod").ZodType<never, import("zod").ZodTypeDef, never> | import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
11
- payload: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
12
- log: import("zod").ZodType<[never, string, null][], import("zod").ZodTypeDef, [never, string, null][]>;
13
- }>, "strict", import("zod").ZodTypeAny, {
14
- ref: `Mutation/${string}`;
15
- timestamp: string;
16
- changeSetRef: null;
17
- payload: `Post/${string}`;
18
- log: [never, string, null][];
19
- debounceCount: number;
20
- name: "deletePost";
21
- }, {
22
- ref: `Mutation/${string}`;
23
- timestamp: string;
24
- changeSetRef: null;
25
- payload: `Post/${string}`;
26
- log: [never, string, null][];
27
- debounceCount: number;
28
- name: "deletePost";
29
- }>;
@@ -1 +0,0 @@
1
- export declare const DraftRefSchema: import("zod").ZodType<`Draft/${string}`, import("zod").ZodTypeDef, `Draft/${string}`>;
@@ -1,32 +0,0 @@
1
- import { z } from "zod";
2
- export declare const DraftSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<never, z.ZodTypeDef, never>;
4
- entity: z.ZodString;
5
- created: z.ZodObject<{
6
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
7
- timestamp: z.ZodString;
8
- }, "strict", z.ZodTypeAny, {
9
- mutationRef: `Mutation/${string}`;
10
- timestamp: string;
11
- }, {
12
- mutationRef: `Mutation/${string}`;
13
- timestamp: string;
14
- }>;
15
- updated: z.ZodObject<{
16
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
17
- timestamp: z.ZodString;
18
- }, "strict", z.ZodTypeAny, {
19
- mutationRef: `Mutation/${string}`;
20
- timestamp: string;
21
- }, {
22
- mutationRef: `Mutation/${string}`;
23
- timestamp: string;
24
- }>;
25
- data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- parents: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
27
- ancestors: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
28
- }, z.ZodRawShape>, "strict", z.ZodTypeAny, {
29
- [x: string]: any;
30
- }, {
31
- [x: string]: any;
32
- }>;
@@ -1 +0,0 @@
1
- export declare const PostRefSchema: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
@@ -1,32 +0,0 @@
1
- import { z } from "zod";
2
- export declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- ref: z.ZodType<never, z.ZodTypeDef, never>;
4
- entity: z.ZodString;
5
- created: z.ZodObject<{
6
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
7
- timestamp: z.ZodString;
8
- }, "strict", z.ZodTypeAny, {
9
- mutationRef: `Mutation/${string}`;
10
- timestamp: string;
11
- }, {
12
- mutationRef: `Mutation/${string}`;
13
- timestamp: string;
14
- }>;
15
- updated: z.ZodObject<{
16
- mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
17
- timestamp: z.ZodString;
18
- }, "strict", z.ZodTypeAny, {
19
- mutationRef: `Mutation/${string}`;
20
- timestamp: string;
21
- }, {
22
- mutationRef: `Mutation/${string}`;
23
- timestamp: string;
24
- }>;
25
- data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- parents: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
27
- ancestors: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
28
- }, z.ZodRawShape>, "strict", z.ZodTypeAny, {
29
- [x: string]: any;
30
- }, {
31
- [x: string]: any;
32
- }>;
@@ -1,45 +0,0 @@
1
- import { z } from "zod";
2
- export declare const UpdateBlockParagraphMutationSchema: 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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"updateBlockParagraph">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodObject<{
13
- ref: z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>;
14
- content: z.ZodString;
15
- }, "strip", z.ZodTypeAny, {
16
- ref: `BlockParagraph/${string}`;
17
- content: string;
18
- }, {
19
- ref: `BlockParagraph/${string}`;
20
- content: string;
21
- }>;
22
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
23
- }>, "strict", z.ZodTypeAny, {
24
- ref: `Mutation/${string}`;
25
- timestamp: string;
26
- changeSetRef: null;
27
- payload: {
28
- ref: `BlockParagraph/${string}`;
29
- content: string;
30
- };
31
- log: [never, string, null][];
32
- debounceCount: number;
33
- name: "updateBlockParagraph";
34
- }, {
35
- ref: `Mutation/${string}`;
36
- timestamp: string;
37
- changeSetRef: null;
38
- payload: {
39
- ref: `BlockParagraph/${string}`;
40
- content: string;
41
- };
42
- log: [never, string, null][];
43
- debounceCount: number;
44
- name: "updateBlockParagraph";
45
- }>;
@@ -1,55 +0,0 @@
1
- import { z } from "zod";
2
- export declare const UpdatePostMutationSchema: 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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"updatePost">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodObject<{
13
- ref: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
14
- title: z.ZodOptional<z.ZodString>;
15
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
16
- authorRef: z.ZodOptional<z.ZodOptional<z.ZodType<`User/${string}`, z.ZodTypeDef, `User/${string}`>>>;
17
- }, "strip", z.ZodTypeAny, {
18
- ref: `Post/${string}`;
19
- tags: string[];
20
- title?: string | undefined;
21
- authorRef?: `User/${string}` | undefined;
22
- }, {
23
- ref: `Post/${string}`;
24
- title?: string | undefined;
25
- tags?: string[] | undefined;
26
- authorRef?: `User/${string}` | undefined;
27
- }>;
28
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
29
- }>, "strict", z.ZodTypeAny, {
30
- ref: `Mutation/${string}`;
31
- timestamp: string;
32
- changeSetRef: null;
33
- payload: {
34
- ref: `Post/${string}`;
35
- tags: string[];
36
- title?: string | undefined;
37
- authorRef?: `User/${string}` | undefined;
38
- };
39
- log: [never, string, null][];
40
- debounceCount: number;
41
- name: "updatePost";
42
- }, {
43
- ref: `Mutation/${string}`;
44
- timestamp: string;
45
- changeSetRef: null;
46
- payload: {
47
- ref: `Post/${string}`;
48
- title?: string | undefined;
49
- tags?: string[] | undefined;
50
- authorRef?: `User/${string}` | undefined;
51
- };
52
- log: [never, string, null][];
53
- debounceCount: number;
54
- name: "updatePost";
55
- }>;
@@ -1,45 +0,0 @@
1
- import { z } from "zod";
2
- export declare const UpdatePostTitleMutationSchema: 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.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
8
- debounceCount: z.ZodNumber;
9
- }, {
10
- name: z.ZodLiteral<"updatePostTitle">;
11
- changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
12
- payload: z.ZodObject<{
13
- ref: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
14
- title: z.ZodString;
15
- }, "strip", z.ZodTypeAny, {
16
- ref: `Post/${string}`;
17
- title: string;
18
- }, {
19
- ref: `Post/${string}`;
20
- title: string;
21
- }>;
22
- log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
23
- }>, "strict", z.ZodTypeAny, {
24
- ref: `Mutation/${string}`;
25
- timestamp: string;
26
- changeSetRef: null;
27
- payload: {
28
- ref: `Post/${string}`;
29
- title: string;
30
- };
31
- log: [never, string, null][];
32
- debounceCount: number;
33
- name: "updatePostTitle";
34
- }, {
35
- ref: `Mutation/${string}`;
36
- timestamp: string;
37
- changeSetRef: null;
38
- payload: {
39
- ref: `Post/${string}`;
40
- title: string;
41
- };
42
- log: [never, string, null][];
43
- debounceCount: number;
44
- name: "updatePostTitle";
45
- }>;
@@ -1 +0,0 @@
1
- export declare const UserRefSchema: import("zod").ZodType<`User/${string}`, import("zod").ZodTypeDef, `User/${string}`>;
@@ -1,44 +0,0 @@
1
- import { BlockImageSchema } from "./BlockImageSchema";
2
- import { BlockParagraphSchema } from "./BlockParagraphSchema";
3
- import { BlockTitleSchema } from "./BlockTitleSchema";
4
- import { DraftSchema } from "./DraftSchema";
5
- import { PostSchema } from "./PostSchema";
6
- export { BlockImageSchema, BlockParagraphSchema, BlockTitleSchema, DraftSchema, PostSchema, };
7
- export declare const entities: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
8
- ref: import("zod").ZodType<never, import("zod").ZodTypeDef, never>;
9
- entity: import("zod").ZodString;
10
- created: import("zod").ZodObject<{
11
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
12
- timestamp: import("zod").ZodString;
13
- }, "strict", import("zod").ZodTypeAny, {
14
- mutationRef: `Mutation/${string}`;
15
- timestamp: string;
16
- }, {
17
- mutationRef: `Mutation/${string}`;
18
- timestamp: string;
19
- }>;
20
- updated: import("zod").ZodObject<{
21
- mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
22
- timestamp: import("zod").ZodString;
23
- }, "strict", import("zod").ZodTypeAny, {
24
- mutationRef: `Mutation/${string}`;
25
- timestamp: string;
26
- }, {
27
- mutationRef: `Mutation/${string}`;
28
- timestamp: string;
29
- }>;
30
- data: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
31
- parents: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
32
- ancestors: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
33
- }, import("zod").ZodRawShape>, "strict", import("zod").ZodTypeAny, {
34
- [x: string]: any;
35
- }, {
36
- [x: string]: any;
37
- }>[];
38
- export { DraftRefSchema } from "./DraftRefSchema";
39
- export { PostRefSchema } from "./PostRefSchema";
40
- export { UserRefSchema } from "./UserRefSchema";
41
- export { CreatePostMutationSchema } from "./CreatePostMutationSchema";
42
- export { CreateUserMutationSchema } from "./CreateUserMutationSchema";
43
- export { UpdatePostMutationSchema } from "./UpdatePostMutationSchema";
44
- export { UpdatePostTitleMutationSchema } from "./UpdatePostTitleMutationSchema";
@@ -1 +0,0 @@
1
- export declare const testAdapterImplementation: <EngineOptions extends {}>(adapterConstructor: any, engineArgsAdapter1?: EngineOptions, engineArgsAdapter2?: EngineOptions) => () => Promise<void>;