@scoreboardmax/api-types 1.0.51 → 1.0.52
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/index.d.ts +40 -4
- package/dist/internal.d.ts +40 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -365,9 +365,9 @@ export interface BaseballScoreboardTeamRequest extends ScoreboardTeamBaseRequest
|
|
|
365
365
|
hits: number;
|
|
366
366
|
errors: number;
|
|
367
367
|
pitcher: PlayerSummaryRequest | null;
|
|
368
|
-
|
|
368
|
+
pitcherStats: PitcherStatsRequest[];
|
|
369
369
|
batter: PlayerSummaryRequest | null;
|
|
370
|
-
battingRecord:
|
|
370
|
+
battingRecord: BattingRecordRequest[];
|
|
371
371
|
battingList: PlayerSummaryRequest[];
|
|
372
372
|
isHomeTeam: boolean;
|
|
373
373
|
}
|
|
@@ -380,9 +380,9 @@ export interface BaseballScoreboardTeamResponse extends ScoreboardTeamBaseRespon
|
|
|
380
380
|
hits: number;
|
|
381
381
|
errors: number;
|
|
382
382
|
pitcher: PlayerSummaryResponse | null;
|
|
383
|
-
|
|
383
|
+
pitcherStats: PitcherStatsResponse[];
|
|
384
384
|
batter: PlayerSummaryResponse | null;
|
|
385
|
-
battingRecord:
|
|
385
|
+
battingRecord: BattingRecordResponse[];
|
|
386
386
|
battingList: PlayerSummaryResponse[];
|
|
387
387
|
isHomeTeam: boolean;
|
|
388
388
|
}
|
|
@@ -625,6 +625,23 @@ export declare enum BasketballTimeoutAllocation {
|
|
|
625
625
|
PerGame = "perGame",
|
|
626
626
|
PerHalf = "perHalf"
|
|
627
627
|
}
|
|
628
|
+
/**
|
|
629
|
+
* Batting record
|
|
630
|
+
*/
|
|
631
|
+
export interface BattingRecord {
|
|
632
|
+
playerId: string;
|
|
633
|
+
results: (boolean | null)[];
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* Batting record request
|
|
637
|
+
*/
|
|
638
|
+
export interface BattingRecordRequest extends BattingRecord {
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* Batting record response
|
|
642
|
+
*/
|
|
643
|
+
export interface BattingRecordResponse extends BattingRecord {
|
|
644
|
+
}
|
|
628
645
|
/**
|
|
629
646
|
* Boolean toggle input type
|
|
630
647
|
*/
|
|
@@ -1233,6 +1250,25 @@ export interface UserListResponse {
|
|
|
1233
1250
|
export type PermissionItem = {
|
|
1234
1251
|
[uri: string]: ApiAction[];
|
|
1235
1252
|
};
|
|
1253
|
+
/**
|
|
1254
|
+
* Pitcher stats
|
|
1255
|
+
*/
|
|
1256
|
+
export interface PitcherStats {
|
|
1257
|
+
playerId: string;
|
|
1258
|
+
pitchCount?: number;
|
|
1259
|
+
strikeouts?: number;
|
|
1260
|
+
walks?: number;
|
|
1261
|
+
}
|
|
1262
|
+
/**
|
|
1263
|
+
* Pitcher stats request
|
|
1264
|
+
*/
|
|
1265
|
+
export interface PitcherStatsRequest extends PitcherStats {
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* Pitcher stats response
|
|
1269
|
+
*/
|
|
1270
|
+
export interface PitcherStatsResponse extends PitcherStats {
|
|
1271
|
+
}
|
|
1236
1272
|
/**
|
|
1237
1273
|
* Player creation/update request
|
|
1238
1274
|
*/
|
package/dist/internal.d.ts
CHANGED
|
@@ -388,9 +388,9 @@ export interface BaseballScoreboardTeamRequest extends ScoreboardTeamBaseRequest
|
|
|
388
388
|
hits: number;
|
|
389
389
|
errors: number;
|
|
390
390
|
pitcher: PlayerSummaryRequest | null;
|
|
391
|
-
|
|
391
|
+
pitcherStats: PitcherStatsRequest[];
|
|
392
392
|
batter: PlayerSummaryRequest | null;
|
|
393
|
-
battingRecord:
|
|
393
|
+
battingRecord: BattingRecordRequest[];
|
|
394
394
|
battingList: PlayerSummaryRequest[];
|
|
395
395
|
isHomeTeam: boolean;
|
|
396
396
|
}
|
|
@@ -403,9 +403,9 @@ export interface BaseballScoreboardTeamResponse extends ScoreboardTeamBaseRespon
|
|
|
403
403
|
hits: number;
|
|
404
404
|
errors: number;
|
|
405
405
|
pitcher: PlayerSummaryResponse | null;
|
|
406
|
-
|
|
406
|
+
pitcherStats: PitcherStatsResponse[];
|
|
407
407
|
batter: PlayerSummaryResponse | null;
|
|
408
|
-
battingRecord:
|
|
408
|
+
battingRecord: BattingRecordResponse[];
|
|
409
409
|
battingList: PlayerSummaryResponse[];
|
|
410
410
|
isHomeTeam: boolean;
|
|
411
411
|
}
|
|
@@ -648,6 +648,23 @@ export declare enum BasketballTimeoutAllocation {
|
|
|
648
648
|
PerGame = "perGame",
|
|
649
649
|
PerHalf = "perHalf"
|
|
650
650
|
}
|
|
651
|
+
/**
|
|
652
|
+
* Batting record
|
|
653
|
+
*/
|
|
654
|
+
export interface BattingRecord {
|
|
655
|
+
playerId: string;
|
|
656
|
+
results: (boolean | null)[];
|
|
657
|
+
}
|
|
658
|
+
/**
|
|
659
|
+
* Batting record request
|
|
660
|
+
*/
|
|
661
|
+
export interface BattingRecordRequest extends BattingRecord {
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* Batting record response
|
|
665
|
+
*/
|
|
666
|
+
export interface BattingRecordResponse extends BattingRecord {
|
|
667
|
+
}
|
|
651
668
|
/**
|
|
652
669
|
* Boolean toggle input type
|
|
653
670
|
*/
|
|
@@ -1256,6 +1273,25 @@ export interface UserListResponse {
|
|
|
1256
1273
|
export type PermissionItem = {
|
|
1257
1274
|
[uri: string]: ApiAction[];
|
|
1258
1275
|
};
|
|
1276
|
+
/**
|
|
1277
|
+
* Pitcher stats
|
|
1278
|
+
*/
|
|
1279
|
+
export interface PitcherStats {
|
|
1280
|
+
playerId: string;
|
|
1281
|
+
pitchCount?: number;
|
|
1282
|
+
strikeouts?: number;
|
|
1283
|
+
walks?: number;
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* Pitcher stats request
|
|
1287
|
+
*/
|
|
1288
|
+
export interface PitcherStatsRequest extends PitcherStats {
|
|
1289
|
+
}
|
|
1290
|
+
/**
|
|
1291
|
+
* Pitcher stats response
|
|
1292
|
+
*/
|
|
1293
|
+
export interface PitcherStatsResponse extends PitcherStats {
|
|
1294
|
+
}
|
|
1259
1295
|
/**
|
|
1260
1296
|
* Player creation/update request
|
|
1261
1297
|
*/
|