tbarequest 1.0.2 → 1.0.4
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/_tsup-dts-rollup.d.ts +42 -41
- package/package.json +1 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { ArrayType } from 'arktype/
|
|
1
|
+
import { ArrayType } from 'arktype/out/methods/array.js';
|
|
2
2
|
import { BaseType } from 'arktype';
|
|
3
|
-
import { ObjectType } from 'arktype/
|
|
3
|
+
import { ObjectType } from 'arktype/out/methods/object.js';
|
|
4
|
+
import { ObjectType as ObjectType_2 } from 'arktype/out/methods/object';
|
|
4
5
|
import { Type } from 'arktype';
|
|
5
6
|
|
|
6
|
-
export declare const API_Status_App_Version:
|
|
7
|
+
export declare const API_Status_App_Version: ObjectType_2< {
|
|
7
8
|
min_app_version: number;
|
|
8
9
|
latest_app_version: number;
|
|
9
10
|
}, {}>;
|
|
10
11
|
|
|
11
|
-
export declare const Award:
|
|
12
|
+
export declare const Award: ObjectType_2< {
|
|
12
13
|
name: string;
|
|
13
14
|
award_type: number;
|
|
14
15
|
event_key: string;
|
|
@@ -19,26 +20,26 @@ awardee: string | null;
|
|
|
19
20
|
year: number;
|
|
20
21
|
}, {}>;
|
|
21
22
|
|
|
22
|
-
export declare const Award_Recipient:
|
|
23
|
+
export declare const Award_Recipient: ObjectType_2< {
|
|
23
24
|
team_key: string | null;
|
|
24
25
|
awardee: string | null;
|
|
25
26
|
}, {}>;
|
|
26
27
|
|
|
27
28
|
export declare function createTBACaller(api_key: string): <T extends TBAEndpoint>(endpoint: T, ...args: TBAEndpoints[T]["arguments"]["infer"]) => Promise<Result<TBAEndpoints[T]["schema"]["infer"]>>;
|
|
28
29
|
|
|
29
|
-
export declare const District_Advancement:
|
|
30
|
+
export declare const District_Advancement: ObjectType_2< {
|
|
30
31
|
dcmp: boolean;
|
|
31
32
|
cmp: boolean;
|
|
32
33
|
}, {}>;
|
|
33
34
|
|
|
34
|
-
export declare const District_List:
|
|
35
|
+
export declare const District_List: ObjectType_2< {
|
|
35
36
|
abbreviation: string;
|
|
36
37
|
display_name: string;
|
|
37
38
|
key: string;
|
|
38
39
|
year: number;
|
|
39
40
|
}, {}>;
|
|
40
41
|
|
|
41
|
-
export declare const District_Ranking:
|
|
42
|
+
export declare const District_Ranking: ObjectType_2< {
|
|
42
43
|
team_key: string;
|
|
43
44
|
rank: number;
|
|
44
45
|
point_total: number;
|
|
@@ -1853,7 +1854,7 @@ export declare const insightEndpoints: {
|
|
|
1853
1854
|
};
|
|
1854
1855
|
};
|
|
1855
1856
|
|
|
1856
|
-
export declare const LeaderboardInsights:
|
|
1857
|
+
export declare const LeaderboardInsights: ObjectType_2< {
|
|
1857
1858
|
data: {
|
|
1858
1859
|
rankings: {
|
|
1859
1860
|
value: number;
|
|
@@ -1865,7 +1866,7 @@ name: string;
|
|
|
1865
1866
|
year: number;
|
|
1866
1867
|
}, {}>;
|
|
1867
1868
|
|
|
1868
|
-
export declare const Match:
|
|
1869
|
+
export declare const Match: ObjectType_2< {
|
|
1869
1870
|
key: string;
|
|
1870
1871
|
comp_level: "f" | "qm" | "ef" | "qf" | "sf";
|
|
1871
1872
|
set_number: number;
|
|
@@ -2930,14 +2931,14 @@ yearOfCompetition: 2025;
|
|
|
2930
2931
|
};
|
|
2931
2932
|
}, {}>;
|
|
2932
2933
|
|
|
2933
|
-
export declare const Match_alliance:
|
|
2934
|
+
export declare const Match_alliance: ObjectType_2< {
|
|
2934
2935
|
score: number | null;
|
|
2935
2936
|
team_keys: string[];
|
|
2936
2937
|
surrogate_team_keys: string[];
|
|
2937
2938
|
dq_team_keys: string[];
|
|
2938
2939
|
}, {}>;
|
|
2939
2940
|
|
|
2940
|
-
export declare const Match_Simple:
|
|
2941
|
+
export declare const Match_Simple: ObjectType_2< {
|
|
2941
2942
|
key: string;
|
|
2942
2943
|
comp_level: "f" | "qm" | "ef" | "qf" | "sf";
|
|
2943
2944
|
set_number: number;
|
|
@@ -4066,7 +4067,7 @@ export declare const matchEndpoints: {
|
|
|
4066
4067
|
};
|
|
4067
4068
|
|
|
4068
4069
|
export declare const matchScoreBreakdownYearsAlliances: {
|
|
4069
|
-
"2015":
|
|
4070
|
+
"2015": ObjectType_2< {
|
|
4070
4071
|
adjust_points?: number | undefined;
|
|
4071
4072
|
auto_points?: number | undefined;
|
|
4072
4073
|
container_count_level1?: number | undefined;
|
|
@@ -4092,7 +4093,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4092
4093
|
tote_set?: boolean | undefined;
|
|
4093
4094
|
tote_stack?: boolean | undefined;
|
|
4094
4095
|
}, {}>;
|
|
4095
|
-
"2016":
|
|
4096
|
+
"2016": ObjectType_2< {
|
|
4096
4097
|
adjustPoints?: number | undefined;
|
|
4097
4098
|
autoBoulderPoints?: number | undefined;
|
|
4098
4099
|
autoBouldersHigh?: number | undefined;
|
|
@@ -4133,7 +4134,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4133
4134
|
towerFaceB?: string | undefined;
|
|
4134
4135
|
towerFaceC?: string | undefined;
|
|
4135
4136
|
}, {}>;
|
|
4136
|
-
"2017":
|
|
4137
|
+
"2017": ObjectType_2< {
|
|
4137
4138
|
adjustPoints?: number | undefined;
|
|
4138
4139
|
autoFuelHigh?: number | undefined;
|
|
4139
4140
|
autoFuelLow?: number | undefined;
|
|
@@ -4169,7 +4170,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4169
4170
|
touchpadMiddle?: string | undefined;
|
|
4170
4171
|
touchpadNear?: string | undefined;
|
|
4171
4172
|
}, {}>;
|
|
4172
|
-
"2018":
|
|
4173
|
+
"2018": ObjectType_2< {
|
|
4173
4174
|
adjustPoints?: number | undefined;
|
|
4174
4175
|
autoOwnershipPoints?: number | undefined;
|
|
4175
4176
|
autoPoints?: number | undefined;
|
|
@@ -4208,7 +4209,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4208
4209
|
vaultLevitateTotal?: number | undefined;
|
|
4209
4210
|
vaultPoints?: number | undefined;
|
|
4210
4211
|
}, {}>;
|
|
4211
|
-
"2019":
|
|
4212
|
+
"2019": ObjectType_2< {
|
|
4212
4213
|
adjustPoints?: number | undefined;
|
|
4213
4214
|
autoPoints?: number | undefined;
|
|
4214
4215
|
bay1?: string | undefined;
|
|
@@ -4261,7 +4262,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4261
4262
|
topRightRocketNear?: string | undefined;
|
|
4262
4263
|
totalPoints?: number | undefined;
|
|
4263
4264
|
}, {}>;
|
|
4264
|
-
"2020":
|
|
4265
|
+
"2020": ObjectType_2< {
|
|
4265
4266
|
adjustPoints?: number | undefined;
|
|
4266
4267
|
autoCellPoints?: number | undefined;
|
|
4267
4268
|
autoCellsBottom?: number | undefined;
|
|
@@ -4297,7 +4298,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4297
4298
|
teleopPoints?: number | undefined;
|
|
4298
4299
|
totalPoints?: number | undefined;
|
|
4299
4300
|
}, {}>;
|
|
4300
|
-
"2022":
|
|
4301
|
+
"2022": ObjectType_2< {
|
|
4301
4302
|
adjustPoints?: number | undefined;
|
|
4302
4303
|
autoCargoLowerBlue?: number | undefined;
|
|
4303
4304
|
autoCargoLowerFar?: number | undefined;
|
|
@@ -4339,7 +4340,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4339
4340
|
teleopPoints?: number | undefined;
|
|
4340
4341
|
totalPoints?: number | undefined;
|
|
4341
4342
|
}, {}>;
|
|
4342
|
-
"2023":
|
|
4343
|
+
"2023": ObjectType_2< {
|
|
4343
4344
|
activationBonusAchieved?: boolean | undefined;
|
|
4344
4345
|
adjustPoints?: number | undefined;
|
|
4345
4346
|
autoBridgeState?: "NotLevel" | "Level" | undefined;
|
|
@@ -4389,7 +4390,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4389
4390
|
totalChargeStationPoints?: number | undefined;
|
|
4390
4391
|
totalPoints?: number | undefined;
|
|
4391
4392
|
}, {}>;
|
|
4392
|
-
"2024":
|
|
4393
|
+
"2024": ObjectType_2< {
|
|
4393
4394
|
adjustPoints?: number | undefined;
|
|
4394
4395
|
autoAmpNoteCount?: number | undefined;
|
|
4395
4396
|
autoAmpNotePoints?: number | undefined;
|
|
@@ -4443,7 +4444,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4443
4444
|
trapStageLeft?: boolean | undefined;
|
|
4444
4445
|
trapStageRight?: boolean | undefined;
|
|
4445
4446
|
}, {}>;
|
|
4446
|
-
"2025":
|
|
4447
|
+
"2025": ObjectType_2< {
|
|
4447
4448
|
adjustPoints?: number | undefined;
|
|
4448
4449
|
algaePoints?: number | undefined;
|
|
4449
4450
|
autoBonusAchieved?: boolean | undefined;
|
|
@@ -4572,7 +4573,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4572
4573
|
totalPoints?: number | undefined;
|
|
4573
4574
|
wallAlgaeCount?: number | undefined;
|
|
4574
4575
|
}, {}>;
|
|
4575
|
-
"2026":
|
|
4576
|
+
"2026": ObjectType_2< {
|
|
4576
4577
|
adjustPoints?: number | undefined;
|
|
4577
4578
|
autoTowerPoints?: number | undefined;
|
|
4578
4579
|
autoTowerRobot1?: "None" | "Level1" | "Level2" | "Level3" | undefined;
|
|
@@ -4618,7 +4619,7 @@ export declare const matchScoreBreakdownYearsAlliances: {
|
|
|
4618
4619
|
};
|
|
4619
4620
|
|
|
4620
4621
|
export declare const matchScoreBreakdownYearsMatches: {
|
|
4621
|
-
"2015":
|
|
4622
|
+
"2015": ObjectType_2< {
|
|
4622
4623
|
red: {
|
|
4623
4624
|
adjust_points?: number | undefined;
|
|
4624
4625
|
auto_points?: number | undefined;
|
|
@@ -4675,7 +4676,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
4675
4676
|
coopertition_points: number;
|
|
4676
4677
|
yearOfCompetition: 2015;
|
|
4677
4678
|
}, {}>;
|
|
4678
|
-
"2016":
|
|
4679
|
+
"2016": ObjectType_2< {
|
|
4679
4680
|
red: {
|
|
4680
4681
|
adjustPoints?: number | undefined;
|
|
4681
4682
|
autoBoulderPoints?: number | undefined;
|
|
@@ -4760,7 +4761,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
4760
4761
|
};
|
|
4761
4762
|
yearOfCompetition: 2016;
|
|
4762
4763
|
}, {}>;
|
|
4763
|
-
"2017":
|
|
4764
|
+
"2017": ObjectType_2< {
|
|
4764
4765
|
red: {
|
|
4765
4766
|
adjustPoints?: number | undefined;
|
|
4766
4767
|
autoFuelHigh?: number | undefined;
|
|
@@ -4835,7 +4836,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
4835
4836
|
};
|
|
4836
4837
|
yearOfCompetition: 2017;
|
|
4837
4838
|
}, {}>;
|
|
4838
|
-
"2018":
|
|
4839
|
+
"2018": ObjectType_2< {
|
|
4839
4840
|
red: {
|
|
4840
4841
|
adjustPoints?: number | undefined;
|
|
4841
4842
|
autoOwnershipPoints?: number | undefined;
|
|
@@ -4916,7 +4917,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
4916
4917
|
};
|
|
4917
4918
|
yearOfCompetition: 2018;
|
|
4918
4919
|
}, {}>;
|
|
4919
|
-
"2019":
|
|
4920
|
+
"2019": ObjectType_2< {
|
|
4920
4921
|
red: {
|
|
4921
4922
|
adjustPoints?: number | undefined;
|
|
4922
4923
|
autoPoints?: number | undefined;
|
|
@@ -5025,7 +5026,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
5025
5026
|
};
|
|
5026
5027
|
yearOfCompetition: 2019;
|
|
5027
5028
|
}, {}>;
|
|
5028
|
-
"2020":
|
|
5029
|
+
"2020": ObjectType_2< {
|
|
5029
5030
|
red: {
|
|
5030
5031
|
adjustPoints?: number | undefined;
|
|
5031
5032
|
autoCellPoints?: number | undefined;
|
|
@@ -5100,7 +5101,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
5100
5101
|
};
|
|
5101
5102
|
yearOfCompetition: 2020;
|
|
5102
5103
|
}, {}>;
|
|
5103
|
-
"2022":
|
|
5104
|
+
"2022": ObjectType_2< {
|
|
5104
5105
|
red: {
|
|
5105
5106
|
adjustPoints?: number | undefined;
|
|
5106
5107
|
autoCargoLowerBlue?: number | undefined;
|
|
@@ -5187,7 +5188,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
5187
5188
|
};
|
|
5188
5189
|
yearOfCompetition: 2022;
|
|
5189
5190
|
}, {}>;
|
|
5190
|
-
"2023":
|
|
5191
|
+
"2023": ObjectType_2< {
|
|
5191
5192
|
red: {
|
|
5192
5193
|
activationBonusAchieved?: boolean | undefined;
|
|
5193
5194
|
adjustPoints?: number | undefined;
|
|
@@ -5290,7 +5291,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
5290
5291
|
};
|
|
5291
5292
|
yearOfCompetition: 2023;
|
|
5292
5293
|
}, {}>;
|
|
5293
|
-
"2024":
|
|
5294
|
+
"2024": ObjectType_2< {
|
|
5294
5295
|
red: {
|
|
5295
5296
|
adjustPoints?: number | undefined;
|
|
5296
5297
|
autoAmpNoteCount?: number | undefined;
|
|
@@ -5401,7 +5402,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
5401
5402
|
};
|
|
5402
5403
|
yearOfCompetition: 2024;
|
|
5403
5404
|
}, {}>;
|
|
5404
|
-
"2025":
|
|
5405
|
+
"2025": ObjectType_2< {
|
|
5405
5406
|
red: {
|
|
5406
5407
|
adjustPoints?: number | undefined;
|
|
5407
5408
|
algaePoints?: number | undefined;
|
|
@@ -5662,7 +5663,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
5662
5663
|
};
|
|
5663
5664
|
yearOfCompetition: 2025;
|
|
5664
5665
|
}, {}>;
|
|
5665
|
-
"2026":
|
|
5666
|
+
"2026": ObjectType_2< {
|
|
5666
5667
|
red: {
|
|
5667
5668
|
adjustPoints?: number | undefined;
|
|
5668
5669
|
autoTowerPoints?: number | undefined;
|
|
@@ -5753,7 +5754,7 @@ export declare const matchScoreBreakdownYearsMatches: {
|
|
|
5753
5754
|
}, {}>;
|
|
5754
5755
|
};
|
|
5755
5756
|
|
|
5756
|
-
export declare const Media:
|
|
5757
|
+
export declare const Media: ObjectType_2< {
|
|
5757
5758
|
type: string;
|
|
5758
5759
|
foreign_key: string;
|
|
5759
5760
|
team_keys: string[];
|
|
@@ -5765,7 +5766,7 @@ direct_url?: string | undefined;
|
|
|
5765
5766
|
view_url?: string | undefined;
|
|
5766
5767
|
}, {}>;
|
|
5767
5768
|
|
|
5768
|
-
export declare const NotablesInsight:
|
|
5769
|
+
export declare const NotablesInsight: ObjectType_2< {
|
|
5769
5770
|
data: {
|
|
5770
5771
|
entries: {
|
|
5771
5772
|
context: string[];
|
|
@@ -5776,7 +5777,7 @@ name: string;
|
|
|
5776
5777
|
year: number;
|
|
5777
5778
|
}, {}>;
|
|
5778
5779
|
|
|
5779
|
-
export declare const Regional_Advancement:
|
|
5780
|
+
export declare const Regional_Advancement: ObjectType_2< {
|
|
5780
5781
|
cmp: boolean;
|
|
5781
5782
|
cmp_status: "NotInvited" | "PreQualified" | "EventQualified" | "PoolQualified" | "Declined";
|
|
5782
5783
|
qualifying_event?: string | undefined;
|
|
@@ -5784,7 +5785,7 @@ qualifying_award_name?: string | undefined;
|
|
|
5784
5785
|
qualifying_pool_week?: number | undefined;
|
|
5785
5786
|
}, {}>;
|
|
5786
5787
|
|
|
5787
|
-
export declare const Regional_Ranking:
|
|
5788
|
+
export declare const Regional_Ranking: ObjectType_2< {
|
|
5788
5789
|
team_key: string;
|
|
5789
5790
|
rank: number;
|
|
5790
5791
|
point_total: number;
|
|
@@ -5880,7 +5881,7 @@ export declare type TBAEndpoint = keyof typeof endpoints;
|
|
|
5880
5881
|
|
|
5881
5882
|
export declare type TBAEndpoints = typeof endpoints;
|
|
5882
5883
|
|
|
5883
|
-
export declare const Team:
|
|
5884
|
+
export declare const Team: ObjectType_2< {
|
|
5884
5885
|
key: string;
|
|
5885
5886
|
team_number: number;
|
|
5886
5887
|
nickname: string;
|
|
@@ -5989,14 +5990,14 @@ team_key: string | null;
|
|
|
5989
5990
|
} | undefined;
|
|
5990
5991
|
}, {}>;
|
|
5991
5992
|
|
|
5992
|
-
export declare const Team_Robot:
|
|
5993
|
+
export declare const Team_Robot: ObjectType_2< {
|
|
5993
5994
|
year: number;
|
|
5994
5995
|
robot_name: string;
|
|
5995
5996
|
key: string;
|
|
5996
5997
|
team_key: string;
|
|
5997
5998
|
}, {}>;
|
|
5998
5999
|
|
|
5999
|
-
export declare const Team_Simple:
|
|
6000
|
+
export declare const Team_Simple: ObjectType_2< {
|
|
6000
6001
|
key: string;
|
|
6001
6002
|
team_number: number;
|
|
6002
6003
|
nickname: string;
|