Skip to content

Commit

Permalink
feat: [#12] add comment field to torrent api responses
Browse files Browse the repository at this point in the history
-Added comment field to TorrentResponse and TorrentListing types
-Updated versioning
  • Loading branch information
MMelchor committed Oct 2, 2023
1 parent ac763db commit 1649084
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 2 additions & 0 deletions src/types/torrent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export type TorrentResponse = {
magnet_link: string
tags: Array<TorrentTag>
name: string
comment: string | null
}

export type TorrentListing = {
Expand All @@ -31,6 +32,7 @@ export type TorrentListing = {
leechers: number
seeders: number
name: string
comment: string | null
}

export type TorrentFile = {
Expand Down

0 comments on commit 1649084

Please sign in to comment.