Skip to content

Commit

Permalink
feat: add canonical_info_hash_group to TorrentResponse
Browse files Browse the repository at this point in the history
```typescript
export type TorrentResponse = {
    torrent_id: number
    uploader: string
    info_hash: string
    title: string
    description: string | null
    category: Category
    upload_date: string
    file_size: number
    seeders: number
    leechers: number
    files: Array<TorrentFile>
    trackers: Array<string>
    magnet_link: string
    tags: Array<TorrentTag>
    name: string
    comment: string | null
    creation_date: number | null;
    created_by: string | null;
    encoding: string | null;
    canonical_info_hash_group: Array<string>;
}
```
  • Loading branch information
josecelano committed Mar 6, 2024
1 parent 946bd72 commit d5e97a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/types/torrent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export type TorrentResponse = {
creation_date: number | null;
created_by: string | null;
encoding: string | null;
canonical_info_hash_group: Array<string>;
}

export type TorrentListing = {
Expand Down

0 comments on commit d5e97a5

Please sign in to comment.