@roc-db/test-utils 0.2.0-pre.51 → 0.2.0-pre.52
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 +298 -171
- package/dist/types/entities/BlockParagraph.d.ts +15 -0
- package/dist/types/entities/BlockRow.d.ts +15 -0
- package/dist/types/entities/Draft.d.ts +15 -0
- package/dist/types/entities/PostEntity.d.ts +30 -0
- package/dist/types/entities/PostVersion.d.ts +18 -0
- package/dist/types/entities/index.d.ts +79 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/operations/index.d.ts +20 -2
- package/dist/types/operations/pagePostsByTag.d.ts +1 -0
- package/dist/types/operations/readPostBySlug.d.ts +1 -0
- package/dist/types/operations/updatePostSlug.d.ts +11 -0
- package/dist/types/operations/updatePostTags.d.ts +11 -0
- package/dist/types/schemas/CreatePostMutationSchema.d.ts +2 -2
- package/dist/types/schemas/CreateUserMutationSchema.d.ts +2 -2
- package/dist/types/schemas/UpdatePostMutationSchema.d.ts +2 -2
- package/dist/types/schemas/UpdatePostTitleMutationSchema.d.ts +2 -2
- package/dist/types/schemas/index.d.ts +0 -565
- package/package.json +2 -2
- package/dist/types/schemas/PostVersionRefSchema.d.ts +0 -1
- package/dist/types/schemas/PostVersionSchema.d.ts +0 -85
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Entity } from "roc-db";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const BlockParagraph: Entity<"BlockParagraph", z.ZodObject<{
|
|
4
|
+
content: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
content?: string | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
content?: string | undefined;
|
|
9
|
+
}>, z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>, z.ZodObject<{
|
|
10
|
+
parent: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodUnion<[z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>]>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
parent: `Post/${string}` | `BlockParagraph/${string}` | `BlockRow/${string}`;
|
|
13
|
+
}, {
|
|
14
|
+
parent: `Post/${string}` | `BlockParagraph/${string}` | `BlockRow/${string}`;
|
|
15
|
+
}>, z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Entity } from "roc-db";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const BlockRow: Entity<"BlockRow", z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>, z.ZodObject<{
|
|
4
|
+
blocks: z.ZodArray<z.ZodUnion<[z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>, "many">;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
blocks: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
|
|
7
|
+
}, {
|
|
8
|
+
blocks: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
|
|
9
|
+
}>, z.ZodObject<{
|
|
10
|
+
parent: z.ZodUnion<[z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>, z.ZodUnion<[z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>, z.ZodType<`BlockRow/${string}`, z.ZodTypeDef, `BlockRow/${string}`>]>]>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
parent: `Post/${string}` | `BlockParagraph/${string}` | `BlockRow/${string}`;
|
|
13
|
+
}, {
|
|
14
|
+
parent: `Post/${string}` | `BlockParagraph/${string}` | `BlockRow/${string}`;
|
|
15
|
+
}>, z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Entity } from "roc-db";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const Draft: Entity<"Draft", z.ZodObject<{
|
|
4
|
+
appliedAt: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
appliedAt?: string | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
appliedAt?: string | undefined;
|
|
9
|
+
}>, z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>, z.ZodObject<{
|
|
10
|
+
post: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
post: `Post/${string}`;
|
|
13
|
+
}, {
|
|
14
|
+
post: `Post/${string}`;
|
|
15
|
+
}>, z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Entity } from "roc-db";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const PostEntity: Entity<"Post", z.ZodObject<{
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
7
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
title: string;
|
|
10
|
+
tags: string[];
|
|
11
|
+
text?: string | undefined;
|
|
12
|
+
slug?: string | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
title: string;
|
|
15
|
+
tags: string[];
|
|
16
|
+
text?: string | undefined;
|
|
17
|
+
slug?: string | undefined;
|
|
18
|
+
}>, z.ZodObject<{
|
|
19
|
+
blocks: z.ZodArray<z.ZodString, "many">;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
blocks: string[];
|
|
22
|
+
}, {
|
|
23
|
+
blocks: string[];
|
|
24
|
+
}>, z.ZodObject<{
|
|
25
|
+
author: z.ZodOptional<z.ZodType<`User/${string}`, z.ZodTypeDef, `User/${string}`>>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
author?: `User/${string}` | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
author?: `User/${string}` | undefined;
|
|
30
|
+
}>, z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Entity } from "roc-db";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const PostVersion: Entity<"PostVersion", z.ZodObject<{
|
|
4
|
+
version: z.ZodNumber;
|
|
5
|
+
snapshot: z.ZodArray<z.ZodAny, "many">;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
version: number;
|
|
8
|
+
snapshot: any[];
|
|
9
|
+
}, {
|
|
10
|
+
version: number;
|
|
11
|
+
snapshot: any[];
|
|
12
|
+
}>, z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>, z.ZodObject<{
|
|
13
|
+
post: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
post: `Post/${string}`;
|
|
16
|
+
}, {
|
|
17
|
+
post: `Post/${string}`;
|
|
18
|
+
}>, z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>>;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export declare const entities: (import("roc-db").Entity<"Draft", import("zod").ZodObject<{
|
|
2
|
+
appliedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4
|
+
appliedAt?: string | undefined;
|
|
5
|
+
}, {
|
|
6
|
+
appliedAt?: string | undefined;
|
|
7
|
+
}>, import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>, import("zod").ZodObject<{
|
|
8
|
+
post: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
|
|
9
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
10
|
+
post: `Post/${string}`;
|
|
11
|
+
}, {
|
|
12
|
+
post: `Post/${string}`;
|
|
13
|
+
}>, import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>> | import("roc-db").Entity<"Post", import("zod").ZodObject<{
|
|
14
|
+
title: import("zod").ZodString;
|
|
15
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
tags: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
17
|
+
slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
19
|
+
title: string;
|
|
20
|
+
tags: string[];
|
|
21
|
+
text?: string | undefined;
|
|
22
|
+
slug?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
title: string;
|
|
25
|
+
tags: string[];
|
|
26
|
+
text?: string | undefined;
|
|
27
|
+
slug?: string | undefined;
|
|
28
|
+
}>, import("zod").ZodObject<{
|
|
29
|
+
blocks: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
30
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
31
|
+
blocks: string[];
|
|
32
|
+
}, {
|
|
33
|
+
blocks: string[];
|
|
34
|
+
}>, import("zod").ZodObject<{
|
|
35
|
+
author: import("zod").ZodOptional<import("zod").ZodType<`User/${string}`, import("zod").ZodTypeDef, `User/${string}`>>;
|
|
36
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
37
|
+
author?: `User/${string}` | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
author?: `User/${string}` | undefined;
|
|
40
|
+
}>, import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>> | import("roc-db").Entity<"BlockParagraph", import("zod").ZodObject<{
|
|
41
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
42
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
43
|
+
content?: string | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
content?: string | undefined;
|
|
46
|
+
}>, import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>, import("zod").ZodObject<{
|
|
47
|
+
parent: import("zod").ZodUnion<[import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>, import("zod").ZodUnion<[import("zod").ZodType<`BlockParagraph/${string}`, import("zod").ZodTypeDef, `BlockParagraph/${string}`>, import("zod").ZodType<`BlockRow/${string}`, import("zod").ZodTypeDef, `BlockRow/${string}`>]>]>;
|
|
48
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
49
|
+
parent: `Post/${string}` | `BlockParagraph/${string}` | `BlockRow/${string}`;
|
|
50
|
+
}, {
|
|
51
|
+
parent: `Post/${string}` | `BlockParagraph/${string}` | `BlockRow/${string}`;
|
|
52
|
+
}>, import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>> | import("roc-db").Entity<"BlockRow", import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>, import("zod").ZodObject<{
|
|
53
|
+
blocks: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodType<`BlockParagraph/${string}`, import("zod").ZodTypeDef, `BlockParagraph/${string}`>, import("zod").ZodType<`BlockRow/${string}`, import("zod").ZodTypeDef, `BlockRow/${string}`>]>, "many">;
|
|
54
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
55
|
+
blocks: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
|
|
56
|
+
}, {
|
|
57
|
+
blocks: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
|
|
58
|
+
}>, import("zod").ZodObject<{
|
|
59
|
+
parent: import("zod").ZodUnion<[import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>, import("zod").ZodUnion<[import("zod").ZodType<`BlockParagraph/${string}`, import("zod").ZodTypeDef, `BlockParagraph/${string}`>, import("zod").ZodType<`BlockRow/${string}`, import("zod").ZodTypeDef, `BlockRow/${string}`>]>]>;
|
|
60
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
61
|
+
parent: `Post/${string}` | `BlockParagraph/${string}` | `BlockRow/${string}`;
|
|
62
|
+
}, {
|
|
63
|
+
parent: `Post/${string}` | `BlockParagraph/${string}` | `BlockRow/${string}`;
|
|
64
|
+
}>, import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>> | import("roc-db").Entity<"PostVersion", import("zod").ZodObject<{
|
|
65
|
+
version: import("zod").ZodNumber;
|
|
66
|
+
snapshot: import("zod").ZodArray<import("zod").ZodAny, "many">;
|
|
67
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
68
|
+
version: number;
|
|
69
|
+
snapshot: any[];
|
|
70
|
+
}, {
|
|
71
|
+
version: number;
|
|
72
|
+
snapshot: any[];
|
|
73
|
+
}>, import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>, import("zod").ZodObject<{
|
|
74
|
+
post: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
|
|
75
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
76
|
+
post: `Post/${string}`;
|
|
77
|
+
}, {
|
|
78
|
+
post: `Post/${string}`;
|
|
79
|
+
}>, import("zod").ZodObject<{}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {}, {}>>)[];
|
package/dist/types/index.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
40
40
|
title: string;
|
|
41
41
|
tags?: string[] | undefined;
|
|
42
42
|
slug?: string | undefined;
|
|
43
|
-
}>>, import("roc-db").WriteOperation<"deleteBlocks", import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodType<`BlockParagraph/${string}`, import("zod").ZodTypeDef, `BlockParagraph/${string}`>, import("zod").ZodType<`BlockImage/${string}`, import("zod").ZodTypeDef, `BlockImage/${string}`>, import("zod").ZodType<`BlockRow/${string}`, import("zod").ZodTypeDef, `BlockRow/${string}`>]>, "many">>, import("roc-db").WriteOperation<"deleteDraft", import("zod").ZodType<`Draft/${string}`, import("zod").ZodTypeDef, `Draft/${string}`>>, import("roc-db").WriteOperation<"deletePost", import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>>, import("roc-db").WriteOperation<"moveBlocks", import("zod").ZodObject<{
|
|
43
|
+
}>>, import("roc-db").WriteOperation<"deleteBlocks", import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodType<`BlockParagraph/${string}`, import("zod").ZodTypeDef, `BlockParagraph/${string}`>, import("zod").ZodType<`BlockImage/${string}`, import("zod").ZodTypeDef, `BlockImage/${string}`>, import("zod").ZodType<`BlockRow/${string}`, import("zod").ZodTypeDef, `BlockRow/${string}`>]>, "many">>, import("roc-db").WriteOperation<"deleteDraft", import("zod").ZodType<`Draft/${string}`, import("zod").ZodTypeDef, `Draft/${string}`>>, import("roc-db").WriteOperation<"deletePost", import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>>, any, import("roc-db").WriteOperation<"moveBlocks", import("zod").ZodObject<{
|
|
44
44
|
refs: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodType<`BlockParagraph/${string}`, import("zod").ZodTypeDef, `BlockParagraph/${string}`>, import("zod").ZodType<`BlockRow/${string}`, import("zod").ZodTypeDef, `BlockRow/${string}`>]>, "many">;
|
|
45
45
|
targetPosition: import("zod").ZodNumber;
|
|
46
46
|
}, "strict", import("zod").ZodTypeAny, {
|
|
@@ -49,7 +49,7 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
49
49
|
}, {
|
|
50
50
|
refs: (`BlockParagraph/${string}` | `BlockRow/${string}`)[];
|
|
51
51
|
targetPosition: number;
|
|
52
|
-
}>>, any, any, any, import("roc-db").WriteOperation<"testTransactionalEdits", import("zod").ZodObject<{
|
|
52
|
+
}>>, any, any, any, any, import("roc-db").WriteOperation<"testTransactionalEdits", import("zod").ZodObject<{
|
|
53
53
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
54
|
post1ref: import("zod").ZodOptional<import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>>;
|
|
55
55
|
post2ref: import("zod").ZodOptional<import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>>;
|
|
@@ -94,6 +94,24 @@ export declare const operations: readonly [import("roc-db").WriteOperation<"appl
|
|
|
94
94
|
}, {
|
|
95
95
|
ref: `Post/${string}`;
|
|
96
96
|
description: string;
|
|
97
|
+
}>>, import("roc-db").WriteOperation<"updatePostSlug", import("zod").ZodObject<{
|
|
98
|
+
ref: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
|
|
99
|
+
slug: import("zod").ZodString;
|
|
100
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
101
|
+
ref: `Post/${string}`;
|
|
102
|
+
slug: string;
|
|
103
|
+
}, {
|
|
104
|
+
ref: `Post/${string}`;
|
|
105
|
+
slug: string;
|
|
106
|
+
}>>, import("roc-db").WriteOperation<"updatePostTags", import("zod").ZodObject<{
|
|
107
|
+
ref: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
|
|
108
|
+
tags: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
109
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
110
|
+
ref: `Post/${string}`;
|
|
111
|
+
tags: string[];
|
|
112
|
+
}, {
|
|
113
|
+
ref: `Post/${string}`;
|
|
114
|
+
tags: string[];
|
|
97
115
|
}>>, import("roc-db").WriteOperation<"updatePostTitle", import("zod").ZodObject<{
|
|
98
116
|
ref: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
|
|
99
117
|
title: import("zod").ZodString;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pagePostsByTag: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const readPostBySlug: any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const updatePostSlug: import("roc-db").WriteOperation<"updatePostSlug", z.ZodObject<{
|
|
3
|
+
ref: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
4
|
+
slug: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
ref: `Post/${string}`;
|
|
7
|
+
slug: string;
|
|
8
|
+
}, {
|
|
9
|
+
ref: `Post/${string}`;
|
|
10
|
+
slug: string;
|
|
11
|
+
}>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const updatePostTags: import("roc-db").WriteOperation<"updatePostTags", z.ZodObject<{
|
|
3
|
+
ref: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
4
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
ref: `Post/${string}`;
|
|
7
|
+
tags: string[];
|
|
8
|
+
}, {
|
|
9
|
+
ref: `Post/${string}`;
|
|
10
|
+
tags: string[];
|
|
11
|
+
}>>;
|
|
@@ -14,8 +14,8 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
14
14
|
name: z.ZodLiteral<"createPost">;
|
|
15
15
|
version: z.ZodDefault<z.ZodNumber>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
version: number;
|
|
18
17
|
name: "createPost";
|
|
18
|
+
version: number;
|
|
19
19
|
}, {
|
|
20
20
|
name: "createPost";
|
|
21
21
|
version?: number | undefined;
|
|
@@ -48,8 +48,8 @@ export declare const CreatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
48
48
|
debounceCount: number;
|
|
49
49
|
identityRef: string;
|
|
50
50
|
operation: {
|
|
51
|
-
version: number;
|
|
52
51
|
name: "createPost";
|
|
52
|
+
version: number;
|
|
53
53
|
};
|
|
54
54
|
sessionRef?: string | null | undefined;
|
|
55
55
|
persistedAt?: string | null | undefined;
|
|
@@ -14,8 +14,8 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
14
14
|
name: z.ZodLiteral<"createUser">;
|
|
15
15
|
version: z.ZodDefault<z.ZodNumber>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
version: number;
|
|
18
17
|
name: "createUser";
|
|
18
|
+
version: number;
|
|
19
19
|
}, {
|
|
20
20
|
name: "createUser";
|
|
21
21
|
version?: number | undefined;
|
|
@@ -40,8 +40,8 @@ export declare const CreateUserMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
40
40
|
debounceCount: number;
|
|
41
41
|
identityRef: string;
|
|
42
42
|
operation: {
|
|
43
|
-
version: number;
|
|
44
43
|
name: "createUser";
|
|
44
|
+
version: number;
|
|
45
45
|
};
|
|
46
46
|
sessionRef?: string | null | undefined;
|
|
47
47
|
persistedAt?: string | null | undefined;
|
|
@@ -14,8 +14,8 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
14
14
|
name: z.ZodLiteral<"updatePost">;
|
|
15
15
|
version: z.ZodDefault<z.ZodNumber>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
version: number;
|
|
18
17
|
name: "updatePost";
|
|
18
|
+
version: number;
|
|
19
19
|
}, {
|
|
20
20
|
name: "updatePost";
|
|
21
21
|
version?: number | undefined;
|
|
@@ -52,8 +52,8 @@ export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
52
52
|
debounceCount: number;
|
|
53
53
|
identityRef: string;
|
|
54
54
|
operation: {
|
|
55
|
-
version: number;
|
|
56
55
|
name: "updatePost";
|
|
56
|
+
version: number;
|
|
57
57
|
};
|
|
58
58
|
sessionRef?: string | null | undefined;
|
|
59
59
|
persistedAt?: string | null | undefined;
|
|
@@ -14,8 +14,8 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
|
|
|
14
14
|
name: z.ZodLiteral<"updatePostTitle">;
|
|
15
15
|
version: z.ZodDefault<z.ZodNumber>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
version: number;
|
|
18
17
|
name: "updatePostTitle";
|
|
18
|
+
version: number;
|
|
19
19
|
}, {
|
|
20
20
|
name: "updatePostTitle";
|
|
21
21
|
version?: number | undefined;
|
|
@@ -44,8 +44,8 @@ export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.ext
|
|
|
44
44
|
debounceCount: number;
|
|
45
45
|
identityRef: string;
|
|
46
46
|
operation: {
|
|
47
|
-
version: number;
|
|
48
47
|
name: "updatePostTitle";
|
|
48
|
+
version: number;
|
|
49
49
|
};
|
|
50
50
|
sessionRef?: string | null | undefined;
|
|
51
51
|
persistedAt?: string | null | undefined;
|