@sqlrooms/discuss 0.15.0 → 0.16.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.
- package/dist/DiscussSlice.d.ts +15 -15
- package/package.json +8 -8
package/dist/DiscussSlice.d.ts
CHANGED
|
@@ -17,14 +17,14 @@ export declare const CommentBase: z.ZodObject<{
|
|
|
17
17
|
timestamp: Date;
|
|
18
18
|
}>;
|
|
19
19
|
export type CommentBase = z.infer<typeof CommentBase>;
|
|
20
|
-
export declare const Comment: z.ZodObject<
|
|
20
|
+
export declare const Comment: z.ZodObject<{
|
|
21
21
|
id: z.ZodString;
|
|
22
22
|
userId: z.ZodString;
|
|
23
23
|
text: z.ZodString;
|
|
24
24
|
timestamp: z.ZodDate;
|
|
25
|
-
}
|
|
25
|
+
} & {
|
|
26
26
|
parentId: z.ZodOptional<z.ZodString>;
|
|
27
|
-
}
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
id: string;
|
|
29
29
|
userId: string;
|
|
30
30
|
text: string;
|
|
@@ -41,14 +41,14 @@ export type Comment = z.infer<typeof Comment>;
|
|
|
41
41
|
export declare const Discussion: z.ZodObject<{
|
|
42
42
|
id: z.ZodString;
|
|
43
43
|
anchorId: z.ZodOptional<z.ZodString>;
|
|
44
|
-
rootComment: z.ZodObject<
|
|
44
|
+
rootComment: z.ZodObject<{
|
|
45
45
|
id: z.ZodString;
|
|
46
46
|
userId: z.ZodString;
|
|
47
47
|
text: z.ZodString;
|
|
48
48
|
timestamp: z.ZodDate;
|
|
49
|
-
}
|
|
49
|
+
} & {
|
|
50
50
|
parentId: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
id: string;
|
|
53
53
|
userId: string;
|
|
54
54
|
text: string;
|
|
@@ -61,14 +61,14 @@ export declare const Discussion: z.ZodObject<{
|
|
|
61
61
|
timestamp: Date;
|
|
62
62
|
parentId?: string | undefined;
|
|
63
63
|
}>;
|
|
64
|
-
comments: z.ZodArray<z.ZodObject<
|
|
64
|
+
comments: z.ZodArray<z.ZodObject<{
|
|
65
65
|
id: z.ZodString;
|
|
66
66
|
userId: z.ZodString;
|
|
67
67
|
text: z.ZodString;
|
|
68
68
|
timestamp: z.ZodDate;
|
|
69
|
-
}
|
|
69
|
+
} & {
|
|
70
70
|
parentId: z.ZodOptional<z.ZodString>;
|
|
71
|
-
}
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
72
|
id: string;
|
|
73
73
|
userId: string;
|
|
74
74
|
text: string;
|
|
@@ -122,14 +122,14 @@ export declare const DiscussSliceConfig: z.ZodObject<{
|
|
|
122
122
|
discussions: z.ZodArray<z.ZodObject<{
|
|
123
123
|
id: z.ZodString;
|
|
124
124
|
anchorId: z.ZodOptional<z.ZodString>;
|
|
125
|
-
rootComment: z.ZodObject<
|
|
125
|
+
rootComment: z.ZodObject<{
|
|
126
126
|
id: z.ZodString;
|
|
127
127
|
userId: z.ZodString;
|
|
128
128
|
text: z.ZodString;
|
|
129
129
|
timestamp: z.ZodDate;
|
|
130
|
-
}
|
|
130
|
+
} & {
|
|
131
131
|
parentId: z.ZodOptional<z.ZodString>;
|
|
132
|
-
}
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
133
|
id: string;
|
|
134
134
|
userId: string;
|
|
135
135
|
text: string;
|
|
@@ -142,14 +142,14 @@ export declare const DiscussSliceConfig: z.ZodObject<{
|
|
|
142
142
|
timestamp: Date;
|
|
143
143
|
parentId?: string | undefined;
|
|
144
144
|
}>;
|
|
145
|
-
comments: z.ZodArray<z.ZodObject<
|
|
145
|
+
comments: z.ZodArray<z.ZodObject<{
|
|
146
146
|
id: z.ZodString;
|
|
147
147
|
userId: z.ZodString;
|
|
148
148
|
text: z.ZodString;
|
|
149
149
|
timestamp: z.ZodDate;
|
|
150
|
-
}
|
|
150
|
+
} & {
|
|
151
151
|
parentId: z.ZodOptional<z.ZodString>;
|
|
152
|
-
}
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
153
|
id: string;
|
|
154
154
|
userId: string;
|
|
155
155
|
text: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqlrooms/discuss",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@paralleldrive/cuid2": "^2.2.2",
|
|
19
|
-
"@sqlrooms/project-builder": "0.
|
|
20
|
-
"@sqlrooms/ui": "0.
|
|
21
|
-
"@sqlrooms/utils": "0.
|
|
19
|
+
"@sqlrooms/project-builder": "0.16.1",
|
|
20
|
+
"@sqlrooms/ui": "0.16.1",
|
|
21
|
+
"@sqlrooms/utils": "0.16.1",
|
|
22
22
|
"immer": "^10.1.1",
|
|
23
|
-
"zod": "^3.
|
|
23
|
+
"zod": "^3.25.57"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"react": "
|
|
27
|
-
"react-dom": "
|
|
26
|
+
"react": ">=18",
|
|
27
|
+
"react-dom": ">=18"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"dev": "tsc -w",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"lint": "eslint .",
|
|
33
33
|
"typedoc": "typedoc"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "c2015b30f09c327c14008143d5c9752d9ebc3949"
|
|
36
36
|
}
|