@sk8metal/michi-cli 0.0.1
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/LICENSE +22 -0
- package/README.md +465 -0
- package/dist/scripts/config/config-schema.d.ts +707 -0
- package/dist/scripts/config/config-schema.d.ts.map +1 -0
- package/dist/scripts/config/config-schema.js +100 -0
- package/dist/scripts/config/config-schema.js.map +1 -0
- package/dist/scripts/config-interactive.d.ts +10 -0
- package/dist/scripts/config-interactive.d.ts.map +1 -0
- package/dist/scripts/config-interactive.js +357 -0
- package/dist/scripts/config-interactive.js.map +1 -0
- package/dist/scripts/confluence-sync.d.ts +54 -0
- package/dist/scripts/confluence-sync.d.ts.map +1 -0
- package/dist/scripts/confluence-sync.js +407 -0
- package/dist/scripts/confluence-sync.js.map +1 -0
- package/dist/scripts/create-project.d.ts +12 -0
- package/dist/scripts/create-project.d.ts.map +1 -0
- package/dist/scripts/create-project.js +244 -0
- package/dist/scripts/create-project.js.map +1 -0
- package/dist/scripts/jira-sync.d.ts +39 -0
- package/dist/scripts/jira-sync.d.ts.map +1 -0
- package/dist/scripts/jira-sync.js +549 -0
- package/dist/scripts/jira-sync.js.map +1 -0
- package/dist/scripts/list-projects.d.ts +7 -0
- package/dist/scripts/list-projects.d.ts.map +1 -0
- package/dist/scripts/list-projects.js +61 -0
- package/dist/scripts/list-projects.js.map +1 -0
- package/dist/scripts/markdown-to-confluence.d.ts +19 -0
- package/dist/scripts/markdown-to-confluence.d.ts.map +1 -0
- package/dist/scripts/markdown-to-confluence.js +121 -0
- package/dist/scripts/markdown-to-confluence.js.map +1 -0
- package/dist/scripts/multi-project-estimate.d.ts +27 -0
- package/dist/scripts/multi-project-estimate.d.ts.map +1 -0
- package/dist/scripts/multi-project-estimate.js +202 -0
- package/dist/scripts/multi-project-estimate.js.map +1 -0
- package/dist/scripts/phase-runner.d.ts +19 -0
- package/dist/scripts/phase-runner.d.ts.map +1 -0
- package/dist/scripts/phase-runner.js +260 -0
- package/dist/scripts/phase-runner.js.map +1 -0
- package/dist/scripts/pr-automation.d.ts +12 -0
- package/dist/scripts/pr-automation.d.ts.map +1 -0
- package/dist/scripts/pr-automation.js +45 -0
- package/dist/scripts/pr-automation.js.map +1 -0
- package/dist/scripts/pre-flight-check.d.ts +15 -0
- package/dist/scripts/pre-flight-check.d.ts.map +1 -0
- package/dist/scripts/pre-flight-check.js +244 -0
- package/dist/scripts/pre-flight-check.js.map +1 -0
- package/dist/scripts/resource-dashboard.d.ts +7 -0
- package/dist/scripts/resource-dashboard.d.ts.map +1 -0
- package/dist/scripts/resource-dashboard.js +100 -0
- package/dist/scripts/resource-dashboard.js.map +1 -0
- package/dist/scripts/setup-existing-project.d.ts +13 -0
- package/dist/scripts/setup-existing-project.d.ts.map +1 -0
- package/dist/scripts/setup-existing-project.js +334 -0
- package/dist/scripts/setup-existing-project.js.map +1 -0
- package/dist/scripts/utils/config-loader.d.ts +20 -0
- package/dist/scripts/utils/config-loader.d.ts.map +1 -0
- package/dist/scripts/utils/config-loader.js +291 -0
- package/dist/scripts/utils/config-loader.js.map +1 -0
- package/dist/scripts/utils/config-validator.d.ts +34 -0
- package/dist/scripts/utils/config-validator.d.ts.map +1 -0
- package/dist/scripts/utils/config-validator.js +286 -0
- package/dist/scripts/utils/config-validator.js.map +1 -0
- package/dist/scripts/utils/confluence-hierarchy.d.ts +47 -0
- package/dist/scripts/utils/confluence-hierarchy.d.ts.map +1 -0
- package/dist/scripts/utils/confluence-hierarchy.js +516 -0
- package/dist/scripts/utils/confluence-hierarchy.js.map +1 -0
- package/dist/scripts/utils/feature-name-validator.d.ts +25 -0
- package/dist/scripts/utils/feature-name-validator.d.ts.map +1 -0
- package/dist/scripts/utils/feature-name-validator.js +113 -0
- package/dist/scripts/utils/feature-name-validator.js.map +1 -0
- package/dist/scripts/utils/project-meta.d.ts +23 -0
- package/dist/scripts/utils/project-meta.d.ts.map +1 -0
- package/dist/scripts/utils/project-meta.js +50 -0
- package/dist/scripts/utils/project-meta.js.map +1 -0
- package/dist/scripts/validate-phase.d.ts +17 -0
- package/dist/scripts/validate-phase.d.ts.map +1 -0
- package/dist/scripts/validate-phase.js +234 -0
- package/dist/scripts/validate-phase.js.map +1 -0
- package/dist/scripts/workflow-orchestrator.d.ts +35 -0
- package/dist/scripts/workflow-orchestrator.d.ts.map +1 -0
- package/dist/scripts/workflow-orchestrator.js +130 -0
- package/dist/scripts/workflow-orchestrator.js.map +1 -0
- package/dist/src/cli.d.ts +11 -0
- package/dist/src/cli.d.ts.map +1 -0
- package/dist/src/cli.js +229 -0
- package/dist/src/cli.js.map +1 -0
- package/docs/config-reference.md +666 -0
- package/docs/customization-guide.md +432 -0
- package/docs/multi-project.md +233 -0
- package/docs/new-project-setup.md +576 -0
- package/docs/phase-automation.md +361 -0
- package/docs/quick-reference.md +291 -0
- package/docs/setup.md +404 -0
- package/docs/tasks-template.md +550 -0
- package/docs/testing.md +202 -0
- package/docs/workflow.md +342 -0
- package/env.example +44 -0
- package/mcp.json.example +14 -0
- package/package.json +97 -0
|
@@ -0,0 +1,707 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 設定スキーマ定義
|
|
3
|
+
* Zodを使用して設定ファイルの型安全性を保証
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
/**
|
|
7
|
+
* Confluence階層構造のモード
|
|
8
|
+
*/
|
|
9
|
+
export declare const ConfluenceHierarchyModeSchema: z.ZodEnum<["simple", "nested"]>;
|
|
10
|
+
/**
|
|
11
|
+
* Confluenceページ作成粒度
|
|
12
|
+
*/
|
|
13
|
+
export declare const ConfluencePageCreationGranularitySchema: z.ZodEnum<["single", "by-section", "by-hierarchy", "manual"]>;
|
|
14
|
+
/**
|
|
15
|
+
* Confluence階層構造設定(by-hierarchyまたはmanualの場合)
|
|
16
|
+
*/
|
|
17
|
+
export declare const ConfluenceHierarchyStructureSchema: z.ZodObject<{
|
|
18
|
+
mode: z.ZodOptional<z.ZodEnum<["simple", "nested"]>>;
|
|
19
|
+
parentPageTitle: z.ZodOptional<z.ZodString>;
|
|
20
|
+
createDocTypeParents: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
structure: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
22
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
23
|
+
title: z.ZodOptional<z.ZodString>;
|
|
24
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25
|
+
section: z.ZodString;
|
|
26
|
+
title: z.ZodString;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
title: string;
|
|
29
|
+
section: string;
|
|
30
|
+
}, {
|
|
31
|
+
title: string;
|
|
32
|
+
section: string;
|
|
33
|
+
}>, "many">>;
|
|
34
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
|
+
title: z.ZodString;
|
|
36
|
+
sections: z.ZodArray<z.ZodString, "many">;
|
|
37
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
title: string;
|
|
40
|
+
sections: string[];
|
|
41
|
+
labels?: string[] | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
title: string;
|
|
44
|
+
sections: string[];
|
|
45
|
+
labels?: string[] | undefined;
|
|
46
|
+
}>, "many">>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
parent?: string | undefined;
|
|
49
|
+
title?: string | undefined;
|
|
50
|
+
children?: {
|
|
51
|
+
title: string;
|
|
52
|
+
section: string;
|
|
53
|
+
}[] | undefined;
|
|
54
|
+
pages?: {
|
|
55
|
+
title: string;
|
|
56
|
+
sections: string[];
|
|
57
|
+
labels?: string[] | undefined;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
parent?: string | undefined;
|
|
61
|
+
title?: string | undefined;
|
|
62
|
+
children?: {
|
|
63
|
+
title: string;
|
|
64
|
+
section: string;
|
|
65
|
+
}[] | undefined;
|
|
66
|
+
pages?: {
|
|
67
|
+
title: string;
|
|
68
|
+
sections: string[];
|
|
69
|
+
labels?: string[] | undefined;
|
|
70
|
+
}[] | undefined;
|
|
71
|
+
}>>>;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
mode?: "simple" | "nested" | undefined;
|
|
74
|
+
parentPageTitle?: string | undefined;
|
|
75
|
+
createDocTypeParents?: boolean | undefined;
|
|
76
|
+
structure?: Record<string, {
|
|
77
|
+
parent?: string | undefined;
|
|
78
|
+
title?: string | undefined;
|
|
79
|
+
children?: {
|
|
80
|
+
title: string;
|
|
81
|
+
section: string;
|
|
82
|
+
}[] | undefined;
|
|
83
|
+
pages?: {
|
|
84
|
+
title: string;
|
|
85
|
+
sections: string[];
|
|
86
|
+
labels?: string[] | undefined;
|
|
87
|
+
}[] | undefined;
|
|
88
|
+
}> | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
mode?: "simple" | "nested" | undefined;
|
|
91
|
+
parentPageTitle?: string | undefined;
|
|
92
|
+
createDocTypeParents?: boolean | undefined;
|
|
93
|
+
structure?: Record<string, {
|
|
94
|
+
parent?: string | undefined;
|
|
95
|
+
title?: string | undefined;
|
|
96
|
+
children?: {
|
|
97
|
+
title: string;
|
|
98
|
+
section: string;
|
|
99
|
+
}[] | undefined;
|
|
100
|
+
pages?: {
|
|
101
|
+
title: string;
|
|
102
|
+
sections: string[];
|
|
103
|
+
labels?: string[] | undefined;
|
|
104
|
+
}[] | undefined;
|
|
105
|
+
}> | undefined;
|
|
106
|
+
}>;
|
|
107
|
+
/**
|
|
108
|
+
* Confluence設定スキーマ
|
|
109
|
+
*/
|
|
110
|
+
export declare const ConfluenceConfigSchema: z.ZodObject<{
|
|
111
|
+
pageCreationGranularity: z.ZodDefault<z.ZodEnum<["single", "by-section", "by-hierarchy", "manual"]>>;
|
|
112
|
+
pageTitleFormat: z.ZodDefault<z.ZodString>;
|
|
113
|
+
autoLabels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
114
|
+
spaces: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
requirements: z.ZodOptional<z.ZodString>;
|
|
116
|
+
design: z.ZodOptional<z.ZodString>;
|
|
117
|
+
tasks: z.ZodOptional<z.ZodString>;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
requirements?: string | undefined;
|
|
120
|
+
design?: string | undefined;
|
|
121
|
+
tasks?: string | undefined;
|
|
122
|
+
}, {
|
|
123
|
+
requirements?: string | undefined;
|
|
124
|
+
design?: string | undefined;
|
|
125
|
+
tasks?: string | undefined;
|
|
126
|
+
}>>;
|
|
127
|
+
hierarchy: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
mode: z.ZodOptional<z.ZodEnum<["simple", "nested"]>>;
|
|
129
|
+
parentPageTitle: z.ZodOptional<z.ZodString>;
|
|
130
|
+
createDocTypeParents: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
+
structure: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
132
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
133
|
+
title: z.ZodOptional<z.ZodString>;
|
|
134
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
135
|
+
section: z.ZodString;
|
|
136
|
+
title: z.ZodString;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
title: string;
|
|
139
|
+
section: string;
|
|
140
|
+
}, {
|
|
141
|
+
title: string;
|
|
142
|
+
section: string;
|
|
143
|
+
}>, "many">>;
|
|
144
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
145
|
+
title: z.ZodString;
|
|
146
|
+
sections: z.ZodArray<z.ZodString, "many">;
|
|
147
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
148
|
+
}, "strip", z.ZodTypeAny, {
|
|
149
|
+
title: string;
|
|
150
|
+
sections: string[];
|
|
151
|
+
labels?: string[] | undefined;
|
|
152
|
+
}, {
|
|
153
|
+
title: string;
|
|
154
|
+
sections: string[];
|
|
155
|
+
labels?: string[] | undefined;
|
|
156
|
+
}>, "many">>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
parent?: string | undefined;
|
|
159
|
+
title?: string | undefined;
|
|
160
|
+
children?: {
|
|
161
|
+
title: string;
|
|
162
|
+
section: string;
|
|
163
|
+
}[] | undefined;
|
|
164
|
+
pages?: {
|
|
165
|
+
title: string;
|
|
166
|
+
sections: string[];
|
|
167
|
+
labels?: string[] | undefined;
|
|
168
|
+
}[] | undefined;
|
|
169
|
+
}, {
|
|
170
|
+
parent?: string | undefined;
|
|
171
|
+
title?: string | undefined;
|
|
172
|
+
children?: {
|
|
173
|
+
title: string;
|
|
174
|
+
section: string;
|
|
175
|
+
}[] | undefined;
|
|
176
|
+
pages?: {
|
|
177
|
+
title: string;
|
|
178
|
+
sections: string[];
|
|
179
|
+
labels?: string[] | undefined;
|
|
180
|
+
}[] | undefined;
|
|
181
|
+
}>>>;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
mode?: "simple" | "nested" | undefined;
|
|
184
|
+
parentPageTitle?: string | undefined;
|
|
185
|
+
createDocTypeParents?: boolean | undefined;
|
|
186
|
+
structure?: Record<string, {
|
|
187
|
+
parent?: string | undefined;
|
|
188
|
+
title?: string | undefined;
|
|
189
|
+
children?: {
|
|
190
|
+
title: string;
|
|
191
|
+
section: string;
|
|
192
|
+
}[] | undefined;
|
|
193
|
+
pages?: {
|
|
194
|
+
title: string;
|
|
195
|
+
sections: string[];
|
|
196
|
+
labels?: string[] | undefined;
|
|
197
|
+
}[] | undefined;
|
|
198
|
+
}> | undefined;
|
|
199
|
+
}, {
|
|
200
|
+
mode?: "simple" | "nested" | undefined;
|
|
201
|
+
parentPageTitle?: string | undefined;
|
|
202
|
+
createDocTypeParents?: boolean | undefined;
|
|
203
|
+
structure?: Record<string, {
|
|
204
|
+
parent?: string | undefined;
|
|
205
|
+
title?: string | undefined;
|
|
206
|
+
children?: {
|
|
207
|
+
title: string;
|
|
208
|
+
section: string;
|
|
209
|
+
}[] | undefined;
|
|
210
|
+
pages?: {
|
|
211
|
+
title: string;
|
|
212
|
+
sections: string[];
|
|
213
|
+
labels?: string[] | undefined;
|
|
214
|
+
}[] | undefined;
|
|
215
|
+
}> | undefined;
|
|
216
|
+
}>>;
|
|
217
|
+
}, "strip", z.ZodTypeAny, {
|
|
218
|
+
pageCreationGranularity: "single" | "by-section" | "by-hierarchy" | "manual";
|
|
219
|
+
pageTitleFormat: string;
|
|
220
|
+
autoLabels: string[];
|
|
221
|
+
spaces?: {
|
|
222
|
+
requirements?: string | undefined;
|
|
223
|
+
design?: string | undefined;
|
|
224
|
+
tasks?: string | undefined;
|
|
225
|
+
} | undefined;
|
|
226
|
+
hierarchy?: {
|
|
227
|
+
mode?: "simple" | "nested" | undefined;
|
|
228
|
+
parentPageTitle?: string | undefined;
|
|
229
|
+
createDocTypeParents?: boolean | undefined;
|
|
230
|
+
structure?: Record<string, {
|
|
231
|
+
parent?: string | undefined;
|
|
232
|
+
title?: string | undefined;
|
|
233
|
+
children?: {
|
|
234
|
+
title: string;
|
|
235
|
+
section: string;
|
|
236
|
+
}[] | undefined;
|
|
237
|
+
pages?: {
|
|
238
|
+
title: string;
|
|
239
|
+
sections: string[];
|
|
240
|
+
labels?: string[] | undefined;
|
|
241
|
+
}[] | undefined;
|
|
242
|
+
}> | undefined;
|
|
243
|
+
} | undefined;
|
|
244
|
+
}, {
|
|
245
|
+
pageCreationGranularity?: "single" | "by-section" | "by-hierarchy" | "manual" | undefined;
|
|
246
|
+
pageTitleFormat?: string | undefined;
|
|
247
|
+
autoLabels?: string[] | undefined;
|
|
248
|
+
spaces?: {
|
|
249
|
+
requirements?: string | undefined;
|
|
250
|
+
design?: string | undefined;
|
|
251
|
+
tasks?: string | undefined;
|
|
252
|
+
} | undefined;
|
|
253
|
+
hierarchy?: {
|
|
254
|
+
mode?: "simple" | "nested" | undefined;
|
|
255
|
+
parentPageTitle?: string | undefined;
|
|
256
|
+
createDocTypeParents?: boolean | undefined;
|
|
257
|
+
structure?: Record<string, {
|
|
258
|
+
parent?: string | undefined;
|
|
259
|
+
title?: string | undefined;
|
|
260
|
+
children?: {
|
|
261
|
+
title: string;
|
|
262
|
+
section: string;
|
|
263
|
+
}[] | undefined;
|
|
264
|
+
pages?: {
|
|
265
|
+
title: string;
|
|
266
|
+
sections: string[];
|
|
267
|
+
labels?: string[] | undefined;
|
|
268
|
+
}[] | undefined;
|
|
269
|
+
}> | undefined;
|
|
270
|
+
} | undefined;
|
|
271
|
+
}>;
|
|
272
|
+
/**
|
|
273
|
+
* JIRA Story作成粒度
|
|
274
|
+
*/
|
|
275
|
+
export declare const JiraStoryCreationGranularitySchema: z.ZodEnum<["all", "by-phase", "selected-phases"]>;
|
|
276
|
+
/**
|
|
277
|
+
* JIRA Story Points設定
|
|
278
|
+
*/
|
|
279
|
+
export declare const JiraStoryPointsSchema: z.ZodEnum<["auto", "manual", "disabled"]>;
|
|
280
|
+
/**
|
|
281
|
+
* JIRA設定スキーマ
|
|
282
|
+
*/
|
|
283
|
+
export declare const JiraConfigSchema: z.ZodObject<{
|
|
284
|
+
storyCreationGranularity: z.ZodDefault<z.ZodEnum<["all", "by-phase", "selected-phases"]>>;
|
|
285
|
+
createEpic: z.ZodDefault<z.ZodBoolean>;
|
|
286
|
+
storyPoints: z.ZodDefault<z.ZodEnum<["auto", "manual", "disabled"]>>;
|
|
287
|
+
autoLabels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
288
|
+
issueTypes: z.ZodOptional<z.ZodObject<{
|
|
289
|
+
epic: z.ZodDefault<z.ZodString>;
|
|
290
|
+
story: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
291
|
+
subtask: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
292
|
+
}, "strip", z.ZodTypeAny, {
|
|
293
|
+
epic: string;
|
|
294
|
+
story: string | null;
|
|
295
|
+
subtask: string | null;
|
|
296
|
+
}, {
|
|
297
|
+
epic?: string | undefined;
|
|
298
|
+
story?: string | null | undefined;
|
|
299
|
+
subtask?: string | null | undefined;
|
|
300
|
+
}>>;
|
|
301
|
+
selectedPhases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
302
|
+
}, "strip", z.ZodTypeAny, {
|
|
303
|
+
autoLabels: string[];
|
|
304
|
+
storyCreationGranularity: "all" | "by-phase" | "selected-phases";
|
|
305
|
+
createEpic: boolean;
|
|
306
|
+
storyPoints: "manual" | "auto" | "disabled";
|
|
307
|
+
issueTypes?: {
|
|
308
|
+
epic: string;
|
|
309
|
+
story: string | null;
|
|
310
|
+
subtask: string | null;
|
|
311
|
+
} | undefined;
|
|
312
|
+
selectedPhases?: string[] | undefined;
|
|
313
|
+
}, {
|
|
314
|
+
autoLabels?: string[] | undefined;
|
|
315
|
+
storyCreationGranularity?: "all" | "by-phase" | "selected-phases" | undefined;
|
|
316
|
+
createEpic?: boolean | undefined;
|
|
317
|
+
storyPoints?: "manual" | "auto" | "disabled" | undefined;
|
|
318
|
+
issueTypes?: {
|
|
319
|
+
epic?: string | undefined;
|
|
320
|
+
story?: string | null | undefined;
|
|
321
|
+
subtask?: string | null | undefined;
|
|
322
|
+
} | undefined;
|
|
323
|
+
selectedPhases?: string[] | undefined;
|
|
324
|
+
}>;
|
|
325
|
+
/**
|
|
326
|
+
* ワークフロー設定スキーマ
|
|
327
|
+
*/
|
|
328
|
+
export declare const WorkflowConfigSchema: z.ZodObject<{
|
|
329
|
+
enabledPhases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
330
|
+
approvalGates: z.ZodOptional<z.ZodObject<{
|
|
331
|
+
requirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
332
|
+
design: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
333
|
+
release: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
requirements?: string[] | undefined;
|
|
336
|
+
design?: string[] | undefined;
|
|
337
|
+
release?: string[] | undefined;
|
|
338
|
+
}, {
|
|
339
|
+
requirements?: string[] | undefined;
|
|
340
|
+
design?: string[] | undefined;
|
|
341
|
+
release?: string[] | undefined;
|
|
342
|
+
}>>;
|
|
343
|
+
}, "strip", z.ZodTypeAny, {
|
|
344
|
+
enabledPhases: string[];
|
|
345
|
+
approvalGates?: {
|
|
346
|
+
requirements?: string[] | undefined;
|
|
347
|
+
design?: string[] | undefined;
|
|
348
|
+
release?: string[] | undefined;
|
|
349
|
+
} | undefined;
|
|
350
|
+
}, {
|
|
351
|
+
enabledPhases?: string[] | undefined;
|
|
352
|
+
approvalGates?: {
|
|
353
|
+
requirements?: string[] | undefined;
|
|
354
|
+
design?: string[] | undefined;
|
|
355
|
+
release?: string[] | undefined;
|
|
356
|
+
} | undefined;
|
|
357
|
+
}>;
|
|
358
|
+
/**
|
|
359
|
+
* 全体設定スキーマ
|
|
360
|
+
*/
|
|
361
|
+
export declare const AppConfigSchema: z.ZodObject<{
|
|
362
|
+
confluence: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
pageCreationGranularity: z.ZodDefault<z.ZodEnum<["single", "by-section", "by-hierarchy", "manual"]>>;
|
|
364
|
+
pageTitleFormat: z.ZodDefault<z.ZodString>;
|
|
365
|
+
autoLabels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
366
|
+
spaces: z.ZodOptional<z.ZodObject<{
|
|
367
|
+
requirements: z.ZodOptional<z.ZodString>;
|
|
368
|
+
design: z.ZodOptional<z.ZodString>;
|
|
369
|
+
tasks: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, "strip", z.ZodTypeAny, {
|
|
371
|
+
requirements?: string | undefined;
|
|
372
|
+
design?: string | undefined;
|
|
373
|
+
tasks?: string | undefined;
|
|
374
|
+
}, {
|
|
375
|
+
requirements?: string | undefined;
|
|
376
|
+
design?: string | undefined;
|
|
377
|
+
tasks?: string | undefined;
|
|
378
|
+
}>>;
|
|
379
|
+
hierarchy: z.ZodOptional<z.ZodObject<{
|
|
380
|
+
mode: z.ZodOptional<z.ZodEnum<["simple", "nested"]>>;
|
|
381
|
+
parentPageTitle: z.ZodOptional<z.ZodString>;
|
|
382
|
+
createDocTypeParents: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
+
structure: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
384
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
385
|
+
title: z.ZodOptional<z.ZodString>;
|
|
386
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
387
|
+
section: z.ZodString;
|
|
388
|
+
title: z.ZodString;
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
390
|
+
title: string;
|
|
391
|
+
section: string;
|
|
392
|
+
}, {
|
|
393
|
+
title: string;
|
|
394
|
+
section: string;
|
|
395
|
+
}>, "many">>;
|
|
396
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
397
|
+
title: z.ZodString;
|
|
398
|
+
sections: z.ZodArray<z.ZodString, "many">;
|
|
399
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
400
|
+
}, "strip", z.ZodTypeAny, {
|
|
401
|
+
title: string;
|
|
402
|
+
sections: string[];
|
|
403
|
+
labels?: string[] | undefined;
|
|
404
|
+
}, {
|
|
405
|
+
title: string;
|
|
406
|
+
sections: string[];
|
|
407
|
+
labels?: string[] | undefined;
|
|
408
|
+
}>, "many">>;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
parent?: string | undefined;
|
|
411
|
+
title?: string | undefined;
|
|
412
|
+
children?: {
|
|
413
|
+
title: string;
|
|
414
|
+
section: string;
|
|
415
|
+
}[] | undefined;
|
|
416
|
+
pages?: {
|
|
417
|
+
title: string;
|
|
418
|
+
sections: string[];
|
|
419
|
+
labels?: string[] | undefined;
|
|
420
|
+
}[] | undefined;
|
|
421
|
+
}, {
|
|
422
|
+
parent?: string | undefined;
|
|
423
|
+
title?: string | undefined;
|
|
424
|
+
children?: {
|
|
425
|
+
title: string;
|
|
426
|
+
section: string;
|
|
427
|
+
}[] | undefined;
|
|
428
|
+
pages?: {
|
|
429
|
+
title: string;
|
|
430
|
+
sections: string[];
|
|
431
|
+
labels?: string[] | undefined;
|
|
432
|
+
}[] | undefined;
|
|
433
|
+
}>>>;
|
|
434
|
+
}, "strip", z.ZodTypeAny, {
|
|
435
|
+
mode?: "simple" | "nested" | undefined;
|
|
436
|
+
parentPageTitle?: string | undefined;
|
|
437
|
+
createDocTypeParents?: boolean | undefined;
|
|
438
|
+
structure?: Record<string, {
|
|
439
|
+
parent?: string | undefined;
|
|
440
|
+
title?: string | undefined;
|
|
441
|
+
children?: {
|
|
442
|
+
title: string;
|
|
443
|
+
section: string;
|
|
444
|
+
}[] | undefined;
|
|
445
|
+
pages?: {
|
|
446
|
+
title: string;
|
|
447
|
+
sections: string[];
|
|
448
|
+
labels?: string[] | undefined;
|
|
449
|
+
}[] | undefined;
|
|
450
|
+
}> | undefined;
|
|
451
|
+
}, {
|
|
452
|
+
mode?: "simple" | "nested" | undefined;
|
|
453
|
+
parentPageTitle?: string | undefined;
|
|
454
|
+
createDocTypeParents?: boolean | undefined;
|
|
455
|
+
structure?: Record<string, {
|
|
456
|
+
parent?: string | undefined;
|
|
457
|
+
title?: string | undefined;
|
|
458
|
+
children?: {
|
|
459
|
+
title: string;
|
|
460
|
+
section: string;
|
|
461
|
+
}[] | undefined;
|
|
462
|
+
pages?: {
|
|
463
|
+
title: string;
|
|
464
|
+
sections: string[];
|
|
465
|
+
labels?: string[] | undefined;
|
|
466
|
+
}[] | undefined;
|
|
467
|
+
}> | undefined;
|
|
468
|
+
}>>;
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
470
|
+
pageCreationGranularity: "single" | "by-section" | "by-hierarchy" | "manual";
|
|
471
|
+
pageTitleFormat: string;
|
|
472
|
+
autoLabels: string[];
|
|
473
|
+
spaces?: {
|
|
474
|
+
requirements?: string | undefined;
|
|
475
|
+
design?: string | undefined;
|
|
476
|
+
tasks?: string | undefined;
|
|
477
|
+
} | undefined;
|
|
478
|
+
hierarchy?: {
|
|
479
|
+
mode?: "simple" | "nested" | undefined;
|
|
480
|
+
parentPageTitle?: string | undefined;
|
|
481
|
+
createDocTypeParents?: boolean | undefined;
|
|
482
|
+
structure?: Record<string, {
|
|
483
|
+
parent?: string | undefined;
|
|
484
|
+
title?: string | undefined;
|
|
485
|
+
children?: {
|
|
486
|
+
title: string;
|
|
487
|
+
section: string;
|
|
488
|
+
}[] | undefined;
|
|
489
|
+
pages?: {
|
|
490
|
+
title: string;
|
|
491
|
+
sections: string[];
|
|
492
|
+
labels?: string[] | undefined;
|
|
493
|
+
}[] | undefined;
|
|
494
|
+
}> | undefined;
|
|
495
|
+
} | undefined;
|
|
496
|
+
}, {
|
|
497
|
+
pageCreationGranularity?: "single" | "by-section" | "by-hierarchy" | "manual" | undefined;
|
|
498
|
+
pageTitleFormat?: string | undefined;
|
|
499
|
+
autoLabels?: string[] | undefined;
|
|
500
|
+
spaces?: {
|
|
501
|
+
requirements?: string | undefined;
|
|
502
|
+
design?: string | undefined;
|
|
503
|
+
tasks?: string | undefined;
|
|
504
|
+
} | undefined;
|
|
505
|
+
hierarchy?: {
|
|
506
|
+
mode?: "simple" | "nested" | undefined;
|
|
507
|
+
parentPageTitle?: string | undefined;
|
|
508
|
+
createDocTypeParents?: boolean | undefined;
|
|
509
|
+
structure?: Record<string, {
|
|
510
|
+
parent?: string | undefined;
|
|
511
|
+
title?: string | undefined;
|
|
512
|
+
children?: {
|
|
513
|
+
title: string;
|
|
514
|
+
section: string;
|
|
515
|
+
}[] | undefined;
|
|
516
|
+
pages?: {
|
|
517
|
+
title: string;
|
|
518
|
+
sections: string[];
|
|
519
|
+
labels?: string[] | undefined;
|
|
520
|
+
}[] | undefined;
|
|
521
|
+
}> | undefined;
|
|
522
|
+
} | undefined;
|
|
523
|
+
}>>;
|
|
524
|
+
jira: z.ZodOptional<z.ZodObject<{
|
|
525
|
+
storyCreationGranularity: z.ZodDefault<z.ZodEnum<["all", "by-phase", "selected-phases"]>>;
|
|
526
|
+
createEpic: z.ZodDefault<z.ZodBoolean>;
|
|
527
|
+
storyPoints: z.ZodDefault<z.ZodEnum<["auto", "manual", "disabled"]>>;
|
|
528
|
+
autoLabels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
529
|
+
issueTypes: z.ZodOptional<z.ZodObject<{
|
|
530
|
+
epic: z.ZodDefault<z.ZodString>;
|
|
531
|
+
story: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
532
|
+
subtask: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
533
|
+
}, "strip", z.ZodTypeAny, {
|
|
534
|
+
epic: string;
|
|
535
|
+
story: string | null;
|
|
536
|
+
subtask: string | null;
|
|
537
|
+
}, {
|
|
538
|
+
epic?: string | undefined;
|
|
539
|
+
story?: string | null | undefined;
|
|
540
|
+
subtask?: string | null | undefined;
|
|
541
|
+
}>>;
|
|
542
|
+
selectedPhases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
543
|
+
}, "strip", z.ZodTypeAny, {
|
|
544
|
+
autoLabels: string[];
|
|
545
|
+
storyCreationGranularity: "all" | "by-phase" | "selected-phases";
|
|
546
|
+
createEpic: boolean;
|
|
547
|
+
storyPoints: "manual" | "auto" | "disabled";
|
|
548
|
+
issueTypes?: {
|
|
549
|
+
epic: string;
|
|
550
|
+
story: string | null;
|
|
551
|
+
subtask: string | null;
|
|
552
|
+
} | undefined;
|
|
553
|
+
selectedPhases?: string[] | undefined;
|
|
554
|
+
}, {
|
|
555
|
+
autoLabels?: string[] | undefined;
|
|
556
|
+
storyCreationGranularity?: "all" | "by-phase" | "selected-phases" | undefined;
|
|
557
|
+
createEpic?: boolean | undefined;
|
|
558
|
+
storyPoints?: "manual" | "auto" | "disabled" | undefined;
|
|
559
|
+
issueTypes?: {
|
|
560
|
+
epic?: string | undefined;
|
|
561
|
+
story?: string | null | undefined;
|
|
562
|
+
subtask?: string | null | undefined;
|
|
563
|
+
} | undefined;
|
|
564
|
+
selectedPhases?: string[] | undefined;
|
|
565
|
+
}>>;
|
|
566
|
+
workflow: z.ZodOptional<z.ZodObject<{
|
|
567
|
+
enabledPhases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
568
|
+
approvalGates: z.ZodOptional<z.ZodObject<{
|
|
569
|
+
requirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
570
|
+
design: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
571
|
+
release: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
572
|
+
}, "strip", z.ZodTypeAny, {
|
|
573
|
+
requirements?: string[] | undefined;
|
|
574
|
+
design?: string[] | undefined;
|
|
575
|
+
release?: string[] | undefined;
|
|
576
|
+
}, {
|
|
577
|
+
requirements?: string[] | undefined;
|
|
578
|
+
design?: string[] | undefined;
|
|
579
|
+
release?: string[] | undefined;
|
|
580
|
+
}>>;
|
|
581
|
+
}, "strip", z.ZodTypeAny, {
|
|
582
|
+
enabledPhases: string[];
|
|
583
|
+
approvalGates?: {
|
|
584
|
+
requirements?: string[] | undefined;
|
|
585
|
+
design?: string[] | undefined;
|
|
586
|
+
release?: string[] | undefined;
|
|
587
|
+
} | undefined;
|
|
588
|
+
}, {
|
|
589
|
+
enabledPhases?: string[] | undefined;
|
|
590
|
+
approvalGates?: {
|
|
591
|
+
requirements?: string[] | undefined;
|
|
592
|
+
design?: string[] | undefined;
|
|
593
|
+
release?: string[] | undefined;
|
|
594
|
+
} | undefined;
|
|
595
|
+
}>>;
|
|
596
|
+
}, "strip", z.ZodTypeAny, {
|
|
597
|
+
confluence?: {
|
|
598
|
+
pageCreationGranularity: "single" | "by-section" | "by-hierarchy" | "manual";
|
|
599
|
+
pageTitleFormat: string;
|
|
600
|
+
autoLabels: string[];
|
|
601
|
+
spaces?: {
|
|
602
|
+
requirements?: string | undefined;
|
|
603
|
+
design?: string | undefined;
|
|
604
|
+
tasks?: string | undefined;
|
|
605
|
+
} | undefined;
|
|
606
|
+
hierarchy?: {
|
|
607
|
+
mode?: "simple" | "nested" | undefined;
|
|
608
|
+
parentPageTitle?: string | undefined;
|
|
609
|
+
createDocTypeParents?: boolean | undefined;
|
|
610
|
+
structure?: Record<string, {
|
|
611
|
+
parent?: string | undefined;
|
|
612
|
+
title?: string | undefined;
|
|
613
|
+
children?: {
|
|
614
|
+
title: string;
|
|
615
|
+
section: string;
|
|
616
|
+
}[] | undefined;
|
|
617
|
+
pages?: {
|
|
618
|
+
title: string;
|
|
619
|
+
sections: string[];
|
|
620
|
+
labels?: string[] | undefined;
|
|
621
|
+
}[] | undefined;
|
|
622
|
+
}> | undefined;
|
|
623
|
+
} | undefined;
|
|
624
|
+
} | undefined;
|
|
625
|
+
jira?: {
|
|
626
|
+
autoLabels: string[];
|
|
627
|
+
storyCreationGranularity: "all" | "by-phase" | "selected-phases";
|
|
628
|
+
createEpic: boolean;
|
|
629
|
+
storyPoints: "manual" | "auto" | "disabled";
|
|
630
|
+
issueTypes?: {
|
|
631
|
+
epic: string;
|
|
632
|
+
story: string | null;
|
|
633
|
+
subtask: string | null;
|
|
634
|
+
} | undefined;
|
|
635
|
+
selectedPhases?: string[] | undefined;
|
|
636
|
+
} | undefined;
|
|
637
|
+
workflow?: {
|
|
638
|
+
enabledPhases: string[];
|
|
639
|
+
approvalGates?: {
|
|
640
|
+
requirements?: string[] | undefined;
|
|
641
|
+
design?: string[] | undefined;
|
|
642
|
+
release?: string[] | undefined;
|
|
643
|
+
} | undefined;
|
|
644
|
+
} | undefined;
|
|
645
|
+
}, {
|
|
646
|
+
confluence?: {
|
|
647
|
+
pageCreationGranularity?: "single" | "by-section" | "by-hierarchy" | "manual" | undefined;
|
|
648
|
+
pageTitleFormat?: string | undefined;
|
|
649
|
+
autoLabels?: string[] | undefined;
|
|
650
|
+
spaces?: {
|
|
651
|
+
requirements?: string | undefined;
|
|
652
|
+
design?: string | undefined;
|
|
653
|
+
tasks?: string | undefined;
|
|
654
|
+
} | undefined;
|
|
655
|
+
hierarchy?: {
|
|
656
|
+
mode?: "simple" | "nested" | undefined;
|
|
657
|
+
parentPageTitle?: string | undefined;
|
|
658
|
+
createDocTypeParents?: boolean | undefined;
|
|
659
|
+
structure?: Record<string, {
|
|
660
|
+
parent?: string | undefined;
|
|
661
|
+
title?: string | undefined;
|
|
662
|
+
children?: {
|
|
663
|
+
title: string;
|
|
664
|
+
section: string;
|
|
665
|
+
}[] | undefined;
|
|
666
|
+
pages?: {
|
|
667
|
+
title: string;
|
|
668
|
+
sections: string[];
|
|
669
|
+
labels?: string[] | undefined;
|
|
670
|
+
}[] | undefined;
|
|
671
|
+
}> | undefined;
|
|
672
|
+
} | undefined;
|
|
673
|
+
} | undefined;
|
|
674
|
+
jira?: {
|
|
675
|
+
autoLabels?: string[] | undefined;
|
|
676
|
+
storyCreationGranularity?: "all" | "by-phase" | "selected-phases" | undefined;
|
|
677
|
+
createEpic?: boolean | undefined;
|
|
678
|
+
storyPoints?: "manual" | "auto" | "disabled" | undefined;
|
|
679
|
+
issueTypes?: {
|
|
680
|
+
epic?: string | undefined;
|
|
681
|
+
story?: string | null | undefined;
|
|
682
|
+
subtask?: string | null | undefined;
|
|
683
|
+
} | undefined;
|
|
684
|
+
selectedPhases?: string[] | undefined;
|
|
685
|
+
} | undefined;
|
|
686
|
+
workflow?: {
|
|
687
|
+
enabledPhases?: string[] | undefined;
|
|
688
|
+
approvalGates?: {
|
|
689
|
+
requirements?: string[] | undefined;
|
|
690
|
+
design?: string[] | undefined;
|
|
691
|
+
release?: string[] | undefined;
|
|
692
|
+
} | undefined;
|
|
693
|
+
} | undefined;
|
|
694
|
+
}>;
|
|
695
|
+
/**
|
|
696
|
+
* 設定の型定義
|
|
697
|
+
*/
|
|
698
|
+
export type ConfluenceHierarchyMode = z.infer<typeof ConfluenceHierarchyModeSchema>;
|
|
699
|
+
export type ConfluencePageCreationGranularity = z.infer<typeof ConfluencePageCreationGranularitySchema>;
|
|
700
|
+
export type ConfluenceHierarchyStructure = z.infer<typeof ConfluenceHierarchyStructureSchema>;
|
|
701
|
+
export type ConfluenceConfig = z.infer<typeof ConfluenceConfigSchema>;
|
|
702
|
+
export type JiraStoryCreationGranularity = z.infer<typeof JiraStoryCreationGranularitySchema>;
|
|
703
|
+
export type JiraStoryPoints = z.infer<typeof JiraStoryPointsSchema>;
|
|
704
|
+
export type JiraConfig = z.infer<typeof JiraConfigSchema>;
|
|
705
|
+
export type WorkflowConfig = z.infer<typeof WorkflowConfigSchema>;
|
|
706
|
+
export type AppConfig = z.infer<typeof AppConfigSchema>;
|
|
707
|
+
//# sourceMappingURL=config-schema.d.ts.map
|