rategame-shared 1.1.463 → 1.1.465

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.
@@ -1252,7 +1252,7 @@ export declare const chatMessageSchema: z.ZodObject<{
1252
1252
  badge?: string | undefined;
1253
1253
  }>;
1254
1254
  lastPlay: z.ZodOptional<z.ZodBoolean>;
1255
- type: z.ZodUnion<[z.ZodLiteral<"game">, z.ZodLiteral<"profile">, z.ZodLiteral<"list">, z.ZodLiteral<"gif">, z.ZodLiteral<"rating">, z.ZodLiteral<"trivia">, z.ZodLiteral<"article">, z.ZodLiteral<"experience">, z.ZodLiteral<"text">]>;
1255
+ type: z.ZodUnion<[z.ZodLiteral<"game">, z.ZodLiteral<"profile">, z.ZodLiteral<"list">, z.ZodLiteral<"gif">, z.ZodLiteral<"rating">, z.ZodLiteral<"trivia">, z.ZodLiteral<"article">, z.ZodLiteral<"experience">, z.ZodLiteral<"stadium">, z.ZodLiteral<"text">]>;
1256
1256
  itemId: z.ZodOptional<z.ZodString>;
1257
1257
  gifUrl: z.ZodOptional<z.ZodString>;
1258
1258
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2507,7 +2507,7 @@ export declare const chatMessageSchema: z.ZodObject<{
2507
2507
  } & {
2508
2508
  replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
2509
2509
  }, "strip", z.ZodTypeAny, {
2510
- type: "article" | "text" | "rating" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
2510
+ type: "article" | "text" | "rating" | "stadium" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
2511
2511
  id: string;
2512
2512
  content: string;
2513
2513
  user: {
@@ -2536,7 +2536,7 @@ export declare const chatMessageSchema: z.ZodObject<{
2536
2536
  replyToDeleted?: boolean | undefined;
2537
2537
  replyToMessage?: any;
2538
2538
  }, {
2539
- type: "article" | "text" | "rating" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
2539
+ type: "article" | "text" | "rating" | "stadium" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
2540
2540
  id: string;
2541
2541
  content: string;
2542
2542
  user: {
@@ -3816,7 +3816,7 @@ export declare const communityChatMessageSchema: z.ZodObject<{
3816
3816
  avatarUrl?: string | null | undefined;
3817
3817
  badge?: string | undefined;
3818
3818
  }>;
3819
- type: z.ZodUnion<[z.ZodLiteral<"game">, z.ZodLiteral<"profile">, z.ZodLiteral<"list">, z.ZodLiteral<"gif">, z.ZodLiteral<"rating">, z.ZodLiteral<"trivia">, z.ZodLiteral<"article">, z.ZodLiteral<"experience">, z.ZodLiteral<"text">]>;
3819
+ type: z.ZodUnion<[z.ZodLiteral<"game">, z.ZodLiteral<"profile">, z.ZodLiteral<"list">, z.ZodLiteral<"gif">, z.ZodLiteral<"rating">, z.ZodLiteral<"trivia">, z.ZodLiteral<"article">, z.ZodLiteral<"experience">, z.ZodLiteral<"stadium">, z.ZodLiteral<"text">]>;
3820
3820
  itemId: z.ZodOptional<z.ZodString>;
3821
3821
  gifUrl: z.ZodOptional<z.ZodString>;
3822
3822
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5071,7 +5071,7 @@ export declare const communityChatMessageSchema: z.ZodObject<{
5071
5071
  } & {
5072
5072
  replyToMessage: z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>;
5073
5073
  }, "strip", z.ZodTypeAny, {
5074
- type: "article" | "text" | "rating" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
5074
+ type: "article" | "text" | "rating" | "stadium" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
5075
5075
  id: string;
5076
5076
  user: {
5077
5077
  id: string;
@@ -5098,7 +5098,7 @@ export declare const communityChatMessageSchema: z.ZodObject<{
5098
5098
  replyToDeleted?: boolean | undefined;
5099
5099
  replyToMessage?: any;
5100
5100
  }, {
5101
- type: "article" | "text" | "rating" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
5101
+ type: "article" | "text" | "rating" | "stadium" | "profile" | "game" | "list" | "gif" | "trivia" | "experience";
5102
5102
  id: string;
5103
5103
  user: {
5104
5104
  id: string;
@@ -22,6 +22,7 @@ const baseChatMessageSchema = zod_1.z.object({
22
22
  zod_1.z.literal("trivia"),
23
23
  zod_1.z.literal("article"),
24
24
  zod_1.z.literal("experience"),
25
+ zod_1.z.literal("stadium"),
25
26
  zod_1.z.literal("text"),
26
27
  ]),
27
28
  itemId: zod_1.z.string().optional(),
@@ -48,6 +49,7 @@ const baseCommunityChatMessageSchema = zod_1.z.object({
48
49
  zod_1.z.literal("trivia"),
49
50
  zod_1.z.literal("article"),
50
51
  zod_1.z.literal("experience"),
52
+ zod_1.z.literal("stadium"),
51
53
  zod_1.z.literal("text"),
52
54
  ]),
53
55
  itemId: zod_1.z.string().optional(),
@@ -14,6 +14,7 @@ export declare const teamSchema: z.ZodObject<{
14
14
  venueName: z.ZodOptional<z.ZodString>;
15
15
  primaryColor: z.ZodOptional<z.ZodString>;
16
16
  countryId: z.ZodOptional<z.ZodString>;
17
+ specialEvent: z.ZodOptional<z.ZodBoolean>;
17
18
  aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
19
  } & {
19
20
  seed: z.ZodNumber;
@@ -39,6 +40,7 @@ export declare const teamSchema: z.ZodObject<{
39
40
  regularSeasonImage?: Record<string, string> | undefined;
40
41
  playoffImage?: Record<string, string> | undefined;
41
42
  countryId?: string | undefined;
43
+ specialEvent?: boolean | undefined;
42
44
  conference?: string | undefined;
43
45
  }, {
44
46
  name: string;
@@ -59,6 +61,7 @@ export declare const teamSchema: z.ZodObject<{
59
61
  regularSeasonImage?: Record<string, string> | undefined;
60
62
  playoffImage?: Record<string, string> | undefined;
61
63
  countryId?: string | undefined;
64
+ specialEvent?: boolean | undefined;
62
65
  conference?: string | undefined;
63
66
  }>;
64
67
  export declare const divisionSchema: z.ZodUnion<[z.ZodLiteral<"east">, z.ZodLiteral<"central">, z.ZodLiteral<"west">]>;
@@ -78,6 +81,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
78
81
  venueName: z.ZodOptional<z.ZodString>;
79
82
  primaryColor: z.ZodOptional<z.ZodString>;
80
83
  countryId: z.ZodOptional<z.ZodString>;
84
+ specialEvent: z.ZodOptional<z.ZodBoolean>;
81
85
  aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
82
86
  } & {
83
87
  division: z.ZodUnion<[z.ZodLiteral<"east">, z.ZodLiteral<"central">, z.ZodLiteral<"west">]>;
@@ -102,6 +106,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
102
106
  regularSeasonImage?: Record<string, string> | undefined;
103
107
  playoffImage?: Record<string, string> | undefined;
104
108
  countryId?: string | undefined;
109
+ specialEvent?: boolean | undefined;
105
110
  }, {
106
111
  name: string;
107
112
  image: string;
@@ -121,6 +126,7 @@ export declare const mlbTeamSchema: z.ZodObject<{
121
126
  regularSeasonImage?: Record<string, string> | undefined;
122
127
  playoffImage?: Record<string, string> | undefined;
123
128
  countryId?: string | undefined;
129
+ specialEvent?: boolean | undefined;
124
130
  }>;
125
131
  export declare const footballTeamSchema: z.ZodObject<{
126
132
  id: z.ZodOptional<z.ZodString>;
@@ -136,6 +142,7 @@ export declare const footballTeamSchema: z.ZodObject<{
136
142
  playoffImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
137
143
  primaryColor: z.ZodOptional<z.ZodString>;
138
144
  countryId: z.ZodOptional<z.ZodString>;
145
+ specialEvent: z.ZodOptional<z.ZodBoolean>;
139
146
  aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
140
147
  } & {
141
148
  teamCode: z.ZodOptional<z.ZodString>;
@@ -157,6 +164,7 @@ export declare const footballTeamSchema: z.ZodObject<{
157
164
  regularSeasonImage?: Record<string, string> | undefined;
158
165
  playoffImage?: Record<string, string> | undefined;
159
166
  countryId?: string | undefined;
167
+ specialEvent?: boolean | undefined;
160
168
  }, {
161
169
  name: string;
162
170
  image: string;
@@ -174,6 +182,7 @@ export declare const footballTeamSchema: z.ZodObject<{
174
182
  regularSeasonImage?: Record<string, string> | undefined;
175
183
  playoffImage?: Record<string, string> | undefined;
176
184
  countryId?: string | undefined;
185
+ specialEvent?: boolean | undefined;
177
186
  }>;
178
187
  export declare const nflTeamSchema: z.ZodObject<{
179
188
  id: z.ZodOptional<z.ZodString>;
@@ -190,6 +199,7 @@ export declare const nflTeamSchema: z.ZodObject<{
190
199
  venueName: z.ZodOptional<z.ZodString>;
191
200
  primaryColor: z.ZodOptional<z.ZodString>;
192
201
  countryId: z.ZodOptional<z.ZodString>;
202
+ specialEvent: z.ZodOptional<z.ZodBoolean>;
193
203
  aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
194
204
  } & {
195
205
  conference: z.ZodOptional<z.ZodString>;
@@ -213,6 +223,7 @@ export declare const nflTeamSchema: z.ZodObject<{
213
223
  regularSeasonImage?: Record<string, string> | undefined;
214
224
  playoffImage?: Record<string, string> | undefined;
215
225
  countryId?: string | undefined;
226
+ specialEvent?: boolean | undefined;
216
227
  conference?: string | undefined;
217
228
  }, {
218
229
  name: string;
@@ -232,6 +243,7 @@ export declare const nflTeamSchema: z.ZodObject<{
232
243
  regularSeasonImage?: Record<string, string> | undefined;
233
244
  playoffImage?: Record<string, string> | undefined;
234
245
  countryId?: string | undefined;
246
+ specialEvent?: boolean | undefined;
235
247
  conference?: string | undefined;
236
248
  }>;
237
249
  export declare const cfbTeamSchema: z.ZodObject<{
@@ -249,6 +261,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
249
261
  venueName: z.ZodOptional<z.ZodString>;
250
262
  primaryColor: z.ZodOptional<z.ZodString>;
251
263
  countryId: z.ZodOptional<z.ZodString>;
264
+ specialEvent: z.ZodOptional<z.ZodBoolean>;
252
265
  aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
253
266
  } & {
254
267
  teamCode: z.ZodOptional<z.ZodString>;
@@ -273,6 +286,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
273
286
  regularSeasonImage?: Record<string, string> | undefined;
274
287
  playoffImage?: Record<string, string> | undefined;
275
288
  countryId?: string | undefined;
289
+ specialEvent?: boolean | undefined;
276
290
  conference?: string | undefined;
277
291
  APRank?: number | undefined;
278
292
  }, {
@@ -293,6 +307,7 @@ export declare const cfbTeamSchema: z.ZodObject<{
293
307
  regularSeasonImage?: Record<string, string> | undefined;
294
308
  playoffImage?: Record<string, string> | undefined;
295
309
  countryId?: string | undefined;
310
+ specialEvent?: boolean | undefined;
296
311
  conference?: string | undefined;
297
312
  APRank?: number | undefined;
298
313
  }>;
@@ -311,6 +326,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
311
326
  venueName: z.ZodOptional<z.ZodString>;
312
327
  primaryColor: z.ZodOptional<z.ZodString>;
313
328
  countryId: z.ZodOptional<z.ZodString>;
329
+ specialEvent: z.ZodOptional<z.ZodBoolean>;
314
330
  aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
315
331
  } & {
316
332
  teamCode: z.ZodOptional<z.ZodString>;
@@ -335,6 +351,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
335
351
  regularSeasonImage?: Record<string, string> | undefined;
336
352
  playoffImage?: Record<string, string> | undefined;
337
353
  countryId?: string | undefined;
354
+ specialEvent?: boolean | undefined;
338
355
  conference?: string | undefined;
339
356
  APRank?: number | undefined;
340
357
  }, {
@@ -355,6 +372,7 @@ export declare const cbbTeamSchema: z.ZodObject<{
355
372
  regularSeasonImage?: Record<string, string> | undefined;
356
373
  playoffImage?: Record<string, string> | undefined;
357
374
  countryId?: string | undefined;
375
+ specialEvent?: boolean | undefined;
358
376
  conference?: string | undefined;
359
377
  APRank?: number | undefined;
360
378
  }>;
@@ -373,6 +391,7 @@ export declare const nhlTeamSchema: z.ZodObject<{
373
391
  venueName: z.ZodOptional<z.ZodString>;
374
392
  primaryColor: z.ZodOptional<z.ZodString>;
375
393
  countryId: z.ZodOptional<z.ZodString>;
394
+ specialEvent: z.ZodOptional<z.ZodBoolean>;
376
395
  aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
377
396
  } & {
378
397
  teamCode: z.ZodOptional<z.ZodString>;
@@ -396,6 +415,7 @@ export declare const nhlTeamSchema: z.ZodObject<{
396
415
  regularSeasonImage?: Record<string, string> | undefined;
397
416
  playoffImage?: Record<string, string> | undefined;
398
417
  countryId?: string | undefined;
418
+ specialEvent?: boolean | undefined;
399
419
  conference?: string | undefined;
400
420
  }, {
401
421
  name: string;
@@ -415,5 +435,6 @@ export declare const nhlTeamSchema: z.ZodObject<{
415
435
  regularSeasonImage?: Record<string, string> | undefined;
416
436
  playoffImage?: Record<string, string> | undefined;
417
437
  countryId?: string | undefined;
438
+ specialEvent?: boolean | undefined;
418
439
  conference?: string | undefined;
419
440
  }>;
@@ -17,6 +17,7 @@ const baseTeamSchema = zod_1.z.object({
17
17
  venueName: zod_1.z.string().optional(),
18
18
  primaryColor: zod_1.z.string().optional(),
19
19
  countryId: zod_1.z.string().optional(),
20
+ specialEvent: zod_1.z.boolean().optional(),
20
21
  aliases: zod_1.z.array(zod_1.z.string()).optional(),
21
22
  });
22
23
  exports.teamSchema = baseTeamSchema.extend({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.463",
3
+ "version": "1.1.465",
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",