From a54abaa27421dbf0f07a150fc5fd362f847655d1 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Tue, 25 Apr 2023 15:13:01 +0000 Subject: [PATCH] Made interface that represents Modrinth loader --- src/platforms/modrinth/modrinth-loader.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/platforms/modrinth/modrinth-loader.ts diff --git a/src/platforms/modrinth/modrinth-loader.ts b/src/platforms/modrinth/modrinth-loader.ts new file mode 100644 index 0000000..394806a --- /dev/null +++ b/src/platforms/modrinth/modrinth-loader.ts @@ -0,0 +1,19 @@ +/** + * Represents a Modrinth loader. + */ +export interface ModrinthLoader { + /** + * The SVG icon of the loader. + */ + icon: string; + + /** + * The name of the loader. + */ + name: string; + + /** + * The project types that this loader is applicable to. + */ + supported_project_types: string[]; +}