Skip to content

Commit 7241783

Browse files
committed
Merge #10: #9 The downloaded torrent filename is the torrent title instead of the original torrent file name
3e28d76 feat: release v0.3.0 (MMelchor) f6dd423 feat: [#9] the downloaded torrent filename is the title instead of the name (MMelchor) Pull request description: Resolves #9 ACKs for top commit: josecelano: ACK 3e28d76 Tree-SHA512: 36c0cfb8387d97bc0dd3b9a62f19756bdfe99cabe6c14fbbf60ab2e6d6a5c96d1f641c28c0584a41a1ed4600bbefdf324fbcc3c0134155d47992a6ef1e729264
2 parents 3a345ae + 3e28d76 commit 7241783

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "torrust-index-types-lib",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "Contains common types for the Torrust project.",
55
"repository": "https://github.com/torrust/torrust-index-types-lib",
66
"license" : "SEE LICENSE IN COPYRIGHT",

src/types/torrent.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export type TorrentResponse = {
1616
trackers: Array<string>
1717
magnet_link: string
1818
tags: Array<TorrentTag>
19+
name: string
1920
}
2021

2122
export type TorrentListing = {
@@ -29,6 +30,7 @@ export type TorrentListing = {
2930
file_size: number
3031
leechers: number
3132
seeders: number
33+
name: string
3234
}
3335

3436
export type TorrentFile = {

0 commit comments

Comments
 (0)