mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 12:28:13 +03:00
Rename UserGoals to GoalSubscriptions (and the same for milestones)
This commit is contained in:
+4
-4
@@ -559,7 +559,7 @@ interface ImportTimingSections {
|
||||
}
|
||||
|
||||
export type GoalImportStat = Pick<
|
||||
UserGoalDocument,
|
||||
GoalSubscriptionDocument,
|
||||
"progress" | "progressHuman" | "outOf" | "outOfHuman" | "achieved"
|
||||
>;
|
||||
|
||||
@@ -569,7 +569,7 @@ export interface GoalImportInfo {
|
||||
new: GoalImportStat;
|
||||
}
|
||||
|
||||
export type MilestoneImportStat = Pick<UserMilestoneDocument, "progress" | "achieved">;
|
||||
export type MilestoneImportStat = Pick<MilestoneSubscriptionDocument, "progress" | "achieved">;
|
||||
|
||||
export interface MilestoneImportInfo {
|
||||
milestoneID: string;
|
||||
@@ -590,7 +590,7 @@ export type GoalOrigin =
|
||||
milestoneID: string;
|
||||
};
|
||||
|
||||
export type UserGoalDocument = MongoDBDocument & {
|
||||
export type GoalSubscriptionDocument = MongoDBDocument & {
|
||||
goalID: string;
|
||||
userID: integer;
|
||||
game: Game;
|
||||
@@ -973,7 +973,7 @@ export interface FolderChartLookup extends MongoDBDocument {
|
||||
folderID: string;
|
||||
}
|
||||
|
||||
export type UserMilestoneDocument = MongoDBDocument & {
|
||||
export type MilestoneSubscriptionDocument = MongoDBDocument & {
|
||||
milestoneID: string;
|
||||
userID: integer;
|
||||
game: Game;
|
||||
|
||||
Reference in New Issue
Block a user