mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 01:41:05 -05:00
Made interface that represents CurseForge dependency
This commit is contained in:
parent
4c018de66e
commit
8c9835ec41
1 changed files with 16 additions and 0 deletions
16
src/platforms/curseforge/curseforge-dependency.ts
Normal file
16
src/platforms/curseforge/curseforge-dependency.ts
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
import { CurseForgeDependencyType } from "./curseforge-dependency-type";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a CurseForge version dependency.
|
||||||
|
*/
|
||||||
|
export interface CurseForgeDependency {
|
||||||
|
/**
|
||||||
|
* The slug of the dependency.
|
||||||
|
*/
|
||||||
|
slug: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The type of dependency (e.g., requiredDependency, optionalDependency).
|
||||||
|
*/
|
||||||
|
type: CurseForgeDependencyType;
|
||||||
|
}
|
Loading…
Reference in a new issue