tornapi-typescript 6.13.5 → 6.13.6
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 +1 -1
- package/dist/index.ts +2 -1
- package/dist/openapi.json +16 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -7730,7 +7730,7 @@ export interface UserV2 extends BaseSchema {
|
|
|
7730
7730
|
};
|
|
7731
7731
|
search: {
|
|
7732
7732
|
response: UserSearchResponse;
|
|
7733
|
-
params: "name" | "filters" | "offset" | "timestamp";
|
|
7733
|
+
params: "name" | "filters" | "offset" | "sort" | "cursor" | "timestamp";
|
|
7734
7734
|
};
|
|
7735
7735
|
snapshot: {
|
|
7736
7736
|
response: null;
|
package/dist/index.ts
CHANGED
|
@@ -13755,7 +13755,8 @@ export interface UserV2 extends BaseSchema {
|
|
|
13755
13755
|
};
|
|
13756
13756
|
search: {
|
|
13757
13757
|
response: UserSearchResponse;
|
|
13758
|
-
params:
|
|
13758
|
+
params:
|
|
13759
|
+
"name" | "filters" | "offset" | "sort" | "cursor" | "timestamp";
|
|
13759
13760
|
};
|
|
13760
13761
|
snapshot: {
|
|
13761
13762
|
response: null;
|
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": "6.13.
|
|
6
|
+
"version": "6.13.6"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -3389,6 +3389,12 @@
|
|
|
3389
3389
|
{
|
|
3390
3390
|
"$ref": "#/components/parameters/ApiOffset"
|
|
3391
3391
|
},
|
|
3392
|
+
{
|
|
3393
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
"$ref": "#/components/parameters/ApiCursor"
|
|
3397
|
+
},
|
|
3392
3398
|
{
|
|
3393
3399
|
"$ref": "#/components/parameters/ApiTimestamp"
|
|
3394
3400
|
},
|
|
@@ -38206,6 +38212,15 @@
|
|
|
38206
38212
|
]
|
|
38207
38213
|
}
|
|
38208
38214
|
},
|
|
38215
|
+
"ApiCursor": {
|
|
38216
|
+
"name": "cursor",
|
|
38217
|
+
"in": "query",
|
|
38218
|
+
"description": "Opaque cursor from pagination links for searches without a name, in either sort direction. Offset is ignored for these searches.",
|
|
38219
|
+
"required": false,
|
|
38220
|
+
"schema": {
|
|
38221
|
+
"type": "string"
|
|
38222
|
+
}
|
|
38223
|
+
},
|
|
38209
38224
|
"ApiSortDesc": {
|
|
38210
38225
|
"name": "sort",
|
|
38211
38226
|
"in": "query",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tornapi-typescript",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.13.
|
|
4
|
+
"version": "6.13.6",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "git+https://github.com/Torn-Playground/tornapi-typescript.git"
|
|
7
7
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@scalar/openapi-types": "^0.9.5",
|
|
13
|
-
"@types/node": "^25.9.
|
|
13
|
+
"@types/node": "^25.9.7",
|
|
14
14
|
"prettier": "^3.9.6",
|
|
15
15
|
"typeconv": "^2.3.1",
|
|
16
16
|
"typescript": "^6.0.3"
|