rategame-shared 1.0.25 → 1.0.26
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
|
@@ -177,7 +177,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
177
177
|
teamId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
178
178
|
round: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
179
179
|
createdAt: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"12h">, import("zod").ZodLiteral<"daily">, import("zod").ZodLiteral<"weekly">]>>;
|
|
180
|
-
sortBy: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"ranking">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">]>>;
|
|
180
|
+
sortBy: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"ranking:asc">, import("zod").ZodLiteral<"ranking:desc">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">]>>;
|
|
181
181
|
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
182
182
|
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
183
183
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -185,7 +185,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
185
185
|
teamId?: string | undefined;
|
|
186
186
|
round?: number | undefined;
|
|
187
187
|
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
188
|
-
sortBy?: "ranking" | "createdAt:asc" | "createdAt:desc" | undefined;
|
|
188
|
+
sortBy?: "ranking:asc" | "ranking:desc" | "createdAt:asc" | "createdAt:desc" | undefined;
|
|
189
189
|
limit?: number | undefined;
|
|
190
190
|
offset?: number | undefined;
|
|
191
191
|
}, {
|
|
@@ -193,7 +193,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
193
193
|
teamId?: string | undefined;
|
|
194
194
|
round?: number | undefined;
|
|
195
195
|
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
196
|
-
sortBy?: "ranking" | "createdAt:asc" | "createdAt:desc" | undefined;
|
|
196
|
+
sortBy?: "ranking:asc" | "ranking:desc" | "createdAt:asc" | "createdAt:desc" | undefined;
|
|
197
197
|
limit?: number | undefined;
|
|
198
198
|
offset?: number | undefined;
|
|
199
199
|
}>;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -29,7 +29,8 @@ exports.searchRatingSchema = (0, zod_1.object)({
|
|
|
29
29
|
(0, zod_1.literal)("weekly"),
|
|
30
30
|
]).optional(),
|
|
31
31
|
sortBy: (0, zod_1.union)([
|
|
32
|
-
(0, zod_1.literal)("ranking"),
|
|
32
|
+
(0, zod_1.literal)("ranking:asc"),
|
|
33
|
+
(0, zod_1.literal)("ranking:desc"),
|
|
33
34
|
(0, zod_1.literal)("createdAt:asc"),
|
|
34
35
|
(0, zod_1.literal)("createdAt:desc"),
|
|
35
36
|
]).optional(),
|