rategame-shared 1.1.208 → 1.1.210
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.
|
@@ -257,6 +257,8 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
257
257
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
258
258
|
fanCategory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"winningTeam">, z.ZodLiteral<"losingTeam">, z.ZodLiteral<"neutral">, z.ZodLiteral<"homeTeam">, z.ZodLiteral<"awayTeam">]>>;
|
|
259
259
|
listCount: z.ZodOptional<z.ZodNumber>;
|
|
260
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
edited: z.ZodOptional<z.ZodBoolean>;
|
|
260
262
|
}, "strip", z.ZodTypeAny, {
|
|
261
263
|
id: string;
|
|
262
264
|
user: {
|
|
@@ -314,12 +316,14 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
314
316
|
roundName?: string | undefined;
|
|
315
317
|
};
|
|
316
318
|
weightedRating?: number | undefined;
|
|
319
|
+
updatedAt?: number | undefined;
|
|
317
320
|
comment?: string | undefined;
|
|
318
321
|
listCount?: number | undefined;
|
|
319
322
|
userLikes?: number | undefined;
|
|
320
323
|
isInitialWindowRating?: boolean | undefined;
|
|
321
324
|
weight?: number | undefined;
|
|
322
325
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
326
|
+
edited?: boolean | undefined;
|
|
323
327
|
}, {
|
|
324
328
|
id: string;
|
|
325
329
|
user: {
|
|
@@ -377,12 +381,14 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
377
381
|
roundName?: string | undefined;
|
|
378
382
|
};
|
|
379
383
|
weightedRating?: number | undefined;
|
|
384
|
+
updatedAt?: number | undefined;
|
|
380
385
|
comment?: string | undefined;
|
|
381
386
|
listCount?: number | undefined;
|
|
382
387
|
userLikes?: number | undefined;
|
|
383
388
|
isInitialWindowRating?: boolean | undefined;
|
|
384
389
|
weight?: number | undefined;
|
|
385
390
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
391
|
+
edited?: boolean | undefined;
|
|
386
392
|
}>>;
|
|
387
393
|
}, "strip", z.ZodTypeAny, {
|
|
388
394
|
id: string;
|
|
@@ -457,12 +463,14 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
457
463
|
roundName?: string | undefined;
|
|
458
464
|
};
|
|
459
465
|
weightedRating?: number | undefined;
|
|
466
|
+
updatedAt?: number | undefined;
|
|
460
467
|
comment?: string | undefined;
|
|
461
468
|
listCount?: number | undefined;
|
|
462
469
|
userLikes?: number | undefined;
|
|
463
470
|
isInitialWindowRating?: boolean | undefined;
|
|
464
471
|
weight?: number | undefined;
|
|
465
472
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
473
|
+
edited?: boolean | undefined;
|
|
466
474
|
} | undefined;
|
|
467
475
|
linkText?: string | undefined;
|
|
468
476
|
}, {
|
|
@@ -538,12 +546,14 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
538
546
|
roundName?: string | undefined;
|
|
539
547
|
};
|
|
540
548
|
weightedRating?: number | undefined;
|
|
549
|
+
updatedAt?: number | undefined;
|
|
541
550
|
comment?: string | undefined;
|
|
542
551
|
listCount?: number | undefined;
|
|
543
552
|
userLikes?: number | undefined;
|
|
544
553
|
isInitialWindowRating?: boolean | undefined;
|
|
545
554
|
weight?: number | undefined;
|
|
546
555
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
556
|
+
edited?: boolean | undefined;
|
|
547
557
|
} | undefined;
|
|
548
558
|
linkText?: string | undefined;
|
|
549
559
|
}>;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -227,6 +227,8 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
227
227
|
weight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
228
228
|
fanCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"winningTeam">, import("zod").ZodLiteral<"losingTeam">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"homeTeam">, import("zod").ZodLiteral<"awayTeam">]>>;
|
|
229
229
|
listCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
230
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
231
|
+
edited: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
230
232
|
}, "strip", import("zod").ZodTypeAny, {
|
|
231
233
|
id: string;
|
|
232
234
|
user: {
|
|
@@ -284,12 +286,14 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
284
286
|
roundName?: string | undefined;
|
|
285
287
|
};
|
|
286
288
|
weightedRating?: number | undefined;
|
|
289
|
+
updatedAt?: number | undefined;
|
|
287
290
|
comment?: string | undefined;
|
|
288
291
|
listCount?: number | undefined;
|
|
289
292
|
userLikes?: number | undefined;
|
|
290
293
|
isInitialWindowRating?: boolean | undefined;
|
|
291
294
|
weight?: number | undefined;
|
|
292
295
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
296
|
+
edited?: boolean | undefined;
|
|
293
297
|
}, {
|
|
294
298
|
id: string;
|
|
295
299
|
user: {
|
|
@@ -347,12 +351,14 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
347
351
|
roundName?: string | undefined;
|
|
348
352
|
};
|
|
349
353
|
weightedRating?: number | undefined;
|
|
354
|
+
updatedAt?: number | undefined;
|
|
350
355
|
comment?: string | undefined;
|
|
351
356
|
listCount?: number | undefined;
|
|
352
357
|
userLikes?: number | undefined;
|
|
353
358
|
isInitialWindowRating?: boolean | undefined;
|
|
354
359
|
weight?: number | undefined;
|
|
355
360
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
361
|
+
edited?: boolean | undefined;
|
|
356
362
|
}>;
|
|
357
363
|
export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
358
364
|
q: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -704,6 +710,8 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
704
710
|
weight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
705
711
|
fanCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"winningTeam">, import("zod").ZodLiteral<"losingTeam">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"homeTeam">, import("zod").ZodLiteral<"awayTeam">]>>;
|
|
706
712
|
listCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
713
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
714
|
+
edited: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
707
715
|
}, "id" | "user" | "createdAt">, {
|
|
708
716
|
game: import("zod").ZodObject<Omit<{
|
|
709
717
|
id: import("zod").ZodString;
|
|
@@ -855,12 +863,14 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
855
863
|
};
|
|
856
864
|
id?: string | undefined;
|
|
857
865
|
weightedRating?: number | undefined;
|
|
866
|
+
updatedAt?: number | undefined;
|
|
858
867
|
comment?: string | undefined;
|
|
859
868
|
listCount?: number | undefined;
|
|
860
869
|
userLikes?: number | undefined;
|
|
861
870
|
isInitialWindowRating?: boolean | undefined;
|
|
862
871
|
weight?: number | undefined;
|
|
863
872
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
873
|
+
edited?: boolean | undefined;
|
|
864
874
|
}, {
|
|
865
875
|
rating: number;
|
|
866
876
|
game: {
|
|
@@ -877,12 +887,14 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
877
887
|
};
|
|
878
888
|
id?: string | undefined;
|
|
879
889
|
weightedRating?: number | undefined;
|
|
890
|
+
updatedAt?: number | undefined;
|
|
880
891
|
comment?: string | undefined;
|
|
881
892
|
listCount?: number | undefined;
|
|
882
893
|
userLikes?: number | undefined;
|
|
883
894
|
isInitialWindowRating?: boolean | undefined;
|
|
884
895
|
weight?: number | undefined;
|
|
885
896
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
897
|
+
edited?: boolean | undefined;
|
|
886
898
|
}>;
|
|
887
899
|
export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
888
900
|
id: import("zod").ZodString;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -41,6 +41,8 @@ exports.ratingSchema = (0, zod_1.object)({
|
|
|
41
41
|
(0, zod_1.literal)("awayTeam"),
|
|
42
42
|
]).optional(),
|
|
43
43
|
listCount: (0, zod_1.number)().optional(),
|
|
44
|
+
updatedAt: (0, zod_1.number)().optional(),
|
|
45
|
+
edited: (0, zod_1.boolean)().optional(),
|
|
44
46
|
});
|
|
45
47
|
exports.searchRatingSchema = (0, zod_1.object)({
|
|
46
48
|
q: (0, zod_1.string)().optional(),
|