Interface Dependency

Represents a dependency that a version has

interface Dependency {
    dependency_type: "required" | "optional" | "incompatible" | "embedded";
    file_name: null | string;
    project_id: null | string;
    version_id: null | string;
}

Properties

dependency_type: "required" | "optional" | "incompatible" | "embedded"

The type of dependency that this version has

file_name: null | string

The file name of the dependency, mostly used for showing external dependencies on modpacks

project_id: null | string

The ID of the project that this version depends on

version_id: null | string

The ID of the version that this version depends on