document enums
All checks were successful
Actions / Build and Push Documentation (push) Successful in 15s
All checks were successful
Actions / Build and Push Documentation (push) Successful in 15s
This commit is contained in:
parent
8c332fe75c
commit
3278d0a213
2 changed files with 25 additions and 0 deletions
|
@ -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",
|
||||
}
|
||||
|
||||
|
|
|
@ -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",
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue