rategame-shared 1.0.21 → 1.0.23
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/models/rating.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { createRatingSchema, ratingLikeSchema, ratingSchema, searchRatingSchema
|
|
|
3
3
|
export type Rating = z.infer<typeof ratingSchema>;
|
|
4
4
|
export type RatingLike = z.infer<typeof ratingLikeSchema>;
|
|
5
5
|
export type CreateRating = z.infer<typeof createRatingSchema>;
|
|
6
|
-
export type
|
|
6
|
+
export type SearchRating = z.infer<typeof searchRatingSchema>;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -174,21 +174,21 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
174
174
|
}>;
|
|
175
175
|
export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
176
176
|
q: import("zod").ZodOptional<import("zod").ZodString>;
|
|
177
|
-
|
|
177
|
+
teamId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
178
178
|
round: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
179
179
|
sortBy: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"ranking">, import("zod").ZodLiteral<"date">]>>;
|
|
180
180
|
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
181
181
|
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
182
182
|
}, "strip", import("zod").ZodTypeAny, {
|
|
183
183
|
q?: string | undefined;
|
|
184
|
-
|
|
184
|
+
teamId?: string | undefined;
|
|
185
185
|
round?: number | undefined;
|
|
186
186
|
sortBy?: "date" | "ranking" | undefined;
|
|
187
187
|
limit?: number | undefined;
|
|
188
188
|
offset?: number | undefined;
|
|
189
189
|
}, {
|
|
190
190
|
q?: string | undefined;
|
|
191
|
-
|
|
191
|
+
teamId?: string | undefined;
|
|
192
192
|
round?: number | undefined;
|
|
193
193
|
sortBy?: "date" | "ranking" | undefined;
|
|
194
194
|
limit?: number | undefined;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -21,7 +21,7 @@ exports.ratingSchema = (0, zod_1.object)({
|
|
|
21
21
|
});
|
|
22
22
|
exports.searchRatingSchema = (0, zod_1.object)({
|
|
23
23
|
q: (0, zod_1.string)().optional(),
|
|
24
|
-
|
|
24
|
+
teamId: (0, zod_1.string)().optional(),
|
|
25
25
|
round: (0, zod_1.number)().optional(),
|
|
26
26
|
sortBy: (0, zod_1.union)([(0, zod_1.literal)("ranking"), (0, zod_1.literal)("date")]).optional(),
|
|
27
27
|
limit: (0, zod_1.number)().optional(),
|