dcdx 1.3.0-next.6 → 1.3.0-next.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/versions.json +1 -1
- package/lib/commands/apt.js +1937 -9471
- package/lib/commands/build.js +470 -8943
- package/lib/commands/configure.js +593 -0
- package/lib/commands/database.js +24 -8890
- package/lib/commands/debug.js +989 -8967
- package/lib/commands/install.js +629 -8971
- package/lib/commands/reset.js +564 -8898
- package/lib/commands/run.js +618 -8929
- package/lib/commands/stop.js +564 -8898
- package/lib/commands/update.js +10 -8877
- package/lib/index.js +33 -2
- package/lib/types/src/applications/base.d.ts +4 -0
- package/lib/types/src/apt/helpers/dcapt.d.ts +2 -1
- package/lib/types/src/apt/helpers/downloadFile.d.ts +1 -0
- package/lib/types/src/apt/helpers/generateDependencyTree.d.ts +2 -0
- package/lib/types/src/apt/helpers/generateSCAReport.d.ts +2 -0
- package/lib/types/src/apt/helpers/getAppLicense.d.ts +3 -0
- package/lib/types/src/apt/helpers/getAptDirectory.d.ts +1 -1
- package/lib/types/src/apt/helpers/getClusterURL.d.ts +1 -1
- package/lib/types/src/apt/helpers/getHostLicense.d.ts +1 -1
- package/lib/types/src/apt/helpers/getRunForStage.d.ts +1 -1
- package/lib/types/src/apt/helpers/getUrlByAppKey.d.ts +1 -0
- package/lib/types/src/apt/helpers/installAppInCluster.d.ts +2 -0
- package/lib/types/src/apt/helpers/persistClusterConfiguration.d.ts +2 -1
- package/lib/types/src/apt/helpers/persistTestConfiguration.d.ts +1 -1
- package/lib/types/src/apt/helpers/provisionCluster.d.ts +1 -0
- package/lib/types/src/apt/helpers/restartCluster.d.ts +2 -0
- package/lib/types/src/apt/helpers/runLuceneTimingTest.d.ts +2 -0
- package/lib/types/src/apt/helpers/runPerformanceTest.d.ts +2 -2
- package/lib/types/src/apt/helpers/runScalabilityTest.d.ts +2 -2
- package/lib/types/src/apt/messages.d.ts +10 -5
- package/lib/types/src/commands/configure.d.ts +2 -0
- package/lib/types/src/databases/base.d.ts +1 -0
- package/lib/types/src/helpers/ActionHandler.d.ts +1 -40
- package/lib/types/src/helpers/FileWatcher.d.ts +2 -2
- package/lib/types/src/helpers/PAT.d.ts +10 -0
- package/lib/types/src/helpers/findInFile.d.ts +1 -0
- package/lib/types/src/helpers/getConfig.d.ts +2 -0
- package/lib/types/src/helpers/getMainArtifactFromOBR.d.ts +1 -0
- package/lib/types/src/helpers/installFromMPAC.d.ts +2 -0
- package/lib/types/src/helpers/installFromURL.d.ts +2 -0
- package/lib/types/src/helpers/installWithQuickReload.d.ts +2 -0
- package/lib/types/src/helpers/setupHost.d.ts +3 -0
- package/lib/types/src/helpers/upm.d.ts +2 -2
- package/lib/types/src/helpers/validateAtlassianPlugin.d.ts +4 -0
- package/lib/types/src/types/AMPS.d.ts +12 -0
- package/lib/types/src/types/Application.d.ts +6 -0
- package/lib/types/src/types/Config.d.ts +370 -0
- package/lib/types/src/types/Configure.d.ts +177 -0
- package/lib/types/src/types/DCAPT.d.ts +506 -94
- package/lib/types/src/types/Database.d.ts +1 -0
- package/lib/types/src/types/FileWatcher.d.ts +39 -0
- package/lib/types/src/types/Install.d.ts +238 -0
- package/lib/types/src/types/Installer.d.ts +21 -0
- package/package.json +7 -1
- package/lib/types/src/apt/helpers/installApp.d.ts +0 -1
- package/lib/types/src/helpers/Installer.d.ts +0 -3
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const Config: z.ZodDefault<z.ZodObject<{
|
|
3
|
+
setup: z.ZodObject<{
|
|
4
|
+
jira: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
5
|
+
username: z.ZodString;
|
|
6
|
+
password: z.ZodString;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
mode: z.ZodEnum<["private", "public"]>;
|
|
9
|
+
baseUrl: z.ZodString;
|
|
10
|
+
fullname: z.ZodString;
|
|
11
|
+
email: z.ZodString;
|
|
12
|
+
configureEmail: z.ZodEnum<["later", "now"]>;
|
|
13
|
+
emailName: z.ZodOptional<z.ZodString>;
|
|
14
|
+
emailFromAddress: z.ZodOptional<z.ZodString>;
|
|
15
|
+
emailPrefix: z.ZodOptional<z.ZodString>;
|
|
16
|
+
emailServerType: z.ZodOptional<z.ZodEnum<["smtp", "jndi"]>>;
|
|
17
|
+
emailJndiLocation: z.ZodOptional<z.ZodString>;
|
|
18
|
+
emailServiceProvider: z.ZodOptional<z.ZodEnum<["custom", "google-apps-mail-/-gmail-8", "yahoo!-mail-plus-9"]>>;
|
|
19
|
+
emailHostName: z.ZodOptional<z.ZodString>;
|
|
20
|
+
emailProtocol: z.ZodOptional<z.ZodEnum<["SMTP", "SECURE_SMTP"]>>;
|
|
21
|
+
emailPort: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
emailTimeout: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
emailTLS: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
emailUsername: z.ZodOptional<z.ZodString>;
|
|
25
|
+
emailPassword: z.ZodOptional<z.ZodString>;
|
|
26
|
+
language: z.ZodOptional<z.ZodEnum<["en-US", "zh_CN", "cs_CZ", "da_DK", "nl_NL", "en_UK", "et_EE", "fi_FI", "fr_FR", "de_DE", "hu_HU", "is_IS", "it_IT", "ja_JP", "ko_KR", "no_NO", "pl_PL", "pt_BR", "ro_RO", "ru_RU", "sk_SK", "es_ES", "sv_SE"]>>;
|
|
27
|
+
avatarPath: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
username: string;
|
|
30
|
+
password: string;
|
|
31
|
+
title: string;
|
|
32
|
+
mode: "private" | "public";
|
|
33
|
+
baseUrl: string;
|
|
34
|
+
fullname: string;
|
|
35
|
+
email: string;
|
|
36
|
+
configureEmail: "later" | "now";
|
|
37
|
+
emailName?: string | undefined;
|
|
38
|
+
emailFromAddress?: string | undefined;
|
|
39
|
+
emailPrefix?: string | undefined;
|
|
40
|
+
emailServerType?: "smtp" | "jndi" | undefined;
|
|
41
|
+
emailJndiLocation?: string | undefined;
|
|
42
|
+
emailServiceProvider?: "custom" | "google-apps-mail-/-gmail-8" | "yahoo!-mail-plus-9" | undefined;
|
|
43
|
+
emailHostName?: string | undefined;
|
|
44
|
+
emailProtocol?: "SMTP" | "SECURE_SMTP" | undefined;
|
|
45
|
+
emailPort?: number | undefined;
|
|
46
|
+
emailTimeout?: number | undefined;
|
|
47
|
+
emailTLS?: boolean | undefined;
|
|
48
|
+
emailUsername?: string | undefined;
|
|
49
|
+
emailPassword?: string | undefined;
|
|
50
|
+
language?: "en-US" | "zh_CN" | "cs_CZ" | "da_DK" | "nl_NL" | "en_UK" | "et_EE" | "fi_FI" | "fr_FR" | "de_DE" | "hu_HU" | "is_IS" | "it_IT" | "ja_JP" | "ko_KR" | "no_NO" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "sk_SK" | "es_ES" | "sv_SE" | undefined;
|
|
51
|
+
avatarPath?: string | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
username: string;
|
|
54
|
+
password: string;
|
|
55
|
+
title: string;
|
|
56
|
+
mode: "private" | "public";
|
|
57
|
+
baseUrl: string;
|
|
58
|
+
fullname: string;
|
|
59
|
+
email: string;
|
|
60
|
+
configureEmail: "later" | "now";
|
|
61
|
+
emailName?: string | undefined;
|
|
62
|
+
emailFromAddress?: string | undefined;
|
|
63
|
+
emailPrefix?: string | undefined;
|
|
64
|
+
emailServerType?: "smtp" | "jndi" | undefined;
|
|
65
|
+
emailJndiLocation?: string | undefined;
|
|
66
|
+
emailServiceProvider?: "custom" | "google-apps-mail-/-gmail-8" | "yahoo!-mail-plus-9" | undefined;
|
|
67
|
+
emailHostName?: string | undefined;
|
|
68
|
+
emailProtocol?: "SMTP" | "SECURE_SMTP" | undefined;
|
|
69
|
+
emailPort?: number | undefined;
|
|
70
|
+
emailTimeout?: number | undefined;
|
|
71
|
+
emailTLS?: boolean | undefined;
|
|
72
|
+
emailUsername?: string | undefined;
|
|
73
|
+
emailPassword?: string | undefined;
|
|
74
|
+
language?: "en-US" | "zh_CN" | "cs_CZ" | "da_DK" | "nl_NL" | "en_UK" | "et_EE" | "fi_FI" | "fr_FR" | "de_DE" | "hu_HU" | "is_IS" | "it_IT" | "ja_JP" | "ko_KR" | "no_NO" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "sk_SK" | "es_ES" | "sv_SE" | undefined;
|
|
75
|
+
avatarPath?: string | undefined;
|
|
76
|
+
}>>>;
|
|
77
|
+
confluence: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
78
|
+
username: z.ZodString;
|
|
79
|
+
password: z.ZodString;
|
|
80
|
+
baseUrl: z.ZodString;
|
|
81
|
+
email: z.ZodString;
|
|
82
|
+
deploymentType: z.ZodEnum<["non-clustered", "clustered"]>;
|
|
83
|
+
fullName: z.ZodString;
|
|
84
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
85
|
+
clusterHome: z.ZodOptional<z.ZodString>;
|
|
86
|
+
clusterJoinMode: z.ZodOptional<z.ZodEnum<["useMulticast", "useTcpIp", "useAws"]>>;
|
|
87
|
+
clusterAutoAddress: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
loadContent: z.ZodEnum<["example", "empty"]>;
|
|
89
|
+
userManagement: z.ZodEnum<["confluence", "jira"]>;
|
|
90
|
+
jiraBaseUrl: z.ZodOptional<z.ZodString>;
|
|
91
|
+
jiraUsername: z.ZodOptional<z.ZodString>;
|
|
92
|
+
jiraPassword: z.ZodOptional<z.ZodString>;
|
|
93
|
+
jiraUserGroups: z.ZodOptional<z.ZodString>;
|
|
94
|
+
jiraAdminGroups: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
username: string;
|
|
97
|
+
password: string;
|
|
98
|
+
baseUrl: string;
|
|
99
|
+
email: string;
|
|
100
|
+
deploymentType: "non-clustered" | "clustered";
|
|
101
|
+
fullName: string;
|
|
102
|
+
loadContent: "example" | "empty";
|
|
103
|
+
userManagement: "jira" | "confluence";
|
|
104
|
+
clusterName?: string | undefined;
|
|
105
|
+
clusterHome?: string | undefined;
|
|
106
|
+
clusterJoinMode?: "useMulticast" | "useTcpIp" | "useAws" | undefined;
|
|
107
|
+
clusterAutoAddress?: boolean | undefined;
|
|
108
|
+
jiraBaseUrl?: string | undefined;
|
|
109
|
+
jiraUsername?: string | undefined;
|
|
110
|
+
jiraPassword?: string | undefined;
|
|
111
|
+
jiraUserGroups?: string | undefined;
|
|
112
|
+
jiraAdminGroups?: string | undefined;
|
|
113
|
+
}, {
|
|
114
|
+
username: string;
|
|
115
|
+
password: string;
|
|
116
|
+
baseUrl: string;
|
|
117
|
+
email: string;
|
|
118
|
+
deploymentType: "non-clustered" | "clustered";
|
|
119
|
+
fullName: string;
|
|
120
|
+
loadContent: "example" | "empty";
|
|
121
|
+
userManagement: "jira" | "confluence";
|
|
122
|
+
clusterName?: string | undefined;
|
|
123
|
+
clusterHome?: string | undefined;
|
|
124
|
+
clusterJoinMode?: "useMulticast" | "useTcpIp" | "useAws" | undefined;
|
|
125
|
+
clusterAutoAddress?: boolean | undefined;
|
|
126
|
+
jiraBaseUrl?: string | undefined;
|
|
127
|
+
jiraUsername?: string | undefined;
|
|
128
|
+
jiraPassword?: string | undefined;
|
|
129
|
+
jiraUserGroups?: string | undefined;
|
|
130
|
+
jiraAdminGroups?: string | undefined;
|
|
131
|
+
}>>>;
|
|
132
|
+
bamboo: z.ZodOptional<z.ZodDefault<z.ZodObject<z.objectUtil.extendShape<{
|
|
133
|
+
username: z.ZodString;
|
|
134
|
+
password: z.ZodString;
|
|
135
|
+
}, {}>, "strip", z.ZodTypeAny, {
|
|
136
|
+
username: string;
|
|
137
|
+
password: string;
|
|
138
|
+
}, {
|
|
139
|
+
username: string;
|
|
140
|
+
password: string;
|
|
141
|
+
}>>>;
|
|
142
|
+
bitbucket: z.ZodOptional<z.ZodDefault<z.ZodObject<z.objectUtil.extendShape<{
|
|
143
|
+
username: z.ZodString;
|
|
144
|
+
password: z.ZodString;
|
|
145
|
+
}, {}>, "strip", z.ZodTypeAny, {
|
|
146
|
+
username: string;
|
|
147
|
+
password: string;
|
|
148
|
+
}, {
|
|
149
|
+
username: string;
|
|
150
|
+
password: string;
|
|
151
|
+
}>>>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
jira?: {
|
|
154
|
+
username: string;
|
|
155
|
+
password: string;
|
|
156
|
+
title: string;
|
|
157
|
+
mode: "private" | "public";
|
|
158
|
+
baseUrl: string;
|
|
159
|
+
fullname: string;
|
|
160
|
+
email: string;
|
|
161
|
+
configureEmail: "later" | "now";
|
|
162
|
+
emailName?: string | undefined;
|
|
163
|
+
emailFromAddress?: string | undefined;
|
|
164
|
+
emailPrefix?: string | undefined;
|
|
165
|
+
emailServerType?: "smtp" | "jndi" | undefined;
|
|
166
|
+
emailJndiLocation?: string | undefined;
|
|
167
|
+
emailServiceProvider?: "custom" | "google-apps-mail-/-gmail-8" | "yahoo!-mail-plus-9" | undefined;
|
|
168
|
+
emailHostName?: string | undefined;
|
|
169
|
+
emailProtocol?: "SMTP" | "SECURE_SMTP" | undefined;
|
|
170
|
+
emailPort?: number | undefined;
|
|
171
|
+
emailTimeout?: number | undefined;
|
|
172
|
+
emailTLS?: boolean | undefined;
|
|
173
|
+
emailUsername?: string | undefined;
|
|
174
|
+
emailPassword?: string | undefined;
|
|
175
|
+
language?: "en-US" | "zh_CN" | "cs_CZ" | "da_DK" | "nl_NL" | "en_UK" | "et_EE" | "fi_FI" | "fr_FR" | "de_DE" | "hu_HU" | "is_IS" | "it_IT" | "ja_JP" | "ko_KR" | "no_NO" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "sk_SK" | "es_ES" | "sv_SE" | undefined;
|
|
176
|
+
avatarPath?: string | undefined;
|
|
177
|
+
} | undefined;
|
|
178
|
+
confluence?: {
|
|
179
|
+
username: string;
|
|
180
|
+
password: string;
|
|
181
|
+
baseUrl: string;
|
|
182
|
+
email: string;
|
|
183
|
+
deploymentType: "non-clustered" | "clustered";
|
|
184
|
+
fullName: string;
|
|
185
|
+
loadContent: "example" | "empty";
|
|
186
|
+
userManagement: "jira" | "confluence";
|
|
187
|
+
clusterName?: string | undefined;
|
|
188
|
+
clusterHome?: string | undefined;
|
|
189
|
+
clusterJoinMode?: "useMulticast" | "useTcpIp" | "useAws" | undefined;
|
|
190
|
+
clusterAutoAddress?: boolean | undefined;
|
|
191
|
+
jiraBaseUrl?: string | undefined;
|
|
192
|
+
jiraUsername?: string | undefined;
|
|
193
|
+
jiraPassword?: string | undefined;
|
|
194
|
+
jiraUserGroups?: string | undefined;
|
|
195
|
+
jiraAdminGroups?: string | undefined;
|
|
196
|
+
} | undefined;
|
|
197
|
+
bitbucket?: {
|
|
198
|
+
username: string;
|
|
199
|
+
password: string;
|
|
200
|
+
} | undefined;
|
|
201
|
+
bamboo?: {
|
|
202
|
+
username: string;
|
|
203
|
+
password: string;
|
|
204
|
+
} | undefined;
|
|
205
|
+
}, {
|
|
206
|
+
jira?: {
|
|
207
|
+
username: string;
|
|
208
|
+
password: string;
|
|
209
|
+
title: string;
|
|
210
|
+
mode: "private" | "public";
|
|
211
|
+
baseUrl: string;
|
|
212
|
+
fullname: string;
|
|
213
|
+
email: string;
|
|
214
|
+
configureEmail: "later" | "now";
|
|
215
|
+
emailName?: string | undefined;
|
|
216
|
+
emailFromAddress?: string | undefined;
|
|
217
|
+
emailPrefix?: string | undefined;
|
|
218
|
+
emailServerType?: "smtp" | "jndi" | undefined;
|
|
219
|
+
emailJndiLocation?: string | undefined;
|
|
220
|
+
emailServiceProvider?: "custom" | "google-apps-mail-/-gmail-8" | "yahoo!-mail-plus-9" | undefined;
|
|
221
|
+
emailHostName?: string | undefined;
|
|
222
|
+
emailProtocol?: "SMTP" | "SECURE_SMTP" | undefined;
|
|
223
|
+
emailPort?: number | undefined;
|
|
224
|
+
emailTimeout?: number | undefined;
|
|
225
|
+
emailTLS?: boolean | undefined;
|
|
226
|
+
emailUsername?: string | undefined;
|
|
227
|
+
emailPassword?: string | undefined;
|
|
228
|
+
language?: "en-US" | "zh_CN" | "cs_CZ" | "da_DK" | "nl_NL" | "en_UK" | "et_EE" | "fi_FI" | "fr_FR" | "de_DE" | "hu_HU" | "is_IS" | "it_IT" | "ja_JP" | "ko_KR" | "no_NO" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "sk_SK" | "es_ES" | "sv_SE" | undefined;
|
|
229
|
+
avatarPath?: string | undefined;
|
|
230
|
+
} | undefined;
|
|
231
|
+
confluence?: {
|
|
232
|
+
username: string;
|
|
233
|
+
password: string;
|
|
234
|
+
baseUrl: string;
|
|
235
|
+
email: string;
|
|
236
|
+
deploymentType: "non-clustered" | "clustered";
|
|
237
|
+
fullName: string;
|
|
238
|
+
loadContent: "example" | "empty";
|
|
239
|
+
userManagement: "jira" | "confluence";
|
|
240
|
+
clusterName?: string | undefined;
|
|
241
|
+
clusterHome?: string | undefined;
|
|
242
|
+
clusterJoinMode?: "useMulticast" | "useTcpIp" | "useAws" | undefined;
|
|
243
|
+
clusterAutoAddress?: boolean | undefined;
|
|
244
|
+
jiraBaseUrl?: string | undefined;
|
|
245
|
+
jiraUsername?: string | undefined;
|
|
246
|
+
jiraPassword?: string | undefined;
|
|
247
|
+
jiraUserGroups?: string | undefined;
|
|
248
|
+
jiraAdminGroups?: string | undefined;
|
|
249
|
+
} | undefined;
|
|
250
|
+
bitbucket?: {
|
|
251
|
+
username: string;
|
|
252
|
+
password: string;
|
|
253
|
+
} | undefined;
|
|
254
|
+
bamboo?: {
|
|
255
|
+
username: string;
|
|
256
|
+
password: string;
|
|
257
|
+
} | undefined;
|
|
258
|
+
}>;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
setup: {
|
|
261
|
+
jira?: {
|
|
262
|
+
username: string;
|
|
263
|
+
password: string;
|
|
264
|
+
title: string;
|
|
265
|
+
mode: "private" | "public";
|
|
266
|
+
baseUrl: string;
|
|
267
|
+
fullname: string;
|
|
268
|
+
email: string;
|
|
269
|
+
configureEmail: "later" | "now";
|
|
270
|
+
emailName?: string | undefined;
|
|
271
|
+
emailFromAddress?: string | undefined;
|
|
272
|
+
emailPrefix?: string | undefined;
|
|
273
|
+
emailServerType?: "smtp" | "jndi" | undefined;
|
|
274
|
+
emailJndiLocation?: string | undefined;
|
|
275
|
+
emailServiceProvider?: "custom" | "google-apps-mail-/-gmail-8" | "yahoo!-mail-plus-9" | undefined;
|
|
276
|
+
emailHostName?: string | undefined;
|
|
277
|
+
emailProtocol?: "SMTP" | "SECURE_SMTP" | undefined;
|
|
278
|
+
emailPort?: number | undefined;
|
|
279
|
+
emailTimeout?: number | undefined;
|
|
280
|
+
emailTLS?: boolean | undefined;
|
|
281
|
+
emailUsername?: string | undefined;
|
|
282
|
+
emailPassword?: string | undefined;
|
|
283
|
+
language?: "en-US" | "zh_CN" | "cs_CZ" | "da_DK" | "nl_NL" | "en_UK" | "et_EE" | "fi_FI" | "fr_FR" | "de_DE" | "hu_HU" | "is_IS" | "it_IT" | "ja_JP" | "ko_KR" | "no_NO" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "sk_SK" | "es_ES" | "sv_SE" | undefined;
|
|
284
|
+
avatarPath?: string | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
confluence?: {
|
|
287
|
+
username: string;
|
|
288
|
+
password: string;
|
|
289
|
+
baseUrl: string;
|
|
290
|
+
email: string;
|
|
291
|
+
deploymentType: "non-clustered" | "clustered";
|
|
292
|
+
fullName: string;
|
|
293
|
+
loadContent: "example" | "empty";
|
|
294
|
+
userManagement: "jira" | "confluence";
|
|
295
|
+
clusterName?: string | undefined;
|
|
296
|
+
clusterHome?: string | undefined;
|
|
297
|
+
clusterJoinMode?: "useMulticast" | "useTcpIp" | "useAws" | undefined;
|
|
298
|
+
clusterAutoAddress?: boolean | undefined;
|
|
299
|
+
jiraBaseUrl?: string | undefined;
|
|
300
|
+
jiraUsername?: string | undefined;
|
|
301
|
+
jiraPassword?: string | undefined;
|
|
302
|
+
jiraUserGroups?: string | undefined;
|
|
303
|
+
jiraAdminGroups?: string | undefined;
|
|
304
|
+
} | undefined;
|
|
305
|
+
bitbucket?: {
|
|
306
|
+
username: string;
|
|
307
|
+
password: string;
|
|
308
|
+
} | undefined;
|
|
309
|
+
bamboo?: {
|
|
310
|
+
username: string;
|
|
311
|
+
password: string;
|
|
312
|
+
} | undefined;
|
|
313
|
+
};
|
|
314
|
+
}, {
|
|
315
|
+
setup: {
|
|
316
|
+
jira?: {
|
|
317
|
+
username: string;
|
|
318
|
+
password: string;
|
|
319
|
+
title: string;
|
|
320
|
+
mode: "private" | "public";
|
|
321
|
+
baseUrl: string;
|
|
322
|
+
fullname: string;
|
|
323
|
+
email: string;
|
|
324
|
+
configureEmail: "later" | "now";
|
|
325
|
+
emailName?: string | undefined;
|
|
326
|
+
emailFromAddress?: string | undefined;
|
|
327
|
+
emailPrefix?: string | undefined;
|
|
328
|
+
emailServerType?: "smtp" | "jndi" | undefined;
|
|
329
|
+
emailJndiLocation?: string | undefined;
|
|
330
|
+
emailServiceProvider?: "custom" | "google-apps-mail-/-gmail-8" | "yahoo!-mail-plus-9" | undefined;
|
|
331
|
+
emailHostName?: string | undefined;
|
|
332
|
+
emailProtocol?: "SMTP" | "SECURE_SMTP" | undefined;
|
|
333
|
+
emailPort?: number | undefined;
|
|
334
|
+
emailTimeout?: number | undefined;
|
|
335
|
+
emailTLS?: boolean | undefined;
|
|
336
|
+
emailUsername?: string | undefined;
|
|
337
|
+
emailPassword?: string | undefined;
|
|
338
|
+
language?: "en-US" | "zh_CN" | "cs_CZ" | "da_DK" | "nl_NL" | "en_UK" | "et_EE" | "fi_FI" | "fr_FR" | "de_DE" | "hu_HU" | "is_IS" | "it_IT" | "ja_JP" | "ko_KR" | "no_NO" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "sk_SK" | "es_ES" | "sv_SE" | undefined;
|
|
339
|
+
avatarPath?: string | undefined;
|
|
340
|
+
} | undefined;
|
|
341
|
+
confluence?: {
|
|
342
|
+
username: string;
|
|
343
|
+
password: string;
|
|
344
|
+
baseUrl: string;
|
|
345
|
+
email: string;
|
|
346
|
+
deploymentType: "non-clustered" | "clustered";
|
|
347
|
+
fullName: string;
|
|
348
|
+
loadContent: "example" | "empty";
|
|
349
|
+
userManagement: "jira" | "confluence";
|
|
350
|
+
clusterName?: string | undefined;
|
|
351
|
+
clusterHome?: string | undefined;
|
|
352
|
+
clusterJoinMode?: "useMulticast" | "useTcpIp" | "useAws" | undefined;
|
|
353
|
+
clusterAutoAddress?: boolean | undefined;
|
|
354
|
+
jiraBaseUrl?: string | undefined;
|
|
355
|
+
jiraUsername?: string | undefined;
|
|
356
|
+
jiraPassword?: string | undefined;
|
|
357
|
+
jiraUserGroups?: string | undefined;
|
|
358
|
+
jiraAdminGroups?: string | undefined;
|
|
359
|
+
} | undefined;
|
|
360
|
+
bitbucket?: {
|
|
361
|
+
username: string;
|
|
362
|
+
password: string;
|
|
363
|
+
} | undefined;
|
|
364
|
+
bamboo?: {
|
|
365
|
+
username: string;
|
|
366
|
+
password: string;
|
|
367
|
+
} | undefined;
|
|
368
|
+
};
|
|
369
|
+
}>>;
|
|
370
|
+
export type DCDX = z.infer<typeof Config>;
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ConfigureOptions: z.ZodObject<{
|
|
3
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
4
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
5
|
+
config: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
8
|
+
cwd?: string | undefined;
|
|
9
|
+
config?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
12
|
+
cwd?: string | undefined;
|
|
13
|
+
config?: string | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const ConfigureBase: z.ZodObject<{
|
|
16
|
+
username: z.ZodString;
|
|
17
|
+
password: z.ZodString;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
username: string;
|
|
20
|
+
password: string;
|
|
21
|
+
}, {
|
|
22
|
+
username: string;
|
|
23
|
+
password: string;
|
|
24
|
+
}>;
|
|
25
|
+
export declare const ConfigureJira: z.ZodDefault<z.ZodObject<{
|
|
26
|
+
username: z.ZodString;
|
|
27
|
+
password: z.ZodString;
|
|
28
|
+
title: z.ZodString;
|
|
29
|
+
mode: z.ZodEnum<["private", "public"]>;
|
|
30
|
+
baseUrl: z.ZodString;
|
|
31
|
+
fullname: z.ZodString;
|
|
32
|
+
email: z.ZodString;
|
|
33
|
+
configureEmail: z.ZodEnum<["later", "now"]>;
|
|
34
|
+
emailName: z.ZodOptional<z.ZodString>;
|
|
35
|
+
emailFromAddress: z.ZodOptional<z.ZodString>;
|
|
36
|
+
emailPrefix: z.ZodOptional<z.ZodString>;
|
|
37
|
+
emailServerType: z.ZodOptional<z.ZodEnum<["smtp", "jndi"]>>;
|
|
38
|
+
emailJndiLocation: z.ZodOptional<z.ZodString>;
|
|
39
|
+
emailServiceProvider: z.ZodOptional<z.ZodEnum<["custom", "google-apps-mail-/-gmail-8", "yahoo!-mail-plus-9"]>>;
|
|
40
|
+
emailHostName: z.ZodOptional<z.ZodString>;
|
|
41
|
+
emailProtocol: z.ZodOptional<z.ZodEnum<["SMTP", "SECURE_SMTP"]>>;
|
|
42
|
+
emailPort: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
emailTimeout: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
emailTLS: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
emailUsername: z.ZodOptional<z.ZodString>;
|
|
46
|
+
emailPassword: z.ZodOptional<z.ZodString>;
|
|
47
|
+
language: z.ZodOptional<z.ZodEnum<["en-US", "zh_CN", "cs_CZ", "da_DK", "nl_NL", "en_UK", "et_EE", "fi_FI", "fr_FR", "de_DE", "hu_HU", "is_IS", "it_IT", "ja_JP", "ko_KR", "no_NO", "pl_PL", "pt_BR", "ro_RO", "ru_RU", "sk_SK", "es_ES", "sv_SE"]>>;
|
|
48
|
+
avatarPath: z.ZodOptional<z.ZodString>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
username: string;
|
|
51
|
+
password: string;
|
|
52
|
+
title: string;
|
|
53
|
+
mode: "private" | "public";
|
|
54
|
+
baseUrl: string;
|
|
55
|
+
fullname: string;
|
|
56
|
+
email: string;
|
|
57
|
+
configureEmail: "later" | "now";
|
|
58
|
+
emailName?: string | undefined;
|
|
59
|
+
emailFromAddress?: string | undefined;
|
|
60
|
+
emailPrefix?: string | undefined;
|
|
61
|
+
emailServerType?: "smtp" | "jndi" | undefined;
|
|
62
|
+
emailJndiLocation?: string | undefined;
|
|
63
|
+
emailServiceProvider?: "custom" | "google-apps-mail-/-gmail-8" | "yahoo!-mail-plus-9" | undefined;
|
|
64
|
+
emailHostName?: string | undefined;
|
|
65
|
+
emailProtocol?: "SMTP" | "SECURE_SMTP" | undefined;
|
|
66
|
+
emailPort?: number | undefined;
|
|
67
|
+
emailTimeout?: number | undefined;
|
|
68
|
+
emailTLS?: boolean | undefined;
|
|
69
|
+
emailUsername?: string | undefined;
|
|
70
|
+
emailPassword?: string | undefined;
|
|
71
|
+
language?: "en-US" | "zh_CN" | "cs_CZ" | "da_DK" | "nl_NL" | "en_UK" | "et_EE" | "fi_FI" | "fr_FR" | "de_DE" | "hu_HU" | "is_IS" | "it_IT" | "ja_JP" | "ko_KR" | "no_NO" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "sk_SK" | "es_ES" | "sv_SE" | undefined;
|
|
72
|
+
avatarPath?: string | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
username: string;
|
|
75
|
+
password: string;
|
|
76
|
+
title: string;
|
|
77
|
+
mode: "private" | "public";
|
|
78
|
+
baseUrl: string;
|
|
79
|
+
fullname: string;
|
|
80
|
+
email: string;
|
|
81
|
+
configureEmail: "later" | "now";
|
|
82
|
+
emailName?: string | undefined;
|
|
83
|
+
emailFromAddress?: string | undefined;
|
|
84
|
+
emailPrefix?: string | undefined;
|
|
85
|
+
emailServerType?: "smtp" | "jndi" | undefined;
|
|
86
|
+
emailJndiLocation?: string | undefined;
|
|
87
|
+
emailServiceProvider?: "custom" | "google-apps-mail-/-gmail-8" | "yahoo!-mail-plus-9" | undefined;
|
|
88
|
+
emailHostName?: string | undefined;
|
|
89
|
+
emailProtocol?: "SMTP" | "SECURE_SMTP" | undefined;
|
|
90
|
+
emailPort?: number | undefined;
|
|
91
|
+
emailTimeout?: number | undefined;
|
|
92
|
+
emailTLS?: boolean | undefined;
|
|
93
|
+
emailUsername?: string | undefined;
|
|
94
|
+
emailPassword?: string | undefined;
|
|
95
|
+
language?: "en-US" | "zh_CN" | "cs_CZ" | "da_DK" | "nl_NL" | "en_UK" | "et_EE" | "fi_FI" | "fr_FR" | "de_DE" | "hu_HU" | "is_IS" | "it_IT" | "ja_JP" | "ko_KR" | "no_NO" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "sk_SK" | "es_ES" | "sv_SE" | undefined;
|
|
96
|
+
avatarPath?: string | undefined;
|
|
97
|
+
}>>;
|
|
98
|
+
export declare const ConfigureConfluence: z.ZodDefault<z.ZodObject<{
|
|
99
|
+
username: z.ZodString;
|
|
100
|
+
password: z.ZodString;
|
|
101
|
+
baseUrl: z.ZodString;
|
|
102
|
+
email: z.ZodString;
|
|
103
|
+
deploymentType: z.ZodEnum<["non-clustered", "clustered"]>;
|
|
104
|
+
fullName: z.ZodString;
|
|
105
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
106
|
+
clusterHome: z.ZodOptional<z.ZodString>;
|
|
107
|
+
clusterJoinMode: z.ZodOptional<z.ZodEnum<["useMulticast", "useTcpIp", "useAws"]>>;
|
|
108
|
+
clusterAutoAddress: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
loadContent: z.ZodEnum<["example", "empty"]>;
|
|
110
|
+
userManagement: z.ZodEnum<["confluence", "jira"]>;
|
|
111
|
+
jiraBaseUrl: z.ZodOptional<z.ZodString>;
|
|
112
|
+
jiraUsername: z.ZodOptional<z.ZodString>;
|
|
113
|
+
jiraPassword: z.ZodOptional<z.ZodString>;
|
|
114
|
+
jiraUserGroups: z.ZodOptional<z.ZodString>;
|
|
115
|
+
jiraAdminGroups: z.ZodOptional<z.ZodString>;
|
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
|
117
|
+
username: string;
|
|
118
|
+
password: string;
|
|
119
|
+
baseUrl: string;
|
|
120
|
+
email: string;
|
|
121
|
+
deploymentType: "non-clustered" | "clustered";
|
|
122
|
+
fullName: string;
|
|
123
|
+
loadContent: "example" | "empty";
|
|
124
|
+
userManagement: "jira" | "confluence";
|
|
125
|
+
clusterName?: string | undefined;
|
|
126
|
+
clusterHome?: string | undefined;
|
|
127
|
+
clusterJoinMode?: "useMulticast" | "useTcpIp" | "useAws" | undefined;
|
|
128
|
+
clusterAutoAddress?: boolean | undefined;
|
|
129
|
+
jiraBaseUrl?: string | undefined;
|
|
130
|
+
jiraUsername?: string | undefined;
|
|
131
|
+
jiraPassword?: string | undefined;
|
|
132
|
+
jiraUserGroups?: string | undefined;
|
|
133
|
+
jiraAdminGroups?: string | undefined;
|
|
134
|
+
}, {
|
|
135
|
+
username: string;
|
|
136
|
+
password: string;
|
|
137
|
+
baseUrl: string;
|
|
138
|
+
email: string;
|
|
139
|
+
deploymentType: "non-clustered" | "clustered";
|
|
140
|
+
fullName: string;
|
|
141
|
+
loadContent: "example" | "empty";
|
|
142
|
+
userManagement: "jira" | "confluence";
|
|
143
|
+
clusterName?: string | undefined;
|
|
144
|
+
clusterHome?: string | undefined;
|
|
145
|
+
clusterJoinMode?: "useMulticast" | "useTcpIp" | "useAws" | undefined;
|
|
146
|
+
clusterAutoAddress?: boolean | undefined;
|
|
147
|
+
jiraBaseUrl?: string | undefined;
|
|
148
|
+
jiraUsername?: string | undefined;
|
|
149
|
+
jiraPassword?: string | undefined;
|
|
150
|
+
jiraUserGroups?: string | undefined;
|
|
151
|
+
jiraAdminGroups?: string | undefined;
|
|
152
|
+
}>>;
|
|
153
|
+
export declare const ConfigureBitbucket: z.ZodDefault<z.ZodObject<z.objectUtil.extendShape<{
|
|
154
|
+
username: z.ZodString;
|
|
155
|
+
password: z.ZodString;
|
|
156
|
+
}, {}>, "strip", z.ZodTypeAny, {
|
|
157
|
+
username: string;
|
|
158
|
+
password: string;
|
|
159
|
+
}, {
|
|
160
|
+
username: string;
|
|
161
|
+
password: string;
|
|
162
|
+
}>>;
|
|
163
|
+
export declare const ConfigureBamboo: z.ZodDefault<z.ZodObject<z.objectUtil.extendShape<{
|
|
164
|
+
username: z.ZodString;
|
|
165
|
+
password: z.ZodString;
|
|
166
|
+
}, {}>, "strip", z.ZodTypeAny, {
|
|
167
|
+
username: string;
|
|
168
|
+
password: string;
|
|
169
|
+
}, {
|
|
170
|
+
username: string;
|
|
171
|
+
password: string;
|
|
172
|
+
}>>;
|
|
173
|
+
export type TConfigureOptions = z.infer<typeof ConfigureOptions>;
|
|
174
|
+
export type TConfigureJira = z.infer<typeof ConfigureJira>;
|
|
175
|
+
export type TConfigureConfluence = z.infer<typeof ConfigureConfluence>;
|
|
176
|
+
export type TConfigureBitbucket = z.infer<typeof ConfigureBitbucket>;
|
|
177
|
+
export type TConfigureBamboo = z.infer<typeof ConfigureBamboo>;
|