@zyacreatives/shared 2.0.55 → 2.0.56
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.d.ts +1 -1
- package/dist/schemas/post.js +1 -1
- package/package.json +1 -1
- package/src/schemas/post.ts +1 -1
package/dist/schemas/post.d.ts
CHANGED
|
@@ -413,7 +413,7 @@ export declare const GetFeedOutputSchema: z.ZodObject<{
|
|
|
413
413
|
}, z.core.$strip>;
|
|
414
414
|
export declare const SearchPostInputSchema: z.ZodObject<{
|
|
415
415
|
string: z.ZodString;
|
|
416
|
-
limit: z.ZodDefault<z.
|
|
416
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
417
417
|
cursor: z.ZodOptional<z.ZodString>;
|
|
418
418
|
}, z.core.$strip>;
|
|
419
419
|
export declare const SearchPostOutputSchema: z.ZodObject<{
|
package/dist/schemas/post.js
CHANGED
|
@@ -193,7 +193,7 @@ exports.SearchPostInputSchema = zod_openapi_1.z.object({
|
|
|
193
193
|
.string()
|
|
194
194
|
.min(1, { message: "Search string cannot be empty" })
|
|
195
195
|
.max(200, { message: "Search string cannot exceed 200 characters" }),
|
|
196
|
-
limit: zod_openapi_1.z
|
|
196
|
+
limit: zod_openapi_1.z.coerce
|
|
197
197
|
.number()
|
|
198
198
|
.int({ message: "Limit must be an integer" })
|
|
199
199
|
.min(1, { message: "Limit must be at least 1" })
|
package/package.json
CHANGED
package/src/schemas/post.ts
CHANGED
|
@@ -219,7 +219,7 @@ export const SearchPostInputSchema = z.object({
|
|
|
219
219
|
.string()
|
|
220
220
|
.min(1, { message: "Search string cannot be empty" })
|
|
221
221
|
.max(200, { message: "Search string cannot exceed 200 characters" }),
|
|
222
|
-
limit: z
|
|
222
|
+
limit: z.coerce
|
|
223
223
|
.number()
|
|
224
224
|
.int({ message: "Limit must be an integer" })
|
|
225
225
|
.min(1, { message: "Limit must be at least 1" })
|