@kl1/contracts 1.1.36 → 1.1.37

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.
@@ -407,14 +407,17 @@ export declare const userContract: {
407
407
  page: z.ZodOptional<z.ZodNumber>;
408
408
  pageSize: z.ZodOptional<z.ZodNumber>;
409
409
  keyword: z.ZodOptional<z.ZodString>;
410
+ withPresenceStatus: z.ZodOptional<z.ZodEffects<z.ZodString, boolean, string>>;
410
411
  }, "strip", z.ZodTypeAny, {
411
412
  page?: number | undefined;
412
413
  pageSize?: number | undefined;
413
414
  keyword?: string | undefined;
415
+ withPresenceStatus?: boolean | undefined;
414
416
  }, {
415
417
  page?: number | undefined;
416
418
  pageSize?: number | undefined;
417
419
  keyword?: string | undefined;
420
+ withPresenceStatus?: string | undefined;
418
421
  }>>;
419
422
  responses: {
420
423
  200: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/user/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAUpB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC/E,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyHxB,CAAC"}
package/dist/index.js CHANGED
@@ -5906,7 +5906,8 @@ var userContract = (0, import_core26.initContract)().router(
5906
5906
  page: import_zod76.default.coerce.number().optional(),
5907
5907
  pageSize: import_zod76.default.coerce.number().optional(),
5908
5908
  // Don't add default 10. In some places, we need to fetch all users.
5909
- keyword: import_zod76.default.string().optional()
5909
+ keyword: import_zod76.default.string().optional(),
5910
+ withPresenceStatus: import_zod76.default.string().transform((val) => val === "true").optional()
5910
5911
  }).optional(),
5911
5912
  responses: {
5912
5913
  200: WithPagination(UserSchema),