rategame-shared 1.1.211 → 1.1.212
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/list.d.ts +21 -24
- package/dist/schemas/list.js +7 -8
- package/package.json +1 -1
package/dist/schemas/list.d.ts
CHANGED
|
@@ -4277,30 +4277,27 @@ 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
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
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"]>>;
|
|
4288
4287
|
}, "strip", z.ZodTypeAny, {
|
|
4289
|
-
type
|
|
4290
|
-
offset
|
|
4291
|
-
q
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
showPrivate: boolean;
|
|
4288
|
+
type?: "rating" | "game" | undefined;
|
|
4289
|
+
offset?: string | undefined;
|
|
4290
|
+
q?: string | undefined;
|
|
4291
|
+
limit?: string | undefined;
|
|
4292
|
+
sortBy?: string | undefined;
|
|
4293
|
+
userId?: string | undefined;
|
|
4294
|
+
showPrivate?: boolean | undefined;
|
|
4297
4295
|
}, {
|
|
4298
|
-
type
|
|
4299
|
-
offset
|
|
4300
|
-
q
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
showPrivate: boolean;
|
|
4296
|
+
type?: "rating" | "game" | undefined;
|
|
4297
|
+
offset?: string | undefined;
|
|
4298
|
+
q?: string | undefined;
|
|
4299
|
+
limit?: string | undefined;
|
|
4300
|
+
sortBy?: string | undefined;
|
|
4301
|
+
userId?: string | undefined;
|
|
4302
|
+
showPrivate?: boolean | undefined;
|
|
4306
4303
|
}>;
|
package/dist/schemas/list.js
CHANGED
|
@@ -42,12 +42,11 @@ 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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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(),
|
|
53
52
|
});
|