plugins/popn@asphyxia/models/common.ts
cracrayol ad677b4c2b Pop'n Music plugin v2.0.0
* Big rewrite/reorganization of the code
* Add support for Tune Street, fantasia, Sunny Park, Lapistoria
* Add automatic convertion from plugin v1.x data to v2.x
* Enable/disable score sharing between versions
* Various fixes
2021-04-09 23:08:37 +02:00

42 lines
601 B
TypeScript

export interface Phase {
id: number;
p: number;
}
export interface ExtraData {
[field: string]: {
path: string;
pathSrc?: string;
type: string;
default: any;
isArray?: true;
};
};
export interface Profile {
collection: 'profile',
name: string;
dataVersion: number;
}
export interface Params {
collection: 'params',
version: string,
params: {
[key: string]: any;
};
}
export interface Scores {
collection: 'scores',
version: string,
scores: {
[key: string]: {
clear_type?: number;
score: number;
cnt: number;
};
};
}