@zyacreatives/shared 1.8.1 → 1.8.3
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/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/post.d.ts +0 -1
- package/dist/schemas/post.js +0 -3
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
- package/src/schemas/index.ts +1 -0
- package/src/schemas/post.ts +0 -3
- package/src/types/index.ts +1 -0
package/dist/schemas/index.d.ts
CHANGED
package/dist/schemas/index.js
CHANGED
package/dist/schemas/post.d.ts
CHANGED
|
@@ -56,7 +56,6 @@ export declare const PostWithFilesEntitySchema: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
export declare const CreatePostInputSchema: z.ZodObject<{
|
|
58
58
|
parentId: z.ZodOptional<z.ZodCUID2>;
|
|
59
|
-
userId: z.ZodCUID2;
|
|
60
59
|
content: z.ZodString;
|
|
61
60
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
61
|
postType: z.ZodDefault<z.ZodEnum<{
|
package/dist/schemas/post.js
CHANGED
|
@@ -64,9 +64,6 @@ exports.CreatePostInputSchema = zod_openapi_1.z.object({
|
|
|
64
64
|
.cuid2()
|
|
65
65
|
.optional()
|
|
66
66
|
.openapi({ description: "Parent id", example: "ckl1a2b3c0000abc" }),
|
|
67
|
-
userId: zod_openapi_1.z
|
|
68
|
-
.cuid2()
|
|
69
|
-
.openapi({ description: "User id", example: "ckl1a2b3c0000def" }),
|
|
70
67
|
content: zod_openapi_1.z.string().openapi({
|
|
71
68
|
description: "Post content",
|
|
72
69
|
example: "New project announcement",
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -23,4 +23,5 @@ __exportStar(require("./investor"), exports);
|
|
|
23
23
|
__exportStar(require("./project"), exports);
|
|
24
24
|
__exportStar(require("./user"), exports);
|
|
25
25
|
__exportStar(require("./username"), exports);
|
|
26
|
+
__exportStar(require("./entity-stats"), exports);
|
|
26
27
|
__exportStar(require("./post"), exports);
|
package/package.json
CHANGED
package/src/schemas/index.ts
CHANGED
package/src/schemas/post.ts
CHANGED
|
@@ -67,9 +67,6 @@ export const CreatePostInputSchema = z.object({
|
|
|
67
67
|
.cuid2()
|
|
68
68
|
.optional()
|
|
69
69
|
.openapi({ description: "Parent id", example: "ckl1a2b3c0000abc" }),
|
|
70
|
-
userId: z
|
|
71
|
-
.cuid2()
|
|
72
|
-
.openapi({ description: "User id", example: "ckl1a2b3c0000def" }),
|
|
73
70
|
content: z.string().openapi({
|
|
74
71
|
description: "Post content",
|
|
75
72
|
example: "New project announcement",
|