rategame-shared 1.1.64 → 1.1.65

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.
@@ -205,6 +205,7 @@ export declare const internalNotification: z.ZodObject<{
205
205
  userLikes: z.ZodOptional<z.ZodNumber>;
206
206
  isInitialWindowRating: z.ZodOptional<z.ZodBoolean>;
207
207
  weightedRating: z.ZodOptional<z.ZodNumber>;
208
+ weight: z.ZodOptional<z.ZodNumber>;
208
209
  }, "strip", z.ZodTypeAny, {
209
210
  id: string;
210
211
  user: {
@@ -254,6 +255,7 @@ export declare const internalNotification: z.ZodObject<{
254
255
  userLikes?: number | undefined;
255
256
  isInitialWindowRating?: boolean | undefined;
256
257
  weightedRating?: number | undefined;
258
+ weight?: number | undefined;
257
259
  }, {
258
260
  id: string;
259
261
  user: {
@@ -303,6 +305,7 @@ export declare const internalNotification: z.ZodObject<{
303
305
  userLikes?: number | undefined;
304
306
  isInitialWindowRating?: boolean | undefined;
305
307
  weightedRating?: number | undefined;
308
+ weight?: number | undefined;
306
309
  }>>;
307
310
  }, "strip", z.ZodTypeAny, {
308
311
  id: string;
@@ -370,6 +373,7 @@ export declare const internalNotification: z.ZodObject<{
370
373
  userLikes?: number | undefined;
371
374
  isInitialWindowRating?: boolean | undefined;
372
375
  weightedRating?: number | undefined;
376
+ weight?: number | undefined;
373
377
  } | undefined;
374
378
  }, {
375
379
  id: string;
@@ -437,5 +441,6 @@ export declare const internalNotification: z.ZodObject<{
437
441
  userLikes?: number | undefined;
438
442
  isInitialWindowRating?: boolean | undefined;
439
443
  weightedRating?: number | undefined;
444
+ weight?: number | undefined;
440
445
  } | undefined;
441
446
  }>;
@@ -175,6 +175,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
175
175
  userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
176
176
  isInitialWindowRating: import("zod").ZodOptional<import("zod").ZodBoolean>;
177
177
  weightedRating: import("zod").ZodOptional<import("zod").ZodNumber>;
178
+ weight: import("zod").ZodOptional<import("zod").ZodNumber>;
178
179
  }, "strip", import("zod").ZodTypeAny, {
179
180
  id: string;
180
181
  user: {
@@ -224,6 +225,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
224
225
  userLikes?: number | undefined;
225
226
  isInitialWindowRating?: boolean | undefined;
226
227
  weightedRating?: number | undefined;
228
+ weight?: number | undefined;
227
229
  }, {
228
230
  id: string;
229
231
  user: {
@@ -273,6 +275,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
273
275
  userLikes?: number | undefined;
274
276
  isInitialWindowRating?: boolean | undefined;
275
277
  weightedRating?: number | undefined;
278
+ weight?: number | undefined;
276
279
  }>;
277
280
  export declare const searchRatingSchema: import("zod").ZodObject<{
278
281
  q: import("zod").ZodOptional<import("zod").ZodString>;
@@ -398,6 +401,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
398
401
  comment: import("zod").ZodOptional<import("zod").ZodString>;
399
402
  userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
400
403
  isInitialWindowRating: import("zod").ZodOptional<import("zod").ZodBoolean>;
404
+ weight: import("zod").ZodOptional<import("zod").ZodNumber>;
401
405
  game: import("zod").ZodObject<Omit<{
402
406
  id: import("zod").ZodString;
403
407
  round: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -520,6 +524,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
520
524
  comment?: string | undefined;
521
525
  userLikes?: number | undefined;
522
526
  isInitialWindowRating?: boolean | undefined;
527
+ weight?: number | undefined;
523
528
  id?: string | undefined;
524
529
  }, {
525
530
  rating: number;
@@ -538,6 +543,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
538
543
  comment?: string | undefined;
539
544
  userLikes?: number | undefined;
540
545
  isInitialWindowRating?: boolean | undefined;
546
+ weight?: number | undefined;
541
547
  id?: string | undefined;
542
548
  }>;
543
549
  export declare const threadCommentSchema: import("zod").ZodObject<{
@@ -38,6 +38,7 @@ exports.ratingSchema = (0, zod_1.object)({
38
38
  userLikes: (0, zod_1.number)().optional(),
39
39
  isInitialWindowRating: (0, zod_1.boolean)().optional(),
40
40
  weightedRating: (0, zod_1.number)().optional(),
41
+ weight: (0, zod_1.number)().optional(),
41
42
  });
42
43
  exports.searchRatingSchema = (0, zod_1.object)({
43
44
  q: (0, zod_1.string)().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.64",
3
+ "version": "1.1.65",
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",