rategame-shared 1.1.325 → 1.1.326
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 +6 -0
- package/dist/schemas/pick.js +3 -1
- package/package.json +1 -1
package/dist/schemas/pick.d.ts
CHANGED
|
@@ -84365,6 +84365,8 @@ export declare const pickDeleteDtoSchema: z.ZodObject<{
|
|
|
84365
84365
|
edited: boolean;
|
|
84366
84366
|
gameId: string;
|
|
84367
84367
|
}>;
|
|
84368
|
+
currentHomeTeamPickCount: z.ZodNumber;
|
|
84369
|
+
currentAwayTeamPickCount: z.ZodNumber;
|
|
84368
84370
|
}, "strip", z.ZodTypeAny, {
|
|
84369
84371
|
pick: {
|
|
84370
84372
|
id: string;
|
|
@@ -85604,6 +85606,8 @@ export declare const pickDeleteDtoSchema: z.ZodObject<{
|
|
|
85604
85606
|
edited: boolean;
|
|
85605
85607
|
gameId: string;
|
|
85606
85608
|
};
|
|
85609
|
+
currentHomeTeamPickCount: number;
|
|
85610
|
+
currentAwayTeamPickCount: number;
|
|
85607
85611
|
}, {
|
|
85608
85612
|
pick: {
|
|
85609
85613
|
id: string;
|
|
@@ -86843,6 +86847,8 @@ export declare const pickDeleteDtoSchema: z.ZodObject<{
|
|
|
86843
86847
|
edited: boolean;
|
|
86844
86848
|
gameId: string;
|
|
86845
86849
|
};
|
|
86850
|
+
currentHomeTeamPickCount: number;
|
|
86851
|
+
currentAwayTeamPickCount: number;
|
|
86846
86852
|
}>;
|
|
86847
86853
|
export declare const pickDeleteResponseDtoSchema: z.ZodObject<{
|
|
86848
86854
|
success: z.ZodBoolean;
|
package/dist/schemas/pick.js
CHANGED
|
@@ -101,9 +101,11 @@ exports.gamePickUsersPaginatedResponseDtoSchema = zod_1.z.object({
|
|
|
101
101
|
nextCursor: zod_1.z.string().nullable(),
|
|
102
102
|
hasMore: zod_1.z.boolean(),
|
|
103
103
|
});
|
|
104
|
-
// Pick delete DTO (contains the existing pick
|
|
104
|
+
// Pick delete DTO (contains the existing pick and current RTDB pick counts)
|
|
105
105
|
exports.pickDeleteDtoSchema = zod_1.z.object({
|
|
106
106
|
pick: exports.pickSchema,
|
|
107
|
+
currentHomeTeamPickCount: zod_1.z.number(),
|
|
108
|
+
currentAwayTeamPickCount: zod_1.z.number(),
|
|
107
109
|
});
|
|
108
110
|
// Pick delete response DTO
|
|
109
111
|
exports.pickDeleteResponseDtoSchema = zod_1.z.object({
|