rategame-shared 1.1.49 → 1.1.51

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.
@@ -1121,6 +1121,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1121
1121
  scorePeriod2: z.ZodNumber;
1122
1122
  scoreExtraTime: z.ZodNumber;
1123
1123
  scorePenalty: z.ZodNumber;
1124
+ venueName: z.ZodOptional<z.ZodString>;
1124
1125
  }>, "strip", z.ZodTypeAny, {
1125
1126
  name: string;
1126
1127
  image: string;
@@ -1134,6 +1135,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1134
1135
  isWinner?: boolean | undefined;
1135
1136
  seed?: number | undefined;
1136
1137
  teamCode?: string | undefined;
1138
+ venueName?: string | undefined;
1137
1139
  }, {
1138
1140
  name: string;
1139
1141
  image: string;
@@ -1147,6 +1149,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1147
1149
  isWinner?: boolean | undefined;
1148
1150
  seed?: number | undefined;
1149
1151
  teamCode?: string | undefined;
1152
+ venueName?: string | undefined;
1150
1153
  }>;
1151
1154
  awayTeam: z.ZodObject<z.objectUtil.extendShape<{
1152
1155
  id: z.ZodOptional<z.ZodString>;
@@ -1162,6 +1165,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1162
1165
  scorePeriod2: z.ZodNumber;
1163
1166
  scoreExtraTime: z.ZodNumber;
1164
1167
  scorePenalty: z.ZodNumber;
1168
+ venueName: z.ZodOptional<z.ZodString>;
1165
1169
  }>, "strip", z.ZodTypeAny, {
1166
1170
  name: string;
1167
1171
  image: string;
@@ -1175,6 +1179,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1175
1179
  isWinner?: boolean | undefined;
1176
1180
  seed?: number | undefined;
1177
1181
  teamCode?: string | undefined;
1182
+ venueName?: string | undefined;
1178
1183
  }, {
1179
1184
  name: string;
1180
1185
  image: string;
@@ -1188,7 +1193,9 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1188
1193
  isWinner?: boolean | undefined;
1189
1194
  seed?: number | undefined;
1190
1195
  teamCode?: string | undefined;
1196
+ venueName?: string | undefined;
1191
1197
  }>;
1198
+ hadExtraTime: z.ZodBoolean;
1192
1199
  }>, "strip", z.ZodTypeAny, {
1193
1200
  status: "live" | "scheduled" | "final";
1194
1201
  week: number;
@@ -1209,6 +1216,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1209
1216
  isWinner?: boolean | undefined;
1210
1217
  seed?: number | undefined;
1211
1218
  teamCode?: string | undefined;
1219
+ venueName?: string | undefined;
1212
1220
  };
1213
1221
  awayTeam: {
1214
1222
  name: string;
@@ -1223,6 +1231,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1223
1231
  isWinner?: boolean | undefined;
1224
1232
  seed?: number | undefined;
1225
1233
  teamCode?: string | undefined;
1234
+ venueName?: string | undefined;
1226
1235
  };
1227
1236
  period: string;
1228
1237
  clock: string;
@@ -1231,6 +1240,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1231
1240
  venueType: string;
1232
1241
  attendance: number;
1233
1242
  aggregateScore: string;
1243
+ hadExtraTime: boolean;
1234
1244
  id?: string | undefined;
1235
1245
  isClosed?: boolean | undefined;
1236
1246
  ratingWindowClosedAt?: number | undefined;
@@ -1267,6 +1277,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1267
1277
  isWinner?: boolean | undefined;
1268
1278
  seed?: number | undefined;
1269
1279
  teamCode?: string | undefined;
1280
+ venueName?: string | undefined;
1270
1281
  };
1271
1282
  awayTeam: {
1272
1283
  name: string;
@@ -1281,6 +1292,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1281
1292
  isWinner?: boolean | undefined;
1282
1293
  seed?: number | undefined;
1283
1294
  teamCode?: string | undefined;
1295
+ venueName?: string | undefined;
1284
1296
  };
1285
1297
  period: string;
1286
1298
  clock: string;
@@ -1289,6 +1301,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
1289
1301
  venueType: string;
1290
1302
  attendance: number;
1291
1303
  aggregateScore: string;
1304
+ hadExtraTime: boolean;
1292
1305
  id?: string | undefined;
1293
1306
  isClosed?: boolean | undefined;
1294
1307
  ratingWindowClosedAt?: number | undefined;
@@ -1924,6 +1937,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1924
1937
  scorePeriod2: z.ZodNumber;
1925
1938
  scoreExtraTime: z.ZodNumber;
1926
1939
  scorePenalty: z.ZodNumber;
1940
+ venueName: z.ZodOptional<z.ZodString>;
1927
1941
  }>, "strip", z.ZodTypeAny, {
1928
1942
  name: string;
1929
1943
  image: string;
@@ -1937,6 +1951,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1937
1951
  isWinner?: boolean | undefined;
1938
1952
  seed?: number | undefined;
1939
1953
  teamCode?: string | undefined;
1954
+ venueName?: string | undefined;
1940
1955
  }, {
1941
1956
  name: string;
1942
1957
  image: string;
@@ -1950,6 +1965,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1950
1965
  isWinner?: boolean | undefined;
1951
1966
  seed?: number | undefined;
1952
1967
  teamCode?: string | undefined;
1968
+ venueName?: string | undefined;
1953
1969
  }>;
