@zyacreatives/shared 2.0.58 → 2.0.59
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 -2
- package/package.json +1 -1
- package/src/schemas/post.ts +2 -2
package/dist/schemas/post.js
CHANGED
|
@@ -107,8 +107,7 @@ exports.CreatePostInputSchema = zod_openapi_1.z.object({
|
|
|
107
107
|
order: zod_openapi_1.z
|
|
108
108
|
.number()
|
|
109
109
|
.int({ message: "File order must be an integer" })
|
|
110
|
-
.
|
|
111
|
-
.max(20, { message: "File order cannot exceed 20" })
|
|
110
|
+
.max(10, { message: "File order cannot exceed 10" })
|
|
112
111
|
.default(1),
|
|
113
112
|
}))
|
|
114
113
|
.max(10, { message: "Cannot attach more than 10 files" })
|
package/package.json
CHANGED
package/src/schemas/post.ts
CHANGED
|
@@ -121,8 +121,8 @@ export const CreatePostInputSchema = z.object({
|
|
|
121
121
|
order: z
|
|
122
122
|
.number()
|
|
123
123
|
.int({ message: "File order must be an integer" })
|
|
124
|
-
|
|
125
|
-
.max(
|
|
124
|
+
|
|
125
|
+
.max(10, { message: "File order cannot exceed 10" })
|
|
126
126
|
.default(1),
|
|
127
127
|
})
|
|
128
128
|
)
|