tornapi-typescript 1.10.0 → 1.10.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/dist/index.d.ts +2 -0
- package/dist/openapi.json +19 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4873,6 +4873,7 @@ export interface Revive {
|
|
|
4873
4873
|
id: FactionId;
|
|
4874
4874
|
name: string;
|
|
4875
4875
|
} | null;
|
|
4876
|
+
skill: number | null;
|
|
4876
4877
|
};
|
|
4877
4878
|
target: {
|
|
4878
4879
|
id: UserId;
|
|
@@ -7460,6 +7461,7 @@ export interface RacerDetails {
|
|
|
7460
7461
|
export interface RacingRaceDetailsResponse {
|
|
7461
7462
|
race?: Race & {
|
|
7462
7463
|
results: RacerDetails[];
|
|
7464
|
+
is_official: boolean;
|
|
7463
7465
|
};
|
|
7464
7466
|
}
|
|
7465
7467
|
|
package/dist/openapi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Torn API",
|
|
5
5
|
"description": "\n * The development of Torn's API v2 is still ongoing.\n * If selections remain unaltered, they will default to the API v1 version.\n * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters.\n * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.\n * In case you're using bots to check for changes on openapi.json file, make sure to specificy a custom user-agent header - CloudFlare sometimes prevents requests from default user-agents.",
|
|
6
|
-
"version": "1.10.
|
|
6
|
+
"version": "1.10.2"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -11975,7 +11975,8 @@
|
|
|
11975
11975
|
"required": [
|
|
11976
11976
|
"id",
|
|
11977
11977
|
"name",
|
|
11978
|
-
"faction"
|
|
11978
|
+
"faction",
|
|
11979
|
+
"skill"
|
|
11979
11980
|
],
|
|
11980
11981
|
"properties": {
|
|
11981
11982
|
"id": {
|
|
@@ -12005,6 +12006,18 @@
|
|
|
12005
12006
|
"type": "null"
|
|
12006
12007
|
}
|
|
12007
12008
|
]
|
|
12009
|
+
},
|
|
12010
|
+
"skill": {
|
|
12011
|
+
"description": "Entries before 16/06/2025 will have this field set as null.",
|
|
12012
|
+
"oneOf": [
|
|
12013
|
+
{
|
|
12014
|
+
"type": "number",
|
|
12015
|
+
"format": "float"
|
|
12016
|
+
},
|
|
12017
|
+
{
|
|
12018
|
+
"type": "null"
|
|
12019
|
+
}
|
|
12020
|
+
]
|
|
12008
12021
|
}
|
|
12009
12022
|
},
|
|
12010
12023
|
"type": "object"
|
|
@@ -21999,6 +22012,7 @@
|
|
|
21999
22012
|
},
|
|
22000
22013
|
{
|
|
22001
22014
|
"required": [
|
|
22015
|
+
"is_official",
|
|
22002
22016
|
"results"
|
|
22003
22017
|
],
|
|
22004
22018
|
"properties": {
|
|
@@ -22007,6 +22021,9 @@
|
|
|
22007
22021
|
"items": {
|
|
22008
22022
|
"$ref": "#/components/schemas/RacerDetails"
|
|
22009
22023
|
}
|
|
22024
|
+
},
|
|
22025
|
+
"is_official": {
|
|
22026
|
+
"type": "boolean"
|
|
22010
22027
|
}
|
|
22011
22028
|
},
|
|
22012
22029
|
"type": "object"
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tornapi-typescript",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.2",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate-types": "tsc && node build/index.js"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@scalar/openapi-types": "^0.3.
|
|
9
|
+
"@scalar/openapi-types": "^0.3.3",
|
|
10
10
|
"@types/node": "^22.15.31",
|
|
11
11
|
"prettier": "^3.5.3",
|
|
12
12
|
"typeconv": "^2.3.1",
|