rename ugptstat to stat showcase

This commit is contained in:
zkldi
2021-07-24 03:02:56 +01:00
parent c68516740b
commit 7f159fd90f
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -1048,14 +1048,14 @@ export interface APITokenDocument extends MongoDBDocument {
export interface ImportLockDocument extends MongoDBDocument {
userID: integer;
}
export declare type UGPTStatDetails = UGPTStatFolder | UGPTStatChart;
export interface UGPTStatFolder {
export declare type ShowcaseStatDetails = ShowcaseStatFolder | ShowcaseStatChart;
export interface ShowcaseStatFolder {
mode: "folder";
folderID: string | string[];
property: "score" | "percent" | "grade" | "lamp";
gte: number;
}
export interface UGPTStatChart {
export interface ShowcaseStatChart {
mode: "chart";
chartID: string;
property: "score" | "percent" | "grade" | "lamp" | "playcount";
@@ -1068,7 +1068,7 @@ export interface UGPTSettings<I extends IDStrings = IDStrings> extends MongoDBDo
preferredScoreAlg: ScoreCalculatedDataLookup[I] | null;
preferredSessionAlg: SessionCalculatedDataLookup[I] | null;
preferredProfileAlg: UGSRatingsLookup[I] | null;
stats: UGPTStatDetails[];
stats: ShowcaseStatDetails[];
};
}
export interface UserGameStatsSnapshot<I extends IDStrings = IDStrings> extends MongoDBDocument, UserGameStats<I> {
+4 -4
View File
@@ -1303,16 +1303,16 @@ export interface ImportLockDocument extends MongoDBDocument {
userID: integer;
}
export type UGPTStatDetails = UGPTStatFolder | UGPTStatChart;
export type ShowcaseStatDetails = ShowcaseStatFolder | ShowcaseStatChart;
export interface UGPTStatFolder {
export interface ShowcaseStatFolder {
mode: "folder";
folderID: string | string[];
property: "score" | "percent" | "grade" | "lamp";
gte: number;
}
export interface UGPTStatChart {
export interface ShowcaseStatChart {
mode: "chart";
chartID: string;
property: "score" | "percent" | "grade" | "lamp" | "playcount";
@@ -1326,7 +1326,7 @@ export interface UGPTSettings<I extends IDStrings = IDStrings> extends MongoDBDo
preferredScoreAlg: ScoreCalculatedDataLookup[I] | null;
preferredSessionAlg: SessionCalculatedDataLookup[I] | null;
preferredProfileAlg: UGSRatingsLookup[I] | null;
stats: UGPTStatDetails[];
stats: ShowcaseStatDetails[];
};
}