mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-03-22 01:44:39 -05:00
48 lines
692 B
TypeScript
48 lines
692 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,
|
|
friendId: string,
|
|
dataVersion: number
|
|
}
|
|
|
|
export interface Params {
|
|
collection: 'params',
|
|
version: string,
|
|
|
|
params: {
|
|
[key: string]: any;
|
|
};
|
|
}
|
|
|
|
export interface Rivals {
|
|
collection: 'rivals',
|
|
rivals: string[]
|
|
}
|
|
|
|
export interface Scores {
|
|
collection: 'scores',
|
|
version: string,
|
|
|
|
scores: {
|
|
[key: string]: {
|
|
clear_type?: number,
|
|
score: number,
|
|
cnt: number,
|
|
};
|
|
};
|
|
} |