rategame-shared 1.0.22 → 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.
@@ -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
- team: import("zod").ZodOptional<import("zod").ZodString>;
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
- team?: string | undefined;
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
- team?: string | undefined;
191
+ teamId?: string | undefined;
192
192
  round?: number | undefined;
193
193
  sortBy?: "date" | "ranking" | undefined;
194
194
  limit?: number | undefined;
@@ -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
- team: (0, zod_1.string)().optional(),
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(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
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",