document enums
All checks were successful
Actions / Build and Push Documentation (push) Successful in 15s

This commit is contained in:
cswimr 2025-02-09 16:39:52 -06:00
parent 8c332fe75c
commit 3278d0a213
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
2 changed files with 25 additions and 0 deletions

View file

@ -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",
}

View file

@ -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",
}