mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-01 11:28:13 +03:00
feat: bunch of new stuff + proper dependency handling
This commit is contained in:
@@ -19,7 +19,6 @@ type GoalSubscriptionDocument = MongoDBDocument & {
|
||||
userID: integer;
|
||||
game: Game;
|
||||
playtype: Playtype;
|
||||
timeSet: integer;
|
||||
lastInteraction: integer | null;
|
||||
progress: number | null;
|
||||
progressHuman: string;
|
||||
@@ -44,7 +43,6 @@ type GoalSubscriptionDocument = MongoDBDocument & {
|
||||
| `userID` | This is the user this goal subscription belongs to. |
|
||||
| `game`, `playtype` | These fields are both *technically* redundant. However, for optimisation reasons, they are copied over from the goal document field. |
|
||||
| `achieved` | Whether this goal has been achieved or not. |
|
||||
| `timeSet` | The time the user set this goal. |
|
||||
| `timeAchieved` | The time this user achieved this goal. If the user has not achieved this goal, it is set as `null`. |
|
||||
| `lastInteraction` | The last time this user did something that shifted their progress/outOf on this goal. This is initialised to null. |
|
||||
| `progress` | The user's raw progress towards this goal. This is a number, and should not be displayed to the user. |
|
||||
|
||||
Reference in New Issue
Block a user