Skip to content

Commit 9c0c68a

Browse files
author
MMelchor
committed
feat: [torrust#14] show torrent fields creation date created by encoding
Updated versioning.
1 parent 0e331c6 commit 9c0c68a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
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

+6
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)