@zyacreatives/shared 2.4.2 → 2.4.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/post.js +1 -1
- package/package.json +1 -1
- package/src/schemas/post.ts +1 -1
package/dist/schemas/post.js
CHANGED
|
@@ -109,7 +109,7 @@ exports.CreatePostInputSchema = zod_openapi_1.z.object({
|
|
|
109
109
|
.openapi({ example: "POST" }),
|
|
110
110
|
content: zod_openapi_1.z
|
|
111
111
|
.string()
|
|
112
|
-
.max(
|
|
112
|
+
.max(2000, { message: "Post content cannot exceed 2000 characters" })
|
|
113
113
|
.optional()
|
|
114
114
|
.openapi({
|
|
115
115
|
description: "Post content",
|
package/package.json
CHANGED
package/src/schemas/post.ts
CHANGED
|
@@ -124,7 +124,7 @@ export const CreatePostInputSchema = z.object({
|
|
|
124
124
|
.openapi({ example: "POST" }),
|
|
125
125
|
content: z
|
|
126
126
|
.string()
|
|
127
|
-
.max(
|
|
127
|
+
.max(2000, { message: "Post content cannot exceed 2000 characters" })
|
|
128
128
|
.optional()
|
|
129
129
|
.openapi({
|
|
130
130
|
description: "Post content",
|