This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: streak not incremented Signed-off-by: Henry Brink <[email protected]> * enh: Add new task Signed-off-by: Henry Brink <[email protected]> * fix: invalid id Signed-off-by: Henry Brink <[email protected]> --------- Signed-off-by: Henry Brink <[email protected]>
- Loading branch information
1 parent
c177bf6
commit 7fdd4d5
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { StepTask } from '../task.step'; | ||
import { TaskInfo } from '../task.types'; | ||
|
||
export class Task4 extends StepTask { | ||
getRequiredSteps(): number { | ||
return 4000; | ||
} | ||
getInfo(): TaskInfo { | ||
return { | ||
id: '4', | ||
title: 'Schritte-Meister: Junior', | ||
description: 'Erreiche mindestens 4.000 Schritte', | ||
points: 20, | ||
conditions: [], | ||
status: this.userStatus, | ||
}; | ||
} | ||
} |