-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ #48: Typen für ProgressSteps hinzugefügt
- Loading branch information
1 parent
9bbfe0c
commit 84ad3d5
Showing
1 changed file
with
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* Beschreibt einen zu erledigenden Schritt bis zur Ablöse der Coming Soon Page | ||
*/ | ||
export type ProgressStep = { | ||
/** | ||
* Name des Schritts | ||
* | ||
* <p>Beschreibt den zu erledigenden Schritt möglichst kompakt | ||
*/ | ||
schritt: string; | ||
/** | ||
* Ausführlichere Beschreibung des Schritts | ||
* | ||
* <p>Ausführliche Beschreibung, die das Verständnis der jeweiligen Aufgaben beim Leser ermöglichen soll | ||
*/ | ||
beschreibung?: string; | ||
/** | ||
* Zustand des Arbeitsschritts | ||
* | ||
* <p>Auch bereits erledigte Schritte sollen festgehalten werden. | ||
* So ist die Darstellung eines Fortschrittsbalkens möglich. | ||
*/ | ||
erledigt?: boolean; | ||
/** | ||
* Link zu einem zugehörigen Github-Issue | ||
*/ | ||
link?: string; | ||
}; | ||
|
||
/** | ||
* Beschreibt Gruppen zusammengehöriger ProgressSteps | ||
* | ||
* <p>So können diese auf der Oberfläche gegliedert werden. | ||
*/ | ||
export type ProgressStepGroup = { | ||
/** | ||
* Name der Gruppe | ||
*/ | ||
name: string; | ||
/** | ||
* Elemente der Gruppe | ||
*/ | ||
steps: ProgressStep[]; | ||
}; |