Skip to content

Commit

Permalink
feat: [torrust#14] show torrent fields creation date created by encoding
Browse files Browse the repository at this point in the history
Updated versioning.
  • Loading branch information
MMelchor committed Oct 10, 2023
1 parent 0e331c6 commit 9c0c68a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "torrust-index-types-lib",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"description": "Contains common types for the Torrust project.",
"repository": "https://github.com/torrust/torrust-index-types-lib",
"license" : "SEE LICENSE IN COPYRIGHT",
Expand Down
6 changes: 6 additions & 0 deletions src/types/torrent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export type TorrentResponse = {
tags: Array<TorrentTag>
name: string
comment: string | null
creation_date: number | null;
created_by: string | null;
encoding: string | null;
}

export type TorrentListing = {
Expand All @@ -33,6 +36,9 @@ export type TorrentListing = {
seeders: number
name: string
comment: string | null
creation_date: number | null;
created_by: string | null;
encoding: string | null;
}

export type TorrentFile = {
Expand Down

0 comments on commit 9c0c68a

Please sign in to comment.