@ctrl/qbittorrent 9.9.0 → 9.10.0

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.
@@ -182,6 +182,41 @@ export interface Torrent {
182
182
  * Comma-concatenated tag list of the torrent e.g. - "abc, 123"
183
183
  */
184
184
  tags: string;
185
+ /**
186
+ * Absolute path of torrent content (root path for multifile torrents,
187
+ * absolute file path for singlefile torrents)
188
+ * Added in qBittorrent WebUI API v2.6.1
189
+ */
190
+ content_path: string;
191
+ /**
192
+ * Whether this torrent is managed by Automatic Torrent Management
193
+ */
194
+ auto_tmm: boolean;
195
+ /**
196
+ * Percentage of file pieces currently available
197
+ * Added in qBittorrent WebUI API v2.2.0
198
+ */
199
+ availability: number;
200
+ /**
201
+ * True if force start is enabled for this torrent
202
+ */
203
+ force_start: boolean;
204
+ /**
205
+ * True if torrent is from a private tracker
206
+ * Added in qBittorrent v5.0.0
207
+ * Might be able to make not optional once qb v5 is more widely used
208
+ */
209
+ isPrivate?: boolean;
210
+ /**
211
+ * Time until the next tracker reannounce
212
+ * Added in qBittorrent WebUI API v2.9.3 (qb v5.0.0)
213
+ */
214
+ reannounce?: number;
215
+ /**
216
+ * Torrent elapsed time while complete (seconds)
217
+ * Added in qBittorrent WebUI API v2.8.1
218
+ */
219
+ seeding_time: number;
185
220
  }
186
221
  export type TorrentCategories = Record<string, Category>;
187
222
  interface Category {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctrl/qbittorrent",
3
- "version": "9.9.0",
3
+ "version": "9.10.0",
4
4
  "description": "TypeScript api wrapper for qbittorrent using ofetch",
5
5
  "author": "Scott Cooper <scttcper@gmail.com>",
6
6
  "license": "MIT",
@@ -37,24 +37,24 @@
37
37
  "dependencies": {
38
38
  "@ctrl/magnet-link": "^4.2.0",
39
39
  "@ctrl/shared-torrent": "^6.5.0",
40
- "@ctrl/torrent-file": "^4.2.0",
40
+ "@ctrl/torrent-file": "^4.4.0",
41
41
  "cookie": "^1.0.2",
42
42
  "node-fetch-native": "^1.6.7",
43
43
  "ofetch": "^1.4.1",
44
- "type-fest": "^5.0.1",
44
+ "type-fest": "^5.1.0",
45
45
  "ufo": "^1.6.1",
46
46
  "uint8array-extras": "^1.5.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@ctrl/oxlint-config": "1.2.6",
49
+ "@ctrl/oxlint-config": "1.2.8",
50
50
  "@sindresorhus/tsconfig": "8.0.1",
51
51
  "@trivago/prettier-plugin-sort-imports": "5.2.2",
52
- "@types/node": "24.6.1",
52
+ "@types/node": "24.7.2",
53
53
  "@vitest/coverage-v8": "3.2.4",
54
- "oxlint": "1.19.0",
54
+ "oxlint": "1.22.0",
55
55
  "p-wait-for": "6.0.0",
56
56
  "prettier": "3.6.2",
57
- "typedoc": "0.28.13",
57
+ "typedoc": "0.28.14",
58
58
  "typescript": "5.9.3",
59
59
  "vitest": "3.2.4"
60
60
  },
@@ -66,7 +66,7 @@
66
66
  "engines": {
67
67
  "node": ">=18"
68
68
  },
69
- "packageManager": "pnpm@10.17.1",
69
+ "packageManager": "pnpm@10.18.2",
70
70
  "prettier": {
71
71
  "singleQuote": true,
72
72
  "trailingComma": "all",