rategame-shared 1.0.44 → 1.0.45
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/rating.d.ts
CHANGED
|
@@ -198,6 +198,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
198
198
|
sortBy: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"rating:asc">, import("zod").ZodLiteral<"rating:desc">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">]>>;
|
|
199
199
|
limit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
200
200
|
offset: import("zod").ZodOptional<import("zod").ZodString>;
|
|
201
|
+
gameId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
201
202
|
}, "strip", import("zod").ZodTypeAny, {
|
|
202
203
|
q?: string | undefined;
|
|
203
204
|
teamId?: string | undefined;
|
|
@@ -206,6 +207,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
206
207
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | undefined;
|
|
207
208
|
limit?: string | undefined;
|
|
208
209
|
offset?: string | undefined;
|
|
210
|
+
gameId?: string | undefined;
|
|
209
211
|
}, {
|
|
210
212
|
q?: string | undefined;
|
|
211
213
|
teamId?: string | undefined;
|
|
@@ -214,6 +216,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
214
216
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | undefined;
|
|
215
217
|
limit?: string | undefined;
|
|
216
218
|
offset?: string | undefined;
|
|
219
|
+
gameId?: string | undefined;
|
|
217
220
|
}>;
|
|
218
221
|
export declare const ratingLikeSchema: import("zod").ZodObject<{
|
|
219
222
|
ratingId: import("zod").ZodString;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -40,6 +40,7 @@ exports.searchRatingSchema = (0, zod_1.object)({
|
|
|
40
40
|
]).optional(),
|
|
41
41
|
limit: (0, zod_1.string)().optional(),
|
|
42
42
|
offset: (0, zod_1.string)().optional(),
|
|
43
|
+
gameId: (0, zod_1.string)().optional(),
|
|
43
44
|
});
|
|
44
45
|
exports.ratingLikeSchema = (0, zod_1.object)({
|
|
45
46
|
ratingId: (0, zod_1.string)(),
|