|
1 | 1 | import { IRepoSourceConfig } from './IRepoSourceConfig';
|
2 | 2 |
|
3 | 3 | export interface IConfig {
|
4 |
| - // issue that is used as board |
| 4 | + /** |
| 5 | + * The issue that is used as aggregated board. |
| 6 | + */ |
5 | 7 | boardIssue: string;
|
6 |
| - // yyyy/mm/dd => 2020/10/15 |
| 8 | + |
| 9 | + /** |
| 10 | + * List of the repositories/projects to track. |
| 11 | + */ |
| 12 | + repos: IRepoSourceConfig[]; |
| 13 | + |
| 14 | + /** |
| 15 | + * The sprint start date in the `yyyy/mm/dd` format. |
| 16 | + * Example: "2020/10/15" |
| 17 | + */ |
7 | 18 | sprintStartDate?: string;
|
8 |
| - // number in days with weekends, e.g. 3 weeks => 21 |
| 19 | + |
| 20 | + /** |
| 21 | + * Sprint duration in days including weekends. |
| 22 | + * Must be specified if the `sprintStartDate` set. |
| 23 | + * Example: "21" (3 weeks) |
| 24 | + * |
| 25 | + * @minimum 7 |
| 26 | + * @TJS-type integer |
| 27 | + */ |
9 | 28 | sprintDuration?: number;
|
10 |
| - // number of holidays, default: 0 |
| 29 | + |
| 30 | + /** |
| 31 | + * Number of holidays during the sprint. |
| 32 | + * Example: "2" |
| 33 | + * |
| 34 | + * @minimum 0 |
| 35 | + * @TJS-type integer |
| 36 | + */ |
11 | 37 | sprintNumberHolidays?: number;
|
12 |
| - // file that will be added as the issue header |
| 38 | + |
| 39 | + /** |
| 40 | + * File that will be added as the issue header. |
| 41 | + * Example: "https://raw.githubusercontent.com/legomushroom/codespaces-board/main/sprints/sprint%2012/header.md" |
| 42 | + */ |
13 | 43 | headerFileUrl?: string;
|
14 |
| - // file that will be added as the issue footer |
| 44 | + |
| 45 | + /** |
| 46 | + * File that will be added as the issue footer. |
| 47 | + * Example: "https://raw.githubusercontent.com/legomushroom/codespaces-board/main/sprints/sprint%2012/footer.md" |
| 48 | + */ |
15 | 49 | footerFileUrl?: string;
|
16 |
| - // list of the repos to track |
17 |
| - repos: IRepoSourceConfig[]; |
18 | 50 | }
|
0 commit comments