rategame-shared 1.1.211 → 1.1.213

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.
@@ -4277,30 +4277,30 @@ export declare const listCommentLikeSchema: z.ZodObject<{
4277
4277
  commentParentId?: string | null | undefined;
4278
4278
  }>;
4279
4279
  export declare const searchListSchema: z.ZodObject<{
4280
- q: z.ZodString;
4281
- createdAt: z.ZodString;
4282
- updatedAt: z.ZodString;
4283
- offset: z.ZodString;
4284
- limit: z.ZodString;
4285
- userId: z.ZodString;
4286
- showPrivate: z.ZodBoolean;
4287
- type: z.ZodEnum<["game", "rating"]>;
4280
+ q: z.ZodOptional<z.ZodString>;
4281
+ sortBy: z.ZodOptional<z.ZodString>;
4282
+ offset: z.ZodOptional<z.ZodString>;
4283
+ limit: z.ZodOptional<z.ZodString>;
4284
+ userId: z.ZodOptional<z.ZodString>;
4285
+ showPrivate: z.ZodOptional<z.ZodBoolean>;
4286
+ type: z.ZodOptional<z.ZodEnum<["game", "rating"]>>;
4287
+ profileId: z.ZodOptional<z.ZodString>;
4288
4288
  }, "strip", z.ZodTypeAny, {
4289
- type: "rating" | "game";
4290
- offset: string;
4291
- q: string;
4292
- createdAt: string;
4293
- updatedAt: string;
4294
- limit: string;
4295
- userId: string;
4296
- showPrivate: boolean;
4289
+ type?: "rating" | "game" | undefined;
4290
+ offset?: string | undefined;
4291
+ q?: string | undefined;
4292
+ limit?: string | undefined;
4293
+ sortBy?: string | undefined;
4294
+ userId?: string | undefined;
4295
+ showPrivate?: boolean | undefined;
4296
+ profileId?: string | undefined;
4297
4297
  }, {
4298
- type: "rating" | "game";
4299
- offset: string;
4300
- q: string;
4301
- createdAt: string;
4302
- updatedAt: string;
4303
- limit: string;
4304
- userId: string;
4305
- showPrivate: boolean;
4298
+ type?: "rating" | "game" | undefined;
4299
+ offset?: string | undefined;
4300
+ q?: string | undefined;
4301
+ limit?: string | undefined;
4302
+ sortBy?: string | undefined;
4303
+ userId?: string | undefined;
4304
+ showPrivate?: boolean | undefined;
4305
+ profileId?: string | undefined;
4306
4306
  }>;
@@ -42,12 +42,12 @@ exports.listCommentLikeSchema = zod_1.z.object({
42
42
  commentParentId: zod_1.z.string().nullable().optional(),
43
43
  });
44
44
  exports.searchListSchema = zod_1.z.object({
45
- q: zod_1.z.string(),
46
- createdAt: zod_1.z.string(),
47
- updatedAt: zod_1.z.string(),
48
- offset: zod_1.z.string(),
49
- limit: zod_1.z.string(),
50
- userId: zod_1.z.string(),
51
- showPrivate: zod_1.z.boolean(),
52
- type: zod_1.z.enum(["game", "rating"]),
45
+ q: zod_1.z.string().optional(),
46
+ sortBy: zod_1.z.string().optional(),
47
+ offset: zod_1.z.string().optional(),
48
+ limit: zod_1.z.string().optional(),
49
+ userId: zod_1.z.string().optional(),
50
+ showPrivate: zod_1.z.boolean().optional(),
51
+ type: zod_1.z.enum(["game", "rating"]).optional(),
52
+ profileId: zod_1.z.string().optional(),
53
53
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.211",
3
+ "version": "1.1.213",
4
4
  "description": "This package contains shared resources for the Rate Game project.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",