mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[feat] added a naive way to parse mod metadata (#855)
This commit is contained in:
@@ -100,3 +100,27 @@ export interface BbmUserAPIResponse {
|
||||
createdAt?: Date;
|
||||
updatedAt?: Date;
|
||||
}
|
||||
|
||||
// https://raw.githubusercontent.com/bsmg/BSIPA-MetadataFileSchema/master/Schema.json
|
||||
export interface ModMetadata {
|
||||
name: string;
|
||||
id: string | null;
|
||||
version: string;
|
||||
gameVersion: string;
|
||||
description: string;
|
||||
author: string;
|
||||
dependsOn?: Record<string, string>;
|
||||
conflictsWith?: Record<string, string>;
|
||||
loadAfter?: string[];
|
||||
loadBefore?: string[];
|
||||
feature?: Record<string, string>;
|
||||
icon?: string;
|
||||
files?: string[];
|
||||
links?: {
|
||||
"project-home"?: string;
|
||||
"project-source"?: string;
|
||||
donate?: string;
|
||||
};
|
||||
misc?: Record<string, string>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user