1954
1970
  awayTeam: z.ZodObject<z.objectUtil.extendShape<{
1955
1971
  id: z.ZodOptional<z.ZodString>;
@@ -1965,6 +1981,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1965
1981
  scorePeriod2: z.ZodNumber;
1966
1982
  scoreExtraTime: z.ZodNumber;
1967
1983
  scorePenalty: z.ZodNumber;
1984
+ venueName: z.ZodOptional<z.ZodString>;
1968
1985
  }>, "strip", z.ZodTypeAny, {
1969
1986
  name: string;
1970
1987
  image: string;
@@ -1978,6 +1995,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1978
1995
  isWinner?: boolean | undefined;
1979
1996
  seed?: number | undefined;
1980
1997
  teamCode?: string | undefined;
1998
+ venueName?: string | undefined;
1981
1999
  }, {
1982
2000
  name: string;
1983
2001
  image: string;
@@ -1991,7 +2009,9 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
1991
2009
  isWinner?: boolean | undefined;
1992
2010
  seed?: number | undefined;
1993
2011
  teamCode?: string | undefined;
2012
+ venueName?: string | undefined;
1994
2013
  }>;
2014
+ hadExtraTime: z.ZodBoolean;
1995
2015
  }>, "strip", z.ZodTypeAny, {
1996
2016
  status: "live" | "scheduled" | "final";
1997
2017
  week: number;
@@ -2012,6 +2032,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
2012
2032
  isWinner?: boolean | undefined;
2013
2033
  seed?: number | undefined;
2014
2034
  teamCode?: string | undefined;
2035
+ venueName?: string | undefined;
2015
2036
  };
2016
2037
  awayTeam: {
2017
2038
  name: string;
@@ -2026,6 +2047,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
2026
2047
  isWinner?: boolean | undefined;
2027
2048
  seed?: number | undefined;
2028
2049
  teamCode?: string | undefined;
2050
+ venueName?: string | undefined;
2029
2051
  };
2030
2052
  period: string;
2031
2053
  clock: string;
@@ -2034,6 +2056,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
2034
2056
  venueType: string;
2035
2057
  attendance: number;
2036
2058
  aggregateScore: string;
2059
+ hadExtraTime: boolean;
2037
2060
  id?: string | undefined;
2038
2061
  isClosed?: boolean | undefined;
2039
2062
  ratingWindowClosedAt?: number | undefined;
@@ -2070,6 +2093,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
2070
2093
  isWinner?: boolean | undefined;
2071
2094
  seed?: number | undefined;
2072
2095
  teamCode?: string | undefined;
2096
+ venueName?: string | undefined;
2073
2097
  };
2074
2098
  awayTeam: {
2075
2099
  name: string;
@@ -2084,6 +2108,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
2084
2108
  isWinner?: boolean | undefined;
2085
2109
  seed?: number | undefined;
2086
2110
  teamCode?: string | undefined;
2111
+ venueName?: string | undefined;
2087
2112
  };
2088
2113
  period: string;
2089
2114
  clock: string;
@@ -2092,6 +2117,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
2092
2117
  venueType: string;
2093
2118
  attendance: number;
2094
2119
  aggregateScore: string;
2120
+ hadExtraTime: boolean;
2095
2121
  id?: string | undefined;
2096
2122
  isClosed?: boolean | undefined;
2097
2123
  ratingWindowClosedAt?: number | undefined;
@@ -138,13 +138,16 @@ exports.eplGameSchema = exports.commonGameSchema.extend({
138
138
  scorePeriod2: zod_1.z.number(),
139
139
  scoreExtraTime: zod_1.z.number(),
140
140
  scorePenalty: zod_1.z.number(),
141
+ venueName: zod_1.z.string().optional(),
141
142
  }),
142
143
  awayTeam: exports.gameTeamSchema.extend({
143
144
  scorePeriod1: zod_1.z.number(),
144
145
  scorePeriod2: zod_1.z.number(),
145
146
  scoreExtraTime: zod_1.z.number(),
146
147
  scorePenalty: zod_1.z.number(),
148
+ venueName: zod_1.z.string().optional(),
147
149
  }),
150
+ hadExtraTime: zod_1.z.boolean(),
148
151
  });
149
152
  exports.unionGameSchema = zod_1.z.union([
150
153
  exports.basketballGameSchema,
@@ -74,14 +74,14 @@ export declare const eplTeamSchema: z.ZodObject<z.objectUtil.extendShape<{
74
74
  apiTeamId: number;
75
75
  id?: string | undefined;
76
76
  teamCode?: string | undefined;
77
- city?: string | undefined;
78
77
  venueName?: string | undefined;
78
+ city?: string | undefined;
79
79
  }, {
80
80
  name: string;
81
81
  image: string;
82
82
  apiTeamId: number;
83
83
  id?: string | undefined;
84
84
  teamCode?: string | undefined;
85
- city?: string | undefined;
86
85
  venueName?: string | undefined;
86
+ city?: string | undefined;
87
87
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.49",
3
+ "version": "1.1.51",
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",