feat: groundwork for multi-profile support

This commit is contained in:
2025-03-03 02:07:15 +01:00
parent d25841853c
commit 6410ca2721
16 changed files with 744 additions and 184 deletions

View File

@ -19,11 +19,16 @@ export interface Package {
};
}
export interface Profile {
export type Game = 'ongeki' | 'chunithm';
export interface ProfileMeta {
game: Game;
name: string;
game: 'Ongeki' | 'Chunithm';
mods: string[];
cfg: { [key: string]: string | boolean | number };
}
export type PackageC = Map<string, Package>;
export interface Profile extends ProfileMeta {
data: {
mods: string[];
cfg: { [key: string]: string | boolean | number };
};
}