forked from akanyan/STARTLINER
feat: amnet integration
This commit is contained in:
23
src/types.ts
23
src/types.ts
@ -7,7 +7,7 @@ export interface Package {
|
||||
version: string;
|
||||
path: string;
|
||||
dependencies: string[];
|
||||
kind: 'Unchecked' | 'Unsupported' | 'Mod' | 'Hook' | 'IO';
|
||||
status: Status;
|
||||
} | null;
|
||||
rmt: {
|
||||
version: string;
|
||||
@ -22,6 +22,20 @@ export interface Package {
|
||||
};
|
||||
}
|
||||
|
||||
export enum Feature {
|
||||
Hook = 0b00001,
|
||||
GameIO = 0b00010,
|
||||
Aime = 0b00100,
|
||||
AMNet = 0b01000,
|
||||
}
|
||||
|
||||
export type Status =
|
||||
| 'Unchecked'
|
||||
| 'Unsupported'
|
||||
| {
|
||||
OK: Feature;
|
||||
};
|
||||
|
||||
export type Game = 'ongeki' | 'chunithm';
|
||||
|
||||
export interface ProfileMeta {
|
||||
@ -36,8 +50,13 @@ export interface SegatoolsConfig {
|
||||
amfs: string;
|
||||
option: string;
|
||||
appdata: string;
|
||||
enable_aime: boolean;
|
||||
aime: { AMNet: string } | { Other: string } | null;
|
||||
intel: boolean;
|
||||
amnet: {
|
||||
name: string;
|
||||
addr: string;
|
||||
physical: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export interface DisplayConfig {
|
||||
|
Reference in New Issue
Block a user