Skip to content

Commit 946bd72

Browse files
committed
Merge #15: feat: [#14] show torrent fields creation date created by encoding
9c0c68a feat: [#14] show torrent fields creation date created by encoding (MMelchor) Pull request description: Resolves #14. ACKs for top commit: josecelano: ACK 9c0c68a Tree-SHA512: 56c97d6d0593dfa15836c2a28eb7d0bf98afef72d7508ba71c4ce0196c99f09a206112838eec82fec56415e3f4b12365abae3414a6ccd1114363243d7137e9c2
2 parents 0e331c6 + 9c0c68a commit 946bd72

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-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": "1.0.0-alpha.3",
3+
"version": "1.0.0-alpha.4",
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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ export type TorrentResponse = {
1818
tags: Array<TorrentTag>
1919
name: string
2020
comment: string | null
21+
creation_date: number | null;
22+
created_by: string | null;
23+
encoding: string | null;
2124
}
2225

2326
export type TorrentListing = {
@@ -33,6 +36,9 @@ export type TorrentListing = {
3336
seeders: number
3437
name: string
3538
comment: string | null
39+
creation_date: number | null;
40+
created_by: string | null;
41+
encoding: string | null;
3642
}
3743

3844
export type TorrentFile = {

0 commit comments

Comments
 (0)