@zyacreatives/shared 2.1.3 → 2.1.4

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.
@@ -441,8 +441,7 @@ export declare const GetFeedOutputSchema: z.ZodObject<{
441
441
  nextCursor: z.ZodOptional<z.ZodString>;
442
442
  }, z.core.$strip>;
443
443
  export declare const SearchPostInputSchema: z.ZodObject<{
444
- string: z.ZodString;
445
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
444
+ queryString: z.ZodString;
446
445
  cursor: z.ZodOptional<z.ZodString>;
447
446
  }, z.core.$strip>;
448
447
  export declare const SearchPostOutputSchema: z.ZodObject<{
@@ -190,16 +190,10 @@ exports.GetFeedOutputSchema = zod_openapi_1.z.object({
190
190
  nextCursor: zod_openapi_1.z.string().optional(),
191
191
  });
192
192
  exports.SearchPostInputSchema = zod_openapi_1.z.object({
193
- string: zod_openapi_1.z
193
+ queryString: zod_openapi_1.z
194
194
  .string()
195
195
  .min(1, { message: "Search string cannot be empty" })
196
196
  .max(200, { message: "Search string cannot exceed 200 characters" }),
197
- limit: zod_openapi_1.z.coerce
198
- .number()
199
- .int({ message: "Limit must be an integer" })
200
- .min(1, { message: "Limit must be at least 1" })
201
- .max(100, { message: "Limit cannot exceed 100" })
202
- .default(20),
203
197
  cursor: zod_openapi_1.z.string().optional(),
204
198
  });
205
199
  exports.SearchPostOutputSchema = zod_openapi_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -217,16 +217,10 @@ export const GetFeedOutputSchema = z.object({
217
217
  });
218
218
 
219
219
  export const SearchPostInputSchema = z.object({
220
- string: z
220
+ queryString: z
221
221
  .string()
222
222
  .min(1, { message: "Search string cannot be empty" })
223
223
  .max(200, { message: "Search string cannot exceed 200 characters" }),
224
- limit: z.coerce
225
- .number()
226
- .int({ message: "Limit must be an integer" })
227
- .min(1, { message: "Limit must be at least 1" })
228
- .max(100, { message: "Limit cannot exceed 100" })
229
- .default(20),
230
224
  cursor: z.string().optional(),
231
225
  });
232
226