modrinthjs
Version:
A type safe Modrinth implementation.
13 lines (12 loc) • 365 B
TypeScript
import type { BaseVersion } from './BaseVersion';
import type { EditableFileType } from './EditableFileType';
export type EditableVersion = (BaseVersion & {
/**
* The hash format and the hash of the new primary file
*/
primary_file?: Array<string>;
/**
* A list of file_types to edit
*/
file_types?: Array<EditableFileType>;
});