UNPKG
modrinthjs
Version:
latest (2.0.7)
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A type safe Modrinth implementation.
github.com/refactorinqq/ModrinthJS
refactorinqq/ModrinthJS
modrinthjs
/
dist
/
src
/
models
/
HashList.d.ts
14 lines
(13 loc)
•
270 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** * A list of hashes and the algorithm used to create them */
export
type
HashList
= {
hashes
:
Array
<
string
>;
algorithm
:
HashList
.
algorithm
; };
export
declare
namespace
HashList
{
enum
algorithm {
SHA1
=
"sha1"
,
SHA512
=
"sha512"
} }