rategame-shared 1.1.427 → 1.1.428
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/pick.d.ts +0 -8
- package/dist/schemas/pick.js +2 -3
- package/package.json +1 -1
package/dist/schemas/pick.d.ts
CHANGED
|
@@ -68430,7 +68430,6 @@ export declare const gamePickUsersPaginatedResponseDtoSchema: z.ZodObject<{
|
|
|
68430
68430
|
}>;
|
|
68431
68431
|
export declare const pickEmKindSchema: z.ZodUnion<[z.ZodLiteral<"marchMadness">, z.ZodLiteral<"fifa">]>;
|
|
68432
68432
|
export declare const pickEmRoundStatsSchema: z.ZodObject<{
|
|
68433
|
-
roundKey: z.ZodString;
|
|
68434
68433
|
roundName: z.ZodString;
|
|
68435
68434
|
totalGames: z.ZodNumber;
|
|
68436
68435
|
correctPicks: z.ZodNumber;
|
|
@@ -68444,7 +68443,6 @@ export declare const pickEmRoundStatsSchema: z.ZodObject<{
|
|
|
68444
68443
|
correctPicks: number;
|
|
68445
68444
|
incorrectPicks: number;
|
|
68446
68445
|
pendingPicks: number;
|
|
68447
|
-
roundKey: string;
|
|
68448
68446
|
}, {
|
|
68449
68447
|
roundName: string;
|
|
68450
68448
|
totalGames: number;
|
|
@@ -68452,14 +68450,12 @@ export declare const pickEmRoundStatsSchema: z.ZodObject<{
|
|
|
68452
68450
|
correctPicks: number;
|
|
68453
68451
|
incorrectPicks: number;
|
|
68454
68452
|
pendingPicks: number;
|
|
68455
|
-
roundKey: string;
|
|
68456
68453
|
}>;
|
|
68457
68454
|
export declare const pickEmPicksResponseDtoSchema: z.ZodObject<{
|
|
68458
68455
|
totalCorrectPicks: z.ZodNumber;
|
|
68459
68456
|
totalPicks: z.ZodNumber;
|
|
68460
68457
|
totalGames: z.ZodNumber;
|
|
68461
68458
|
rounds: z.ZodArray<z.ZodObject<{
|
|
68462
|
-
roundKey: z.ZodString;
|
|
68463
68459
|
roundName: z.ZodString;
|
|
68464
68460
|
totalGames: z.ZodNumber;
|
|
68465
68461
|
correctPicks: z.ZodNumber;
|
|
@@ -68473,7 +68469,6 @@ export declare const pickEmPicksResponseDtoSchema: z.ZodObject<{
|
|
|
68473
68469
|
correctPicks: number;
|
|
68474
68470
|
incorrectPicks: number;
|
|
68475
68471
|
pendingPicks: number;
|
|
68476
|
-
roundKey: string;
|
|
68477
68472
|
}, {
|
|
68478
68473
|
roundName: string;
|
|
68479
68474
|
totalGames: number;
|
|
@@ -68481,7 +68476,6 @@ export declare const pickEmPicksResponseDtoSchema: z.ZodObject<{
|
|
|
68481
68476
|
correctPicks: number;
|
|
68482
68477
|
incorrectPicks: number;
|
|
68483
68478
|
pendingPicks: number;
|
|
68484
|
-
roundKey: string;
|
|
68485
68479
|
}>, "many">;
|
|
68486
68480
|
userPicks: z.ZodArray<z.ZodObject<{
|
|
68487
68481
|
id: z.ZodString;
|
|
@@ -89105,7 +89099,6 @@ export declare const pickEmPicksResponseDtoSchema: z.ZodObject<{
|
|
|
89105
89099
|
correctPicks: number;
|
|
89106
89100
|
incorrectPicks: number;
|
|
89107
89101
|
pendingPicks: number;
|
|
89108
|
-
roundKey: string;
|
|
89109
89102
|
}[];
|
|
89110
89103
|
userPicks: {
|
|
89111
89104
|
id: string;
|
|
@@ -90437,7 +90430,6 @@ export declare const pickEmPicksResponseDtoSchema: z.ZodObject<{
|
|
|
90437
90430
|
correctPicks: number;
|
|
90438
90431
|
incorrectPicks: number;
|
|
90439
90432
|
pendingPicks: number;
|
|
90440
|
-
roundKey: string;
|
|
90441
90433
|
}[];
|
|
90442
90434
|
userPicks: {
|
|
90443
90435
|
id: string;
|
package/dist/schemas/pick.js
CHANGED
|
@@ -110,11 +110,10 @@ exports.pickEmKindSchema = zod_1.z.union([
|
|
|
110
110
|
zod_1.z.literal("marchMadness"),
|
|
111
111
|
zod_1.z.literal("fifa"),
|
|
112
112
|
]);
|
|
113
|
-
// Per-round pick stats.
|
|
113
|
+
// Per-round pick stats. roundName is a string so the same shape works for any
|
|
114
114
|
// pick'em (March Madness rounds 1..7 are stringified, FIFA uses
|
|
115
|
-
// "
|
|
115
|
+
// "Group A".."Group L", "Round of 32", "Round of 16", "Quarter-finals", "Semi-finals", "3rd Place", "Final").
|
|
116
116
|
exports.pickEmRoundStatsSchema = zod_1.z.object({
|
|
117
|
-
roundKey: zod_1.z.string(),
|
|
118
117
|
roundName: zod_1.z.string(),
|
|
119
118
|
totalGames: zod_1.z.number(),
|
|
120
119
|
correctPicks: zod_1.z.number(),
|