@srating-io/types 2.1.0 → 2.1.2

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/README.md CHANGED
@@ -1,2 +1,3 @@
1
1
  # types
2
2
  srating.io types for frontend + backend
3
+
@@ -0,0 +1,17 @@
1
+ import { PlayerTeamSeasons, Players } from '../general.ts';
2
+ import { FantasyEntryPrePicks } from '../fantasy.ts';
3
+ /**
4
+ * The whole list is replaced on every call, in the order given, so a reorder cannot collide
5
+ * with itself.
6
+ */
7
+ export type setPrePicksArguments = {
8
+ fantasy_entry_id: string;
9
+ player_team_season_ids: string[];
10
+ };
11
+ export type setPrePicksResults = {
12
+ error: string;
13
+ } | {
14
+ fantasy_entry_pre_picks: FantasyEntryPrePicks;
15
+ player_team_seasons: PlayerTeamSeasons;
16
+ players: Players;
17
+ };
@@ -1,7 +1,7 @@
1
1
  import * as Basketball from '../basketball.ts';
2
2
  import * as Football from '../football.ts';
3
3
  import { PlayerTeamSeasons, Players } from '../general.ts';
4
- import { FantasyGroup, FantasyGroups, FantasyGroupUsers, FantasyGroupInvites, FantasyGroupComments, FantasyEntrys, FantasyRankings, FantasyDraftOrders, FantasyEntryPlayers, FantasyEntryPlayerStatisticRanking } from '../fantasy.ts';
4
+ import { FantasyGroup, FantasyGroups, FantasyGroupUsers, FantasyGroupInvites, FantasyGroupComments, FantasyEntrys, FantasyRankings, FantasyDraftOrders, FantasyEntryPlayers, FantasyEntryPrePicks, FantasyEntryPlayerStatisticRanking } from '../fantasy.ts';
5
5
  export type createGroupArguments = Partial<Omit<FantasyGroup, 'fantasy_group_id' | 'owner_user_id' | 'guid' | 'deleted' | 'date_of_entry'>>;
