From 8c9835ec41fb56c8594cb6dbf106cc6649a02570 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Tue, 4 Apr 2023 13:24:01 +0000 Subject: [PATCH] Made interface that represents CurseForge dependency --- .../curseforge/curseforge-dependency.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/platforms/curseforge/curseforge-dependency.ts diff --git a/src/platforms/curseforge/curseforge-dependency.ts b/src/platforms/curseforge/curseforge-dependency.ts new file mode 100644 index 0000000..22a8724 --- /dev/null +++ b/src/platforms/curseforge/curseforge-dependency.ts @@ -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; +}