modrinthjs
Version:
A type safe Modrinth implementation.
24 lines (23 loc) • 596 B
TypeScript
export type EditableFileType = {
/**
* The hash algorithm of the hash specified in the hash field
*/
algorithm: string;
/**
* The hash of the file you're editing
*/
hash: string;
/**
* The hash algorithm of the file you're editing
*/
file_type: EditableFileType.file_type | null;
};
export declare namespace EditableFileType {
/**
* The hash algorithm of the file you're editing
*/
enum file_type {
REQUIRED_RESOURCE_PACK = "required-resource-pack",
OPTIONAL_RESOURCE_PACK = "optional-resource-pack"
}
}