1 | import * as Listr from 'listr';
|
2 |
|
3 |
|
4 |
|
5 | export interface ListrOptionsExtended extends Listr.ListrOptions {
|
6 | clearOutput: boolean;
|
7 | collapse: boolean;
|
8 | showSubtasks: boolean;
|
9 | separateTopTasks: boolean;
|
10 | }
|
11 |
|
12 | export interface ListrTaskHelper {
|
13 | title: string;
|
14 | output: string;
|
15 | spinner?: () => string;
|
16 | isEnabled(): boolean;
|
17 | isCompleted(): boolean;
|
18 | hasFailed(): boolean;
|
19 | isPending(): boolean;
|
20 | isSkipped(): boolean;
|
21 | subtasks: ListrTaskHelper[];
|
22 | }
|
23 |
|
24 | export interface PackageVersions {
|
25 | [key: string]: string;
|
26 | }
|
27 |
|
28 | export interface PackageVersionsNpm {
|
29 | [key: string]: {
|
30 | local: string;
|
31 | npm: string;
|
32 | };
|
33 | } |
\ | No newline at end of file |