mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-08 06:48:04 +03:00
Small refactor on UGPTStats.
This commit is contained in:
+13
-4
@@ -1302,10 +1302,19 @@ export interface ImportLockDocument extends MongoDBDocument {
|
||||
userID: integer;
|
||||
}
|
||||
|
||||
export interface UGPTStatDetails {
|
||||
folderID: string;
|
||||
key: "score" | "percent" | "grade" | "lamp";
|
||||
value: number;
|
||||
export type UGPTStatDetails = UGPTStatFolder | UGPTStatChart;
|
||||
|
||||
export interface UGPTStatFolder {
|
||||
mode: "folder";
|
||||
folderID: string | string[];
|
||||
property: "score" | "percent" | "grade" | "lamp";
|
||||
gte: number;
|
||||
}
|
||||
|
||||
export interface UGPTStatChart {
|
||||
mode: "chart";
|
||||
chartID: string;
|
||||
property: "score" | "percent" | "grade" | "lamp" | "playcount";
|
||||
}
|
||||
|
||||
export interface UGPTSettings<I extends IDStrings> extends MongoDBDocument {
|
||||
|
||||
Reference in New Issue
Block a user