@zyacreatives/shared 2.1.74 → 2.1.75

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.
@@ -793,7 +793,7 @@ export declare const SearchUsersInputSchema: z.ZodObject<{
793
793
  ADMIN: "ADMIN";
794
794
  }>>;
795
795
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
796
- cursor: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
796
+ cursor: z.ZodOptional<z.ZodString>;
797
797
  }, z.core.$strip>;
798
798
  export declare const SearchUsersOutputSchema: z.ZodObject<{
799
799
  users: z.ZodArray<z.ZodObject<{
@@ -168,7 +168,7 @@ exports.SearchUsersInputSchema = zod_openapi_1.z.object({
168
168
  .max(100)
169
169
  .default(20)
170
170
  .openapi({ example: 20 }),
171
- cursor: zod_openapi_1.z.coerce.number().min(0).default(0).openapi({
171
+ cursor: zod_openapi_1.z.string().optional().openapi({
172
172
  example: 0,
173
173
  description: "The offset/cursor for pagination",
174
174
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.74",
3
+ "version": "2.1.75",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -233,7 +233,7 @@ export const SearchUsersInputSchema = z.object({
233
233
  .max(100)
234
234
  .default(20)
235
235
  .openapi({ example: 20 }),
236
- cursor: z.coerce.number().min(0).default(0).openapi({
236
+ cursor: z.string().optional().openapi({
237
237
  example: 0,
238
238
  description: "The offset/cursor for pagination",
239
239
  }),