-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
76 lines (74 loc) · 1.46 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
interface MI1_0_0 {
schemaVersion: string;
name: string;
version: string;
authors?: {
name: string;
roles?: string[];
description?: string;
image?: string;
website?: string;
}[];
websites?: string[];
image?: string;
readme?: string;
setFileSystemFlags?: {
[path: string]: string;
};
steps?: {
name: string;
groups: {
name: string;
mode: string;
failure?: string;
options?: {
[option: string]: {
requiredFlags?: string[];
description: string[];
image: string;
forbiddenFlags?: string[];
setFlags?: string[];
}
}
}[];
readme?: string;
requiredFlags?: string[];
forbiddenFlags?: string[];
}[];
installFolders?: {
from: string;
to: string;
requiredFlags?: string[];
forbiddeFlags?: string[];
}[];
installFiles?: {
from: string;
to: string;
requiredFlags?: string[];
forbiddeFlags?: string[];
}[];
}
interface MI1_0_1 extends MI1_0_0 {}
interface MI1_0_2 extends MI1_0_1 {}
interface MI1_1_0 extends MI1_0_2 {
remoteFileIdentifier?: {
domain: string;
id: number;
}[];
remoteFileFlags?: {
domain: string;
id: number;
flag: string;
minVersion?: string;
maxVersion?: string;
}[];
}
interface MI1_2_0 extends MI1_1_0 {
languages?: string[];
}
export MI1_0_0;
export MI1_0_1;
export MI1_0_2;
export MI1_1_0;
export MI1_2_0;
export default MI1_2_0;//latest