diff --git a/src/enums/hash-format.ts b/src/enums/hash-format.ts index 4c29bb5..93ca847 100644 --- a/src/enums/hash-format.ts +++ b/src/enums/hash-format.ts @@ -2,10 +2,26 @@ * The hash formats allowed by Packwiz. */ export enum HashFormat { + /** + * SHA-256 hash format. + */ "sha256" = "sha256", + /** + * SHA-512 hash format. + */ "sha512" = "sha512", + /** + * SHA-1 hash format. + */ "sha1" = "sha1", + /** + * MD5 hash format. + */ "md5" = "md5", + /** + * Murmur2 hash format. + * This is a proprietary hash format used by CurseForge. + */ "murmur2" = "murmur2", } diff --git a/src/enums/side.ts b/src/enums/side.ts index 7f87b7c..3a91e1b 100644 --- a/src/enums/side.ts +++ b/src/enums/side.ts @@ -2,8 +2,17 @@ * The sides allowed by Packwiz. */ export enum Side { + /** + * Download a file on both clients and servers. + */ "Both" = "both", + /** + * Download a file only on clients. + */ "Client" = "client", + /** + * Download a file only on servers. + */ "Server" = "server", }