rategame-shared 1.1.535 → 1.1.536

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.
@@ -4597,6 +4597,10 @@ export declare const pollPredictionHomeResponseSchema: z.ZodObject<{
4597
4597
  scoredAt?: number | undefined;
4598
4598
  chalkDelta?: number | undefined;
4599
4599
  }>>;
4600
+ weeklyBallotCount: z.ZodOptional<z.ZodNumber>;
4601
+ seasonParticipantCount: z.ZodOptional<z.ZodNumber>;
4602
+ seasonRank: z.ZodOptional<z.ZodNumber>;
4603
+ reminderSet: z.ZodBoolean;
4600
4604
  }, "strip", z.ZodTypeAny, {
4601
4605
  round: {
4602
4606
  id: string;
@@ -4714,6 +4718,10 @@ export declare const pollPredictionHomeResponseSchema: z.ZodObject<{
4714
4718
  scoredAt?: number | undefined;
4715
4719
  chalkDelta?: number | undefined;
4716
4720
  } | null;
4721
+ reminderSet: boolean;
4722
+ weeklyBallotCount?: number | undefined;
4723
+ seasonParticipantCount?: number | undefined;
4724
+ seasonRank?: number | undefined;
4717
4725
  }, {
4718
4726
  round: {
4719
4727
  id: string;
@@ -4831,6 +4839,10 @@ export declare const pollPredictionHomeResponseSchema: z.ZodObject<{
4831
4839
  scoredAt?: number | undefined;
4832
4840
  chalkDelta?: number | undefined;
4833
4841
  } | null;
4842
+ reminderSet: boolean;
4843
+ weeklyBallotCount?: number | undefined;
4844
+ seasonParticipantCount?: number | undefined;
4845
+ seasonRank?: number | undefined;
4834
4846
  }>;
4835
4847
  export declare const pollPredictionLeaderboardEntrySchema: z.ZodObject<Pick<{
4836
4848
  id: z.ZodString;
@@ -144,6 +144,14 @@ exports.pollPredictionHomeResponseSchema = zod_1.z.object({
144
144
  round: exports.pollPredictionRoundSchema,
145
145
  // Current user's actual saved ballot, or null if they have not submitted this week.
146
146
  ballot: exports.pollPredictionBallotSchema.nullable(),
147
+ // Count of this week's submitted ballots; excludes skipped-week leaderboard entries.
148
+ weeklyBallotCount: zod_1.z.number().int().min(0).optional(),
149
+ // Unique users who have submitted at least one ballot in this season.
150
+ seasonParticipantCount: zod_1.z.number().int().min(0).optional(),
151
+ // Current user's materialized season position; absent until they are ranked.
152
+ seasonRank: zod_1.z.number().int().min(1).optional(),
153
+ // One-shot reminder subscribed for this league's next round opening.
154
+ reminderSet: zod_1.z.boolean(),
147
155
  });
148
156
  exports.pollPredictionLeaderboardEntrySchema = exports.pollPredictionBallotSchema
149
157
  .pick({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.535",
3
+ "version": "1.1.536",
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",