feat: groundwork for multi-profile support
This commit is contained in:
15
src/types.ts
15
src/types.ts
@ -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 };
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user