modrinthjs
Version:
A type safe Modrinth implementation.
30 lines (29 loc) • 797 B
TypeScript
export type VersionDependency = {
/**
* The ID of the version that this version depends on
*/
version_id?: string | null;
/**
* The ID of the project that this version depends on
*/
project_id?: string | null;
/**
* The file name of the dependency, mostly used for showing external dependencies on modpacks
*/
file_name?: string | null;
/**
* The type of dependency that this version has
*/
dependency_type: VersionDependency.dependency_type;
};
export declare namespace VersionDependency {
/**
* The type of dependency that this version has
*/
enum dependency_type {
REQUIRED = "required",
OPTIONAL = "optional",
INCOMPATIBLE = "incompatible",
EMBEDDED = "embedded"
}
}