📓 Update documentation
This commit is contained in:
parent
b027d86c5f
commit
806e9fb330
2 changed files with 37 additions and 29 deletions
src/interfaces
|
@ -10,7 +10,7 @@ interface ISolidFileInfo {
|
|||
files: ISolidFile[];
|
||||
/** Length of one piece in bytes, i.e. 64 KiB, 128 KiB, 256 KiB, 512 KiB, 1 MiB, 2MiB or 4 MiB */
|
||||
'piece length': 65536 | 131072 | 262144| 524288 | 1048576| 2097152| 4194304;
|
||||
/** Concatenated SHA1 hashes of all pieces, where each hash is 20 bytes long. */
|
||||
/** Concatenated SHA1 hashes of all pieces, where each hash is 20 bytes (or 40 characters) long. */
|
||||
pieces: string;
|
||||
/** Whether the torrent is private, always 0. */
|
||||
private: 0 | 1;
|
||||
|
@ -31,8 +31,8 @@ interface ISolid {
|
|||
networkgroupid: 16068 | 16097;
|
||||
/** The URL where the files from this torrent are stored, in the format `http://cdn-patch.swtor.com/patch/${product}/${product}_${from}to${to}/` */
|
||||
reliable: string;
|
||||
/** Always '0' or '1' */
|
||||
'reliable-id': '0' | '1' | '2';
|
||||
/** Integer in the range 0-3 */
|
||||
'reliable-id': '0' | '1' | '2' | '3';
|
||||
/** Contains further information about this torrent, including the list of files. */
|
||||
info: ISolidFileInfo;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue