mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-21 16:00:59 -05:00
Made interface that represents Modrinth dependency
This commit is contained in:
parent
43a037e6e1
commit
3bb4e7f7f9
1 changed files with 26 additions and 0 deletions
26
src/platforms/modrinth/modrinth-dependency.ts
Normal file
26
src/platforms/modrinth/modrinth-dependency.ts
Normal file
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue