feat: add dependencies resolution for modrinth

This commit is contained in:
Kentai Radiquum 2025-05-14 21:47:39 +05:00
parent 50a1c8118e
commit c517795725
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
6 changed files with 431 additions and 138 deletions

View file

@ -1,6 +1,6 @@
export type ModFile = {
"version": string,
"hashes": unknown,
"hashes": Record<string, string>,
"url": string,
"filename": string,
"size": number,

View file

@ -2,6 +2,7 @@ import { ModFile } from "./file";
export type Mod = {
"slug": string,
"project_id": string;
"icon": string,
"title":string,
"developers": string[],
@ -11,5 +12,6 @@ export type Mod = {
"client": boolean,
"server": boolean,
},
"dependencies": Mod[],
"file": ModFile,
}