6
6
  export type createGroupResults = {
7
7
  error: string;
@@ -78,6 +78,7 @@ export type loadResults = {
78
78
  fantasy_group_comments: FantasyGroupComments;
79
79
  fantasy_draft_orders: FantasyDraftOrders;
80
80
  fantasy_entry_players: FantasyEntryPlayers;
81
+ fantasy_entry_pre_picks: FantasyEntryPrePicks;
81
82
  player_team_seasons: PlayerTeamSeasons;
82
83
  players: Players;
83
84
  fantasy_entry_player_statistic_rankings: {
@@ -92,6 +93,7 @@ export type loadHomeArguments = {
92
93
  export type loadHomeResults = {
93
94
  error: string;
94
95
  } | {
96
+ seasons: number[];
95
97
  fantasy_groups: FantasyGroups;
96
98
  fantasy_group_users: FantasyGroupUsers;
97
99
  fantasy_entrys: FantasyEntrys;
package/dist/auth.d.ts CHANGED
@@ -16,7 +16,9 @@ export type Users = {
16
16
  export interface Session {
17
17
  session_id: string;
18
18
  user_id: string;
19
+ date_of_entry: string;
19
20
  expires_at: string;
21
+ updated_at: string;
20
22
  guid: string;
21
23
  deleted: number;
22
24
  }
@@ -45,7 +47,7 @@ export type Secrets = {
45
47
  [secret_id: string]: Secret;
46
48
  };
47
49
  export interface ApiKey {
48
- api_key_id: string;
50
+ api_key_id: number;
49
51
  key: string;
50
52
  user_id: string;
51
53
  subscription_id: string;
@@ -55,9 +57,8 @@ export interface ApiKey {
55
57
  write: number;
56
58
  hidden_access: number;
57
59
  rate_limiter: number;
58
- query: number;
59
- expires: number;
60
- last_reset: number;
60
+ expires: string;
61
+ last_reset: string;
61
62
  guid: string;
62
63
  deleted: number;
63
64
  }
@@ -1,5 +1,6 @@
1
1
  import { CoachStatisticRanking, Player, PlayerTeamSeason, Boxscore as BaseBoxscore, PlayerBoxscore as BasePlayerBoxscore, PlaybyPlay as BasePlaybyPlay, StatisticRanking as BaseStatisticRanking, PlayerStatisticRanking as BasePlayerStatisticRanking, ConferenceStatisticRanking as BaseConferenceStatisticRanking, ConferencePlayerStatisticRanking as BaseConferencePlayerStatisticRanking, LeagueStatisticRanking as BaseLeagueStatisticRanking, LeaguePlayerStatisticRanking as BaseLeaguePlayerStatisticRanking } from './general.ts';
2
2
  export interface Boxscore extends BaseBoxscore {
3
+ basketball_boxscore_id: string;
3
4
  minutes_played: number;
4
5
  field_goal: number;
5
6
  field_goal_attempts: number;
@@ -27,6 +28,7 @@ export type Boxscores = {
27
28
  [boxscore_id: string]: Boxscore;
28
29
  };
29
30
  export interface PlayerBoxscore extends BasePlayerBoxscore {
31
+ basketball_player_boxscore_id: string;
30
32
  first_name: string;
31
33
  last_name: string;
32
34
  position: string;
@@ -52,11 +54,13 @@ export interface PlayerBoxscore extends BasePlayerBoxscore {
52
54
  turnovers: number;
53
55
  fouls: number;
54
56
  points: number;
57
+ plus_minus: number;
55
58
  }
56
59
  export type PlayerBoxscores = {
57
60
  [player_boxscore_id: string]: PlayerBoxscore;
58
61
  };
59
62
  export interface PlaybyPlay extends BasePlaybyPlay {
63
+ basketball_play_by_play_id: string;
60
64
  team_id: string;
61
65
  current_period: string;
62
66
  clock: string;
@@ -79,6 +83,7 @@ export type PlaybyPlays = {
79
83
  [play_by_play_id: string]: PlaybyPlay;
80
84
  };
81
85
  export interface StatisticRanking extends BaseStatisticRanking {
86
+ basketball_statistic_id: string;
82
87
  max: number;
83
88
  rating: number;
84
89
  rank: number;
@@ -166,6 +171,9 @@ export interface StatisticRanking extends BaseStatisticRanking {
166
171
  opponent_defensive_rating: number;
167
172
  opponent_efficiency_rating: number;
168
173
  elo_sos: number;
174
+ weighted_height_average: number;
175
+ elite_length_z_score: number;
176
+ height_consistency: number;
169
177
  wins_rank: number;
170
178
  losses_rank: number;
171
179
  confwins_rank: number;
@@ -239,31 +247,48 @@ export interface StatisticRanking extends BaseStatisticRanking {
239
247
  opponent_defensive_rating_rank: number;
240
248
  opponent_efficiency_rating_rank: number;
241
249
  elo_sos_rank: number;
250
+ weighted_height_average_rank: number;
251
+ elite_length_z_score_rank: number;
252
+ height_consistency_rank: number;
242
253
  }
243
254
  export type StatisticRankings = {
244
255
  [statistic_ranking_id: string]: StatisticRanking;
245
256
  };
246
257
  export interface PlayerStatisticRanking extends BasePlayerStatisticRanking {
258
+ basketball_player_statistic_id: string;
247
259
  rating: number;
248
260
  max: number;
249
261
  rank: number;
250
262
  rank_delta_one: number;
251
263
  rank_delta_seven: number;
264
+ elo: number;
252
265
  elo_rank: number;
266
+ max_elo: number;
267
+ max_elo_rank: number;
253
268
  games: number;
269
+ wins: number;
270
+ losses: number;
254
271
  minutes_played: number;
255
272
  minutes_per_game: number;
256
273
  field_goal: number;
274
+ field_goal_per_game: number;
257
275
  field_goal_attempts: number;
276
+ field_goal_attempts_per_game: number;
258
277
  field_goal_percentage: number;
259
278
  two_point_field_goal: number;
279
+ two_point_field_goal_per_game: number;
260
280
  two_point_field_goal_attempts: number;
281
+ two_point_field_goal_attempts_per_game: number;
261
282
  two_point_field_goal_percentage: number;
262
283
  three_point_field_goal: number;
284
+ three_point_field_goal_per_game: number;
263
285
  three_point_field_goal_attempts: number;
286
+ three_point_field_goal_attempts_per_game: number;
264
287
  three_point_field_goal_percentage: number;
265
288
  free_throws: number;
289
+ free_throws_per_game: number;
266
290
  free_throw_attempts: number;
291
+ free_throw_attempts_per_game: number;
267
292
  free_throw_percentage: number;
268
293
  offensive_rebounds: number;
269
294
  offensive_rebounds_per_game: number;
@@ -299,19 +324,31 @@ export interface PlayerStatisticRanking extends BasePlayerStatisticRanking {
299
324
  block_percentage: number;
300
325
  turnover_percentage: number;
301
326
  usage_percentage: number;
327
+ plus_minus: number;
328
+ games_rank: number;
329
+ wins_rank: number;
330
+ losses_rank: number;
302
331
  minutes_played_rank: number;
303
332
  minutes_per_game_rank: number;
304
333
  field_goal_rank: number;
334
+ field_goal_per_game_rank: number;
305
335
  field_goal_attempts_rank: number;
336
+ field_goal_attempts_per_game_rank: number;
306
337
  field_goal_percentage_rank: number;
307
338
  two_point_field_goal_rank: number;
339
+ two_point_field_goal_per_game_rank: number;
308
340
  two_point_field_goal_attempts_rank: number;
341
+ two_point_field_goal_attempts_per_game_rank: number;
309
342
  two_point_field_goal_percentage_rank: number;
310
343
  three_point_field_goal_rank: number;
344
+ three_point_field_goal_per_game_rank: number;
311
345
  three_point_field_goal_attempts_rank: number;
346
+ three_point_field_goal_attempts_per_game_rank: number;
312
347
  three_point_field_goal_percentage_rank: number;
313
348
  free_throws_rank: number;
349
+ free_throws_per_game_rank: number;
314
350
  free_throw_attempts_rank: number;
351
+ free_throw_attempts_per_game_rank: number;
315
352
  free_throw_percentage_rank: number;
316
353
  offensive_rebounds_rank: number;
317
354
  offensive_rebounds_per_game_rank: number;
@@ -347,11 +384,13 @@ export interface PlayerStatisticRanking extends BasePlayerStatisticRanking {
347
384
  block_percentage_rank: number;
348
385
  turnover_percentage_rank: number;
349
386
  usage_percentage_rank: number;
387
+ plus_minus_rank: number;
350
388
  }
351
389
  export type PlayerStatisticRankings = {
352
390
  [player_statistic_ranking_id: string]: PlayerStatisticRanking;
353
391
  };
354
392
  export interface ConferenceStatisticRanking extends BaseConferenceStatisticRanking {
393
+ basketball_conference_statistic_id: string;
355
394
  rating: number;
356
395
  rank: number;
357
396
  rank_delta_one: number;
@@ -503,6 +542,7 @@ export type ConferenceStatisticRankings = {
503
542
  [conference_statistic_ranking_id: string]: ConferenceStatisticRanking;
504
543
  };
505
544
  export interface LeagueStatisticRanking extends BaseLeagueStatisticRanking {
545
+ basketball_league_statistic_id: string;
506
546
  rating: number;
507
547
  elo: number;
508
548
  games: number;
@@ -578,11 +618,15 @@ export interface LeagueStatisticRanking extends BaseLeagueStatisticRanking {
578
618
  opponent_offensive_rating: number;
579
619
  opponent_defensive_rating: number;
580
620
  opponent_efficiency_rating: number;
621
+ weighted_height_average: number;
622
+ elite_length_z_score: number;
623
+ height_consistency: number;
581
624
  }
582
625
  export type LeagueStatisticRankings = {
583
626
  [league_statistic_ranking_id: string]: LeagueStatisticRanking;
584
627
  };
585
628
  export interface LeaguePlayerStatisticRanking extends BaseLeaguePlayerStatisticRanking {
629
+ basketball_league_player_statistic_id: string;
586
630
  rating: number;
587
631
  elo: number;
588
632
  games: number;
@@ -716,7 +760,6 @@ export interface ConferencePlayerStatisticRanking extends BaseConferencePlayerSt
716
760
  turnover_percentage: number;
717
761
  usage_percentage: number;
718
762
  plus_minus: number;
719
- guid: string;
720
763
  deleted: number;
721
764
  }
722
765
  export type ConferencePlayerStatisticRankings = {
package/dist/fantasy.d.ts CHANGED
@@ -123,6 +123,7 @@ export type FantasyEntrys = {
123
123
  };
124
124
  export interface FantasyDraftOrder {
125
125
  fantasy_draft_order_id: string;
126
+ parent_fantasy_draft_order_id: string;
126
127
  child_fantasy_draft_order_id: string | null;
127
128
  fantasy_entry_id: string;
128
129
  fantasy_group_id: string;
@@ -151,6 +152,23 @@ export interface FantasyEntryPlayer {
151
152
  export type FantasyEntryPlayers = {
152
153
  [fantasy_entry_player_id: string]: FantasyEntryPlayer;
153
154
  };
155
+ /**
156
+ * A player an entry wants drafted for it, in preference order, if the pick clock runs out.
157
+ * Only ever returned to the entry's own owner -- the whole point is that rivals cannot see it.
158
+ */
159
+ export interface FantasyEntryPrePick {
160
+ fantasy_entry_pre_pick_id: string;
161
+ fantasy_group_id: string;
162
+ fantasy_entry_id: string;
163
+ player_team_season_id: string;
164
+ ordinal: number;
165
+ date_of_entry: string;
166
+ guid: string;
167
+ deleted: number;
168
+ }
169
+ export type FantasyEntryPrePicks = {
170
+ [fantasy_entry_pre_pick_id: string]: FantasyEntryPrePick;
171
+ };
154
172
  export interface FantasyBracketSlot {
155
173
  fantasy_bracket_slot_id: string;
156
174
  first_parent_fantasy_bracket_slot_id: string;
@@ -164,6 +182,7 @@ export interface FantasyBracketSlot {
164
182
  picked_first_team_id: string | null;
165
183
  picked_second_team_id: string | null;
166
184
  picked_winner_team_id: string | null;
185
+ actual_winner_team_id: string | null;
167
186
  tie_breaker_total_score: number | null;
168
187
  game_id: string | null;
169
188
  region: string;
@@ -209,7 +228,6 @@ export interface FantasyEntryPlayerStatisticRanking {
209
228
  fantasy_entry_player_id: string;
210
229
  sport_player_statistic_id: string;
211
230
  date_of_rank: string;
212
- date_of_entry: string;
213
231
  updated_at: string;
214
232
  current: number;
215
233
  guid: string;
@@ -1,5 +1,6 @@
1
1
  import { CoachStatisticRanking, Player, PlayerTeamSeason, Boxscore as BaseBoxscore, PlayerBoxscore as BasePlayerBoxscore, StatisticRanking as BaseStatisticRanking, PlayerStatisticRanking as BasePlayerStatisticRanking, ConferenceStatisticRanking as BaseConferenceStatisticRanking, ConferencePlayerStatisticRanking as BaseConferencePlayerStatisticRanking, LeagueStatisticRanking as BaseLeagueStatisticRanking, LeaguePlayerStatisticRanking as BaseLeaguePlayerStatisticRanking } from './general.ts';
2
2
  export interface Boxscore extends BaseBoxscore {
3
+ football_boxscore_id: string;
3
4
  minutes_played: number;
4
5
  points: number;
5
6
  successful_pass_plays: number;
@@ -73,6 +74,7 @@ export type Boxscores = {
73
74
  [boxscore_id: string]: Boxscore;
74
75
  };
75
76
  export interface PlayerBoxscore extends BasePlayerBoxscore {
77
+ football_player_boxscore_id: string;
76
78
  first_name: string;
77
79
  last_name: string;
78
80
  position: string;
@@ -136,11 +138,13 @@ export interface PlayerBoxscore extends BasePlayerBoxscore {
136
138
  quarterback_hurries: number;
137
139
  fumbles: number;
138
140
  fumbles_lost: number;
141
+ guid: string;
139
142
  }
140
143
  export type PlayerBoxscores = {
141
144
  [player_boxscore_id: string]: PlayerBoxscore;
142
145
  };
143
146
  export interface StatisticRanking extends BaseStatisticRanking {
147
+ football_statistic_id: string;
144
148
  rating: number;
145
149
  rank: number;
146
150
  rank_delta_one: number;
@@ -472,6 +476,7 @@ export type StatisticRankings = {
472
476
  [statistic_ranking_id: string]: StatisticRanking;
473
477
  };
474
478
  export interface PlayerStatisticRanking extends BasePlayerStatisticRanking {
479
+ football_player_statistic_id: string;
475
480
  rating: number;
476
481
  max: number;
477
482
  rank: number;
@@ -479,7 +484,11 @@ export interface PlayerStatisticRanking extends BasePlayerStatisticRanking {
479
484
  rank_delta_seven: number;
480
485
  elo: number;
481
486
  elo_rank: number;
487
+ max_elo: number;
488
+ max_elo_rank: number;
482
489
  games: number;
490
+ wins: number;
491
+ losses: number;
483
492
  minutes_played: number;
484
493
  minutes_per_game: number;
485
494
  points: number;
@@ -488,6 +497,7 @@ export interface PlayerStatisticRanking extends BasePlayerStatisticRanking {
488
497
  penalties_per_game: number;
489
498
  penalty_yards: number;
490
499
  penalty_yards_per_game: number;
500
+ adjusted_passing_rating: number;
491
501
  passing_attempts: number;
492
502
  passing_attempts_per_game: number;
493
503
  passing_completions: number;
@@ -571,6 +581,8 @@ export interface PlayerStatisticRanking extends BasePlayerStatisticRanking {
571
581
  fumbles_per_game: number;
572
582
  fumbles_lost: number;
573
583
  games_rank: number;
584
+ wins_rank: number;
585
+ losses_rank: number;
574
586
  minutes_played_rank: number;
575
587
  minutes_per_game_rank: number;
576
588
  points_rank: number;
@@ -579,6 +591,7 @@ export interface PlayerStatisticRanking extends BasePlayerStatisticRanking {
579
591
  penalties_per_game_rank: number;
580
592
  penalty_yards_rank: number;
581
593
  penalty_yards_per_game_rank: number;
594
+ adjusted_passing_rating_rank: number;
582
595
  passing_attempts_rank: number;
583
596
  passing_attempts_per_game_rank: number;
584
597
  passing_completions_rank: number;
@@ -666,6 +679,7 @@ export type PlayerStatisticRankings = {
666
679
  [player_statistic_ranking_id: string]: PlayerStatisticRanking;
667
680
  };
668
681
  export interface ConferenceStatisticRanking extends BaseConferenceStatisticRanking {
682
+ football_conference_statistic_id: string;
669
683
  rating: number;
670
684
  rank: number;
671
685
  rank_delta_one: number;
@@ -1108,13 +1122,13 @@ export interface ConferencePlayerStatisticRanking extends BaseConferencePlayerSt
1108
1122
  fumbles_per_game: number;
1109
1123
  fumbles_lost: number;
1110
1124
  fumbles_lost_per_game: number;
1111
- guid: string;
1112
1125
  deleted: number;
1113
1126
  }
1114
1127
  export type ConferencePlayerStatisticRankings = {
1115
1128
  [conference_player_statistic_ranking_id: string]: ConferencePlayerStatisticRanking;
1116
1129
  };
1117
1130
  export interface LeagueStatisticRanking extends BaseLeagueStatisticRanking {
1131
+ football_league_statistic_id: string;
1118
1132
  rating: number;
1119
1133
  elo: number;
1120
1134
  games: number;
@@ -1142,8 +1156,8 @@ export interface LeagueStatisticRanking extends BaseLeagueStatisticRanking {
1142
1156
  points_per_play: number;
1143
1157
  successful_pass_plays: number;
1144
1158
  successful_rush_plays: number;
1145
- offensive_dvo: number;
1146
- defensive_dvo: number;
1159
+ offensive_dvoa: number;
1160
+ defensive_dvoa: number;
1147
1161
  first_downs: number;
1148
1162
  third_down_conversions: number;
1149
1163
  third_down_attempts: number;
@@ -1280,6 +1294,7 @@ export type LeagueStatisticRankings = {
1280
1294
  [league_statistic_ranking_id: string]: LeagueStatisticRanking;
1281
1295
  };
1282
1296
  export interface LeaguePlayerStatisticRanking extends BaseLeaguePlayerStatisticRanking {
1297
+ football_league_player_statistic_id: string;
1283
1298
  rating: number;
1284
1299
  elo: number;
1285
1300
  games: number;
package/dist/general.d.ts CHANGED
@@ -112,8 +112,8 @@ export type ConferenceDivisionSeasons = {
112
112
  };
113
113
  export interface Prediction {
114
114
  prediction_id: string;
115
+ organization_id: string;
115
116
  game_id: string;
116
- season: number;
117
117
  home_percentage: number;
118
118
  away_percentage: number;
119
119
  home_score: number;
@@ -146,6 +146,7 @@ export interface Game {
146
146
  start_datetime: string;
147
147
  start_timestamp: number;
148
148
  slug: string;
149
+ updated_at: string;
149
150
  attendance: number;
150
151
  neutral_site: number;
151
152
  is_conf_game: number;
@@ -161,6 +162,7 @@ export interface Coach {
161
162
  first_name: string;
162
163
  last_name: string;
163
164
  slug: string;
165
+ guid: string;
164
166
  deleted: number;
165
167
  }
166
168
  export type Coaches = {
@@ -168,6 +170,7 @@ export type Coaches = {
168
170
  };
169
171
  export interface CoachTeamSeason {
170
172
  coach_team_season_id: string;
173
+ organization_id: string;
171
174
  coach_id: string;
172
175
  team_id: string;
173
176
  season: number;
@@ -181,6 +184,8 @@ export type CoachTeamSeasons = {
181
184
  };
182
185
  export interface CoachElo {
183
186
  coach_elo_id: string;
187
+ organization_id: string;
188
+ division_id: string;
184
189
  parent_coach_elo_id: string;
185
190
  coach_id: string;
186
191
  game_id: string;
@@ -196,6 +201,8 @@ export type CoachElos = {
196
201
  };
197
202
  export interface Elo {
198
203
  elo_id: string;
204
+ organization_id: string;
205
+ division_id: string;
199
206
  parent_elo_id: string;
200
207
  team_id: string;
201
208
  game_id: string;
@@ -211,6 +218,8 @@ export type Elos = {
211
218
  };
212
219
  export interface PlayerElo {
213
220
  player_elo_id: string;
221
+ organization_id: string;
222
+ division_id: string;
214
223
  parent_player_elo_id: string;
215
224
  player_id: string;
216
225
  game_id: string;
@@ -274,6 +283,7 @@ export interface GamePulse {
274
283
  current_period: string;
275
284
  clock: string;
276
285
  date_of_entry: string;
286
+ deleted: number;
277
287
  }
278
288
  export type GamePulses = {
279
289
  [game_pulse_id: string]: GamePulse;
@@ -287,6 +297,8 @@ export interface GamePlayer {
287
297
  stop: string | null;
288
298
  period: string;
289
299
  date_of_entry: string;
300
+ guid: string;
301
+ deleted: number;
290
302
  }
291
303
  export type GamePlayers = {
292
304
  [game_player_id: string]: GamePlayer;
@@ -331,6 +343,7 @@ export interface CoachStatisticRanking {
331
343
  season: number;
332
344
  coach_id: string;
333
345
  rating: number;
346
+ max: number;
334
347
  rank: number;
335
348
  rank_delta_one: number;
336
349
  rank_delta_seven: number;
@@ -376,6 +389,7 @@ export interface CoachStatisticRanking {
376
389
  road_win_percentage_rank: number;
377
390
  neutral_win_percentage_rank: number;
378
391
  date_of_rank: string;
392
+ updated_at: string;
379
393
  current: number;
380
394
  deleted: number;
381
395
  }
@@ -404,6 +418,7 @@ export interface BracketTeam {
404
418
  seed: number;
405
419
  current: number;
406
420
  predicted: number;
421
+ is_play_in: number;
407
422
  date_of_entry: string;
408
423
  guid: string;
409
424
  deleted: number;
@@ -446,7 +461,7 @@ export interface PlaybyPlay {
446
461
  division_id: string;
447
462
  game_id: string;
448
463
  sport_play_by_play_id: string;
449
- team_id: string;
464
+ deleted: number;
450
465
  }
451
466
  export type PlaybyPlays = {
452
467
  [play_by_play_id: string]: PlaybyPlay;
@@ -482,6 +497,8 @@ export interface PlayerStatisticRanking {
482
497
  date_of_rank: string;
483
498
  updated_at: string;
484
499
  current: number;
500
+ career: number;
501
+ career_active: number;
485
502
  deleted: number;
486
503
  }
487
504
  export type PlayerStatisticRankings = {
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export * as FantasyBracketSlot from './api/fantasy_bracket_slot.ts';
11
11
  export * as FantasyDraftOrder from './api/fantasy_draft_order.ts';
12
12
  export * as FantasyEntry from './api/fantasy_entry.ts';
13
13
  export * as FantasyEntryPlayerStatisticRanking from './api/fantasy_entry_player_statistic_ranking.ts';
14
+ export * as FantasyEntryPrePick from './api/fantasy_entry_pre_pick.ts';
14
15
  export * as FantasyGroup from './api/fantasy_group.ts';
15
16
  export * as FantasyGroupComment from './api/fantasy_group_comment.ts';
16
17
  export * as FantasyGroupInvite from './api/fantasy_group_invite.ts';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@srating-io/types",
3
3
  "private": false,
4
- "version": "2.1.0",
4
+ "version": "2.1.2",
5
5
  "description": "srating.io shared TypeScript types for GUI and API",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",