diff --git a/src/platforms/modrinth/modrinth-dependency.ts b/src/platforms/modrinth/modrinth-dependency.ts new file mode 100644 index 0000000..cb0f939 --- /dev/null +++ b/src/platforms/modrinth/modrinth-dependency.ts @@ -0,0 +1,26 @@ +import { ModrinthDependencyType } from "./modrinth-dependency-type"; + +/** + * Represents a Modrinth version dependency. + */ +export interface ModrinthDependency { + /** + * The version id of the dependency. + */ + version_id?: string; + + /** + * The project id of the dependency. + */ + project_id?: string; + + /** + * The file name of the dependency. + */ + file_name?: string; + + /** + * The type of dependency (e.g., required, optional). + */ + dependency_type: ModrinthDependencyType; +}