mcp-probe-kit 1.15.1 → 2.0.0
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/README.md +113 -1642
- package/build/index.js +75 -42
- package/build/lib/elicitation-helper.d.ts +73 -0
- package/build/lib/elicitation-helper.js +130 -0
- package/build/lib/response.d.ts +32 -0
- package/build/lib/response.js +28 -0
- package/build/lib/tasks-manager.d.ts +116 -0
- package/build/lib/tasks-manager.js +217 -0
- package/build/lib/toolset-manager.d.ts +48 -0
- package/build/lib/toolset-manager.js +112 -0
- package/build/schemas/basic-tools.d.ts +0 -32
- package/build/schemas/basic-tools.js +0 -34
- package/build/schemas/code-analysis-tools.d.ts +0 -36
- package/build/schemas/code-analysis-tools.js +0 -38
- package/build/schemas/code-gen-tools.d.ts +0 -44
- package/build/schemas/code-gen-tools.js +0 -46
- package/build/schemas/doc-util-tools.d.ts +0 -54
- package/build/schemas/doc-util-tools.js +0 -58
- package/build/schemas/index.d.ts +0 -188
- package/build/schemas/orchestration-tools.d.ts +0 -22
- package/build/schemas/orchestration-tools.js +0 -23
- package/build/schemas/output/core-tools.d.ts +817 -0
- package/build/schemas/output/core-tools.js +421 -0
- package/build/schemas/output/generation-tools.d.ts +936 -0
- package/build/schemas/output/generation-tools.js +446 -0
- package/build/schemas/output/helper-tools.d.ts +243 -0
- package/build/schemas/output/helper-tools.js +138 -0
- package/build/schemas/output/index.d.ts +76 -0
- package/build/schemas/output/index.js +96 -0
- package/build/schemas/output/project-tools.d.ts +702 -0
- package/build/schemas/output/project-tools.js +339 -0
- package/build/schemas/output/ui-ux-tools.d.ts +469 -0
- package/build/schemas/output/ui-ux-tools.js +218 -0
- package/build/schemas/output/workflow-tools.d.ts +267 -0
- package/build/schemas/output/workflow-tools.js +179 -0
- package/build/schemas/structured-output.d.ts +1317 -0
- package/build/schemas/structured-output.js +1017 -0
- package/build/tools/__tests__/start_ui.integration.test.js +5 -5
- package/build/tools/__tests__/start_ui.property.test.js +11 -11
- package/build/tools/add_feature.d.ts +1 -13
- package/build/tools/add_feature.js +48 -13
- package/build/tools/analyze_project.js +57 -18
- package/build/tools/check_deps.d.ts +1 -13
- package/build/tools/check_deps.js +24 -15
- package/build/tools/code_review.d.ts +1 -13
- package/build/tools/code_review.js +19 -16
- package/build/tools/debug.d.ts +1 -13
- package/build/tools/debug.js +18 -16
- package/build/tools/estimate.d.ts +1 -19
- package/build/tools/estimate.js +36 -6
- package/build/tools/fix_bug.d.ts +1 -13
- package/build/tools/fix_bug.js +24 -6
- package/build/tools/gen_mock.d.ts +1 -19
- package/build/tools/gen_mock.js +42 -227
- package/build/tools/genapi.d.ts +1 -13
- package/build/tools/genapi.js +18 -15
- package/build/tools/genchangelog.d.ts +1 -13
- package/build/tools/genchangelog.js +36 -212
- package/build/tools/gencommit.d.ts +1 -7
- package/build/tools/gencommit.js +21 -13
- package/build/tools/gendoc.d.ts +1 -13
- package/build/tools/gendoc.js +18 -15
- package/build/tools/genpr.d.ts +1 -13
- package/build/tools/genpr.js +28 -157
- package/build/tools/genreadme.d.ts +1 -13
- package/build/tools/genreadme.js +22 -587
- package/build/tools/gensql.d.ts +1 -13
- package/build/tools/gensql.js +24 -283
- package/build/tools/gentest.d.ts +1 -13
- package/build/tools/gentest.js +49 -16
- package/build/tools/index.d.ts +0 -10
- package/build/tools/index.js +0 -10
- package/build/tools/init_component_catalog.d.ts +3 -20
- package/build/tools/init_component_catalog.js +141 -786
- package/build/tools/init_project.d.ts +7 -13
- package/build/tools/init_project.js +54 -16
- package/build/tools/init_project_context.d.ts +1 -13
- package/build/tools/init_project_context.js +41 -14
- package/build/tools/perf.d.ts +1 -13
- package/build/tools/perf.js +18 -15
- package/build/tools/refactor.d.ts +1 -13
- package/build/tools/refactor.js +54 -15
- package/build/tools/render_ui.d.ts +2 -19
- package/build/tools/render_ui.js +201 -347
- package/build/tools/resolve_conflict.d.ts +1 -13
- package/build/tools/resolve_conflict.js +18 -15
- package/build/tools/security_scan.d.ts +1 -13
- package/build/tools/security_scan.js +16 -5
- package/build/tools/start_api.d.ts +7 -13
- package/build/tools/start_api.js +69 -157
- package/build/tools/start_bugfix.d.ts +1 -7
- package/build/tools/start_bugfix.js +38 -2
- package/build/tools/start_doc.d.ts +7 -13
- package/build/tools/start_doc.js +76 -169
- package/build/tools/start_feature.d.ts +1 -7
- package/build/tools/start_feature.js +54 -2
- package/build/tools/start_onboard.d.ts +1 -7
- package/build/tools/start_onboard.js +40 -2
- package/build/tools/start_ralph.d.ts +1 -7
- package/build/tools/start_ralph.js +88 -2
- package/build/tools/start_refactor.d.ts +7 -13
- package/build/tools/start_refactor.js +75 -148
- package/build/tools/start_release.d.ts +7 -13
- package/build/tools/start_release.js +56 -131
- package/build/tools/start_review.d.ts +7 -13
- package/build/tools/start_review.js +70 -142
- package/build/tools/start_ui.d.ts +1 -7
- package/build/tools/start_ui.js +98 -8
- package/build/tools/ui-ux-tools.d.ts +3 -39
- package/build/tools/ui-ux-tools.js +201 -125
- package/docs/data/tools.js +864 -0
- package/docs/index.html +594 -0
- package/docs/pages/all-tools.html +649 -0
- package/docs/pages/examples.html +564 -0
- package/docs/pages/getting-started.html +529 -0
- package/docs/pages/migration.html +308 -0
- package/docs/specs/algorithm-enhancement/roadmap.md +619 -0
- package/docs/specs/vnext-upgrade/00-OVERVIEW.md +258 -0
- package/docs/specs/vnext-upgrade/BETA_RELEASE_GUIDE.md +328 -0
- package/docs/specs/vnext-upgrade/GITHUB_DISCUSSION_TEMPLATE.md +236 -0
- package/docs/specs/vnext-upgrade/M8.9-PROGRESS-UPDATE.md +248 -0
- package/docs/specs/vnext-upgrade/PROGRESS-SUMMARY.md +195 -0
- package/docs/specs/vnext-upgrade/QUICK_REFERENCE.md +338 -0
- package/docs/specs/vnext-upgrade/README.md +125 -0
- package/docs/specs/vnext-upgrade/STATUS-UPDATE-2026-01-26.md +230 -0
- package/docs/specs/vnext-upgrade/TOOL_CLEANUP.md +343 -0
- package/docs/specs/vnext-upgrade/completed/M1-M2-SUMMARY.md +27 -0
- package/docs/specs/vnext-upgrade/completed/M3_COMPLETION_SUMMARY.md +273 -0
- package/docs/specs/vnext-upgrade/completed/M4-SUMMARY.md +19 -0
- package/docs/specs/vnext-upgrade/completed/M5_COMPLETION_SUMMARY.md +0 -0
- package/docs/specs/vnext-upgrade/completed/M8.1-SUMMARY.md +247 -0
- package/docs/specs/vnext-upgrade/completed/M8.2-SUMMARY.md +296 -0
- package/docs/specs/vnext-upgrade/completed/M8.3-SUMMARY.md +241 -0
- package/docs/specs/vnext-upgrade/completed/M8.3-TEST-SUMMARY.md +216 -0
- package/docs/specs/vnext-upgrade/completed/M8.4-SUMMARY.md +217 -0
- package/docs/specs/vnext-upgrade/completed/M8.4-TEST-SUMMARY.md +198 -0
- package/docs/specs/vnext-upgrade/completed/M8.5-SUMMARY.md +202 -0
- package/docs/specs/vnext-upgrade/completed/M8.5-TEST-SUMMARY.md +223 -0
- package/docs/specs/vnext-upgrade/completed/M8.6-SUMMARY.md +299 -0
- package/docs/specs/vnext-upgrade/completed/M8.8-TEST-SUMMARY.md +216 -0
- package/docs/specs/vnext-upgrade/completed/TOOL-CLEANUP-SUMMARY.md +210 -0
- package/docs/specs/vnext-upgrade/design.md +848 -0
- package/docs/specs/vnext-upgrade/requirements.md +221 -0
- package/docs/specs/vnext-upgrade/tasks/00-INDEX.md +335 -0
- package/docs/specs/vnext-upgrade/tasks/M8.1-SCHEMA-DEFINITION.md +300 -0
- package/docs/specs/vnext-upgrade/tasks/M8.2-P1-TOOLS.md +249 -0
- package/docs/specs/vnext-upgrade/tasks/M8.3-GENERATION-TOOLS.md +49 -0
- package/docs/specs/vnext-upgrade/tasks/M8.4-ORCHESTRATION-TOOLS.md +28 -0
- package/docs/specs/vnext-upgrade/tasks/M8.5-PROJECT-TOOLS.md +29 -0
- package/docs/specs/vnext-upgrade/tasks/M8.6-UI-TOOLS.md +66 -0
- package/docs/specs/vnext-upgrade/tasks/M8.7-HELPER-TOOLS.md +24 -0
- package/docs/specs/vnext-upgrade/tasks/M8.8-INTEGRATION-TESTS.md +90 -0
- package/docs/specs/vnext-upgrade/tasks/M8.9-DOCUMENTATION.md +103 -0
- package/docs/styles/docs.css +556 -0
- package/docs/styles/page.css +815 -0
- package/docs/vnext/MCP_2025-11-25_GUIDE.md +276 -0
- package/docs/vnext/vNext-PRD.md +488 -0
- package/package.json +6 -6
- package/docs/BEST_PRACTICES.md +0 -1185
- package/docs/HOW_TO_TRIGGER.md +0 -1141
- package/docs/MCP-Probe-Kit-/344/275/277/347/224/250/346/211/213/345/206/214.html +0 -544
- package/docs/MCP-Probe-Kit-/344/275/277/347/224/250/346/211/213/345/206/214.md +0 -1447
|
@@ -0,0 +1,936 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 代码生成工具的结构化输出 Schema
|
|
3
|
+
* 包含: gendoc, genapi, gensql, genreadme, genui, gen_mock, genchangelog, genpr, fix, explain, convert, css_order
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Documentation Schema
|
|
7
|
+
* 用于 gendoc 工具的结构化输出
|
|
8
|
+
*/
|
|
9
|
+
export declare const DocumentationSchema: {
|
|
10
|
+
readonly type: "object";
|
|
11
|
+
readonly properties: {
|
|
12
|
+
readonly summary: {
|
|
13
|
+
readonly type: "string";
|
|
14
|
+
readonly description: "文档摘要";
|
|
15
|
+
};
|
|
16
|
+
readonly docType: {
|
|
17
|
+
readonly type: "string";
|
|
18
|
+
readonly enum: readonly ["jsdoc", "tsdoc", "javadoc", "pydoc", "godoc"];
|
|
19
|
+
readonly description: "文档类型";
|
|
20
|
+
};
|
|
21
|
+
readonly documentation: {
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
readonly description: "生成的文档内容";
|
|
24
|
+
};
|
|
25
|
+
readonly functions: {
|
|
26
|
+
readonly type: "array";
|
|
27
|
+
readonly description: "函数文档列表";
|
|
28
|
+
readonly items: {
|
|
29
|
+
readonly type: "object";
|
|
30
|
+
readonly properties: {
|
|
31
|
+
readonly name: {
|
|
32
|
+
readonly type: "string";
|
|
33
|
+
};
|
|
34
|
+
readonly description: {
|
|
35
|
+
readonly type: "string";
|
|
36
|
+
};
|
|
37
|
+
readonly parameters: {
|
|
38
|
+
readonly type: "array";
|
|
39
|
+
readonly items: {
|
|
40
|
+
readonly type: "object";
|
|
41
|
+
readonly properties: {
|
|
42
|
+
readonly name: {
|
|
43
|
+
readonly type: "string";
|
|
44
|
+
};
|
|
45
|
+
readonly type: {
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
};
|
|
48
|
+
readonly description: {
|
|
49
|
+
readonly type: "string";
|
|
50
|
+
};
|
|
51
|
+
readonly optional: {
|
|
52
|
+
readonly type: "boolean";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
readonly returns: {
|
|
58
|
+
readonly type: "object";
|
|
59
|
+
readonly properties: {
|
|
60
|
+
readonly type: {
|
|
61
|
+
readonly type: "string";
|
|
62
|
+
};
|
|
63
|
+
readonly description: {
|
|
64
|
+
readonly type: "string";
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly throws: {
|
|
69
|
+
readonly type: "array";
|
|
70
|
+
readonly items: {
|
|
71
|
+
readonly type: "object";
|
|
72
|
+
readonly properties: {
|
|
73
|
+
readonly type: {
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
};
|
|
76
|
+
readonly description: {
|
|
77
|
+
readonly type: "string";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
readonly examples: {
|
|
83
|
+
readonly type: "array";
|
|
84
|
+
readonly items: {
|
|
85
|
+
readonly type: "string";
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
readonly required: readonly ["summary", "docType", "documentation"];
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* API Documentation Schema
|
|
96
|
+
* 用于 genapi 工具的结构化输出
|
|
97
|
+
*/
|
|
98
|
+
export declare const APIDocumentationSchema: {
|
|
99
|
+
readonly type: "object";
|
|
100
|
+
readonly properties: {
|
|
101
|
+
readonly summary: {
|
|
102
|
+
readonly type: "string";
|
|
103
|
+
};
|
|
104
|
+
readonly format: {
|
|
105
|
+
readonly type: "string";
|
|
106
|
+
readonly enum: readonly ["markdown", "openapi", "swagger", "postman"];
|
|
107
|
+
};
|
|
108
|
+
readonly endpoints: {
|
|
109
|
+
readonly type: "array";
|
|
110
|
+
readonly items: {
|
|
111
|
+
readonly type: "object";
|
|
112
|
+
readonly properties: {
|
|
113
|
+
readonly method: {
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
readonly enum: readonly ["GET", "POST", "PUT", "DELETE", "PATCH"];
|
|
116
|
+
};
|
|
117
|
+
readonly path: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
};
|
|
120
|
+
readonly summary: {
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
};
|
|
123
|
+
readonly description: {
|
|
124
|
+
readonly type: "string";
|
|
125
|
+
};
|
|
126
|
+
readonly parameters: {
|
|
127
|
+
readonly type: "array";
|
|
128
|
+
readonly items: {
|
|
129
|
+
readonly type: "object";
|
|
130
|
+
readonly properties: {
|
|
131
|
+
readonly name: {
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
};
|
|
134
|
+
readonly in: {
|
|
135
|
+
readonly type: "string";
|
|
136
|
+
readonly enum: readonly ["query", "path", "header", "body"];
|
|
137
|
+
};
|
|
138
|
+
readonly type: {
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
};
|
|
141
|
+
readonly required: {
|
|
142
|
+
readonly type: "boolean";
|
|
143
|
+
};
|
|
144
|
+
readonly description: {
|
|
145
|
+
readonly type: "string";
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
readonly requestBody: {
|
|
151
|
+
readonly type: "object";
|
|
152
|
+
readonly properties: {
|
|
153
|
+
readonly contentType: {
|
|
154
|
+
readonly type: "string";
|
|
155
|
+
};
|
|
156
|
+
readonly schema: {
|
|
157
|
+
readonly type: "object";
|
|
158
|
+
};
|
|
159
|
+
readonly example: {
|
|
160
|
+
readonly type: "object";
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
readonly responses: {
|
|
165
|
+
readonly type: "object";
|
|
166
|
+
readonly additionalProperties: {
|
|
167
|
+
readonly type: "object";
|
|
168
|
+
readonly properties: {
|
|
169
|
+
readonly description: {
|
|
170
|
+
readonly type: "string";
|
|
171
|
+
};
|
|
172
|
+
readonly schema: {
|
|
173
|
+
readonly type: "object";
|
|
174
|
+
};
|
|
175
|
+
readonly example: {
|
|
176
|
+
readonly type: "object";
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
readonly documentation: {
|
|
185
|
+
readonly type: "string";
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
readonly required: readonly ["summary", "format", "endpoints", "documentation"];
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* SQL Query Schema
|
|
192
|
+
* 用于 gensql 工具的结构化输出
|
|
193
|
+
*/
|
|
194
|
+
export declare const SQLQuerySchema: {
|
|
195
|
+
readonly type: "object";
|
|
196
|
+
readonly properties: {
|
|
197
|
+
readonly summary: {
|
|
198
|
+
readonly type: "string";
|
|
199
|
+
};
|
|
200
|
+
readonly dialect: {
|
|
201
|
+
readonly type: "string";
|
|
202
|
+
readonly enum: readonly ["postgres", "mysql", "sqlite", "mssql", "oracle"];
|
|
203
|
+
};
|
|
204
|
+
readonly query: {
|
|
205
|
+
readonly type: "string";
|
|
206
|
+
readonly description: "生成的 SQL 查询";
|
|
207
|
+
};
|
|
208
|
+
readonly explanation: {
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
readonly description: "查询说明";
|
|
211
|
+
};
|
|
212
|
+
readonly parameters: {
|
|
213
|
+
readonly type: "array";
|
|
214
|
+
readonly items: {
|
|
215
|
+
readonly type: "object";
|
|
216
|
+
readonly properties: {
|
|
217
|
+
readonly name: {
|
|
218
|
+
readonly type: "string";
|
|
219
|
+
};
|
|
220
|
+
readonly type: {
|
|
221
|
+
readonly type: "string";
|
|
222
|
+
};
|
|
223
|
+
readonly description: {
|
|
224
|
+
readonly type: "string";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
readonly performance: {
|
|
230
|
+
readonly type: "object";
|
|
231
|
+
readonly properties: {
|
|
232
|
+
readonly estimatedRows: {
|
|
233
|
+
readonly type: "number";
|
|
234
|
+
};
|
|
235
|
+
readonly indexes: {
|
|
236
|
+
readonly type: "array";
|
|
237
|
+
readonly items: {
|
|
238
|
+
readonly type: "string";
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
readonly optimizations: {
|
|
242
|
+
readonly type: "array";
|
|
243
|
+
readonly items: {
|
|
244
|
+
readonly type: "string";
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
readonly required: readonly ["summary", "dialect", "query"];
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* README Schema
|
|
254
|
+
* 用于 genreadme 工具的结构化输出
|
|
255
|
+
*/
|
|
256
|
+
export declare const ReadmeSchema: {
|
|
257
|
+
readonly type: "object";
|
|
258
|
+
readonly properties: {
|
|
259
|
+
readonly summary: {
|
|
260
|
+
readonly type: "string";
|
|
261
|
+
};
|
|
262
|
+
readonly content: {
|
|
263
|
+
readonly type: "string";
|
|
264
|
+
readonly description: "完整的 README 内容";
|
|
265
|
+
};
|
|
266
|
+
readonly sections: {
|
|
267
|
+
readonly type: "object";
|
|
268
|
+
readonly properties: {
|
|
269
|
+
readonly title: {
|
|
270
|
+
readonly type: "string";
|
|
271
|
+
};
|
|
272
|
+
readonly description: {
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
};
|
|
275
|
+
readonly installation: {
|
|
276
|
+
readonly type: "string";
|
|
277
|
+
};
|
|
278
|
+
readonly usage: {
|
|
279
|
+
readonly type: "string";
|
|
280
|
+
};
|
|
281
|
+
readonly api: {
|
|
282
|
+
readonly type: "string";
|
|
283
|
+
};
|
|
284
|
+
readonly examples: {
|
|
285
|
+
readonly type: "string";
|
|
286
|
+
};
|
|
287
|
+
readonly contributing: {
|
|
288
|
+
readonly type: "string";
|
|
289
|
+
};
|
|
290
|
+
readonly license: {
|
|
291
|
+
readonly type: "string";
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
readonly badges: {
|
|
296
|
+
readonly type: "array";
|
|
297
|
+
readonly items: {
|
|
298
|
+
readonly type: "object";
|
|
299
|
+
readonly properties: {
|
|
300
|
+
readonly name: {
|
|
301
|
+
readonly type: "string";
|
|
302
|
+
};
|
|
303
|
+
readonly url: {
|
|
304
|
+
readonly type: "string";
|
|
305
|
+
};
|
|
306
|
+
readonly imageUrl: {
|
|
307
|
+
readonly type: "string";
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
readonly required: readonly ["summary", "content"];
|
|
314
|
+
};
|
|
315
|
+
/**
|
|
316
|
+
* UI Component Schema
|
|
317
|
+
* 用于 genui 工具的结构化输出
|
|
318
|
+
*/
|
|
319
|
+
export declare const UIComponentSchema: {
|
|
320
|
+
readonly type: "object";
|
|
321
|
+
readonly properties: {
|
|
322
|
+
readonly summary: {
|
|
323
|
+
readonly type: "string";
|
|
324
|
+
};
|
|
325
|
+
readonly framework: {
|
|
326
|
+
readonly type: "string";
|
|
327
|
+
readonly enum: readonly ["react", "vue", "angular", "svelte", "html"];
|
|
328
|
+
};
|
|
329
|
+
readonly componentName: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
};
|
|
332
|
+
readonly code: {
|
|
333
|
+
readonly type: "string";
|
|
334
|
+
readonly description: "组件代码";
|
|
335
|
+
};
|
|
336
|
+
readonly props: {
|
|
337
|
+
readonly type: "array";
|
|
338
|
+
readonly items: {
|
|
339
|
+
readonly type: "object";
|
|
340
|
+
readonly properties: {
|
|
341
|
+
readonly name: {
|
|
342
|
+
readonly type: "string";
|
|
343
|
+
};
|
|
344
|
+
readonly type: {
|
|
345
|
+
readonly type: "string";
|
|
346
|
+
};
|
|
347
|
+
readonly required: {
|
|
348
|
+
readonly type: "boolean";
|
|
349
|
+
};
|
|
350
|
+
readonly default: {
|
|
351
|
+
readonly type: "string";
|
|
352
|
+
};
|
|
353
|
+
readonly description: {
|
|
354
|
+
readonly type: "string";
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
readonly styles: {
|
|
360
|
+
readonly type: "string";
|
|
361
|
+
readonly description: "样式代码";
|
|
362
|
+
};
|
|
363
|
+
readonly usage: {
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
readonly description: "使用示例";
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
readonly required: readonly ["summary", "framework", "componentName", "code"];
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* Mock Data Schema
|
|
372
|
+
* 用于 gen_mock 工具的结构化输出
|
|
373
|
+
*/
|
|
374
|
+
export declare const MockDataSchema: {
|
|
375
|
+
readonly type: "object";
|
|
376
|
+
readonly properties: {
|
|
377
|
+
readonly summary: {
|
|
378
|
+
readonly type: "string";
|
|
379
|
+
};
|
|
380
|
+
readonly format: {
|
|
381
|
+
readonly type: "string";
|
|
382
|
+
readonly enum: readonly ["json", "typescript", "javascript", "csv"];
|
|
383
|
+
};
|
|
384
|
+
readonly count: {
|
|
385
|
+
readonly type: "number";
|
|
386
|
+
readonly description: "生成的数据条数";
|
|
387
|
+
};
|
|
388
|
+
readonly data: {
|
|
389
|
+
readonly type: "array";
|
|
390
|
+
readonly description: "生成的 Mock 数据";
|
|
391
|
+
readonly items: {
|
|
392
|
+
readonly type: "object";
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
readonly schema: {
|
|
396
|
+
readonly type: "object";
|
|
397
|
+
readonly description: "数据结构定义";
|
|
398
|
+
};
|
|
399
|
+
readonly code: {
|
|
400
|
+
readonly type: "string";
|
|
401
|
+
readonly description: "可直接使用的代码";
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
readonly required: readonly ["summary", "format", "count", "data"];
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* Changelog Schema
|
|
408
|
+
* 用于 genchangelog 工具的结构化输出
|
|
409
|
+
*/
|
|
410
|
+
export declare const ChangelogSchema: {
|
|
411
|
+
readonly type: "object";
|
|
412
|
+
readonly properties: {
|
|
413
|
+
readonly summary: {
|
|
414
|
+
readonly type: "string";
|
|
415
|
+
};
|
|
416
|
+
readonly version: {
|
|
417
|
+
readonly type: "string";
|
|
418
|
+
};
|
|
419
|
+
readonly date: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
};
|
|
422
|
+
readonly content: {
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
readonly description: "完整的 Changelog 内容";
|
|
425
|
+
};
|
|
426
|
+
readonly changes: {
|
|
427
|
+
readonly type: "object";
|
|
428
|
+
readonly properties: {
|
|
429
|
+
readonly features: {
|
|
430
|
+
readonly type: "array";
|
|
431
|
+
readonly items: {
|
|
432
|
+
readonly type: "string";
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
readonly fixes: {
|
|
436
|
+
readonly type: "array";
|
|
437
|
+
readonly items: {
|
|
438
|
+
readonly type: "string";
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
readonly breaking: {
|
|
442
|
+
readonly type: "array";
|
|
443
|
+
readonly items: {
|
|
444
|
+
readonly type: "string";
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
readonly deprecated: {
|
|
448
|
+
readonly type: "array";
|
|
449
|
+
readonly items: {
|
|
450
|
+
readonly type: "string";
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
readonly security: {
|
|
454
|
+
readonly type: "array";
|
|
455
|
+
readonly items: {
|
|
456
|
+
readonly type: "string";
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
readonly performance: {
|
|
460
|
+
readonly type: "array";
|
|
461
|
+
readonly items: {
|
|
462
|
+
readonly type: "string";
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
readonly docs: {
|
|
466
|
+
readonly type: "array";
|
|
467
|
+
readonly items: {
|
|
468
|
+
readonly type: "string";
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
readonly chore: {
|
|
472
|
+
readonly type: "array";
|
|
473
|
+
readonly items: {
|
|
474
|
+
readonly type: "string";
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
readonly required: readonly ["summary", "version", "content", "changes"];
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* Pull Request Schema
|
|
484
|
+
* 用于 genpr 工具的结构化输出
|
|
485
|
+
*/
|
|
486
|
+
export declare const PullRequestSchema: {
|
|
487
|
+
readonly type: "object";
|
|
488
|
+
readonly properties: {
|
|
489
|
+
readonly summary: {
|
|
490
|
+
readonly type: "string";
|
|
491
|
+
};
|
|
492
|
+
readonly title: {
|
|
493
|
+
readonly type: "string";
|
|
494
|
+
};
|
|
495
|
+
readonly description: {
|
|
496
|
+
readonly type: "string";
|
|
497
|
+
readonly description: "完整的 PR 描述";
|
|
498
|
+
};
|
|
499
|
+
readonly type: {
|
|
500
|
+
readonly type: "string";
|
|
501
|
+
readonly enum: readonly ["feature", "bugfix", "hotfix", "refactor", "docs", "chore"];
|
|
502
|
+
};
|
|
503
|
+
readonly changes: {
|
|
504
|
+
readonly type: "object";
|
|
505
|
+
readonly properties: {
|
|
506
|
+
readonly added: {
|
|
507
|
+
readonly type: "array";
|
|
508
|
+
readonly items: {
|
|
509
|
+
readonly type: "string";
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
readonly modified: {
|
|
513
|
+
readonly type: "array";
|
|
514
|
+
readonly items: {
|
|
515
|
+
readonly type: "string";
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
readonly removed: {
|
|
519
|
+
readonly type: "array";
|
|
520
|
+
readonly items: {
|
|
521
|
+
readonly type: "string";
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
readonly testing: {
|
|
527
|
+
readonly type: "string";
|
|
528
|
+
readonly description: "测试说明";
|
|
529
|
+
};
|
|
530
|
+
readonly screenshots: {
|
|
531
|
+
readonly type: "array";
|
|
532
|
+
readonly items: {
|
|
533
|
+
readonly type: "string";
|
|
534
|
+
};
|
|
535
|
+
readonly description: "截图说明";
|
|
536
|
+
};
|
|
537
|
+
readonly checklist: {
|
|
538
|
+
readonly type: "array";
|
|
539
|
+
readonly items: {
|
|
540
|
+
readonly type: "string";
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
readonly required: readonly ["summary", "title", "description", "type"];
|
|
545
|
+
};
|
|
546
|
+
/**
|
|
547
|
+
* Code Fix Schema
|
|
548
|
+
* 用于 fix 工具的结构化输出
|
|
549
|
+
*/
|
|
550
|
+
export declare const CodeFixSchema: {
|
|
551
|
+
readonly type: "object";
|
|
552
|
+
readonly properties: {
|
|
553
|
+
readonly summary: {
|
|
554
|
+
readonly type: "string";
|
|
555
|
+
};
|
|
556
|
+
readonly fixType: {
|
|
557
|
+
readonly type: "string";
|
|
558
|
+
readonly enum: readonly ["lint", "format", "typescript", "import", "syntax"];
|
|
559
|
+
};
|
|
560
|
+
readonly originalCode: {
|
|
561
|
+
readonly type: "string";
|
|
562
|
+
};
|
|
563
|
+
readonly fixedCode: {
|
|
564
|
+
readonly type: "string";
|
|
565
|
+
};
|
|
566
|
+
readonly diff: {
|
|
567
|
+
readonly type: "string";
|
|
568
|
+
readonly description: "Unified diff";
|
|
569
|
+
};
|
|
570
|
+
readonly issues: {
|
|
571
|
+
readonly type: "array";
|
|
572
|
+
readonly items: {
|
|
573
|
+
readonly type: "object";
|
|
574
|
+
readonly properties: {
|
|
575
|
+
readonly line: {
|
|
576
|
+
readonly type: "number";
|
|
577
|
+
};
|
|
578
|
+
readonly message: {
|
|
579
|
+
readonly type: "string";
|
|
580
|
+
};
|
|
581
|
+
readonly fixed: {
|
|
582
|
+
readonly type: "boolean";
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
readonly required: readonly ["summary", "fixType", "fixedCode"];
|
|
589
|
+
};
|
|
590
|
+
/**
|
|
591
|
+
* Explanation Schema
|
|
592
|
+
* 用于 explain 工具的结构化输出
|
|
593
|
+
*/
|
|
594
|
+
export declare const ExplanationSchema: {
|
|
595
|
+
readonly type: "object";
|
|
596
|
+
readonly properties: {
|
|
597
|
+
readonly summary: {
|
|
598
|
+
readonly type: "string";
|
|
599
|
+
};
|
|
600
|
+
readonly overview: {
|
|
601
|
+
readonly type: "string";
|
|
602
|
+
readonly description: "代码概述";
|
|
603
|
+
};
|
|
604
|
+
readonly purpose: {
|
|
605
|
+
readonly type: "string";
|
|
606
|
+
readonly description: "代码目的";
|
|
607
|
+
};
|
|
608
|
+
readonly flow: {
|
|
609
|
+
readonly type: "array";
|
|
610
|
+
readonly description: "执行流程";
|
|
611
|
+
readonly items: {
|
|
612
|
+
readonly type: "object";
|
|
613
|
+
readonly properties: {
|
|
614
|
+
readonly step: {
|
|
615
|
+
readonly type: "number";
|
|
616
|
+
};
|
|
617
|
+
readonly description: {
|
|
618
|
+
readonly type: "string";
|
|
619
|
+
};
|
|
620
|
+
readonly code: {
|
|
621
|
+
readonly type: "string";
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
readonly keyConcepts: {
|
|
627
|
+
readonly type: "array";
|
|
628
|
+
readonly items: {
|
|
629
|
+
readonly type: "object";
|
|
630
|
+
readonly properties: {
|
|
631
|
+
readonly concept: {
|
|
632
|
+
readonly type: "string";
|
|
633
|
+
};
|
|
634
|
+
readonly explanation: {
|
|
635
|
+
readonly type: "string";
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
};
|
|
640
|
+
readonly complexity: {
|
|
641
|
+
readonly type: "object";
|
|
642
|
+
readonly properties: {
|
|
643
|
+
readonly time: {
|
|
644
|
+
readonly type: "string";
|
|
645
|
+
};
|
|
646
|
+
readonly space: {
|
|
647
|
+
readonly type: "string";
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
readonly required: readonly ["summary", "overview", "purpose"];
|
|
653
|
+
};
|
|
654
|
+
/**
|
|
655
|
+
* Conversion Schema
|
|
656
|
+
* 用于 convert 工具的结构化输出
|
|
657
|
+
*/
|
|
658
|
+
export declare const ConversionSchema: {
|
|
659
|
+
readonly type: "object";
|
|
660
|
+
readonly properties: {
|
|
661
|
+
readonly summary: {
|
|
662
|
+
readonly type: "string";
|
|
663
|
+
};
|
|
664
|
+
readonly from: {
|
|
665
|
+
readonly type: "string";
|
|
666
|
+
readonly description: "源格式";
|
|
667
|
+
};
|
|
668
|
+
readonly to: {
|
|
669
|
+
readonly type: "string";
|
|
670
|
+
readonly description: "目标格式";
|
|
671
|
+
};
|
|
672
|
+
readonly originalCode: {
|
|
673
|
+
readonly type: "string";
|
|
674
|
+
};
|
|
675
|
+
readonly convertedCode: {
|
|
676
|
+
readonly type: "string";
|
|
677
|
+
};
|
|
678
|
+
readonly changes: {
|
|
679
|
+
readonly type: "array";
|
|
680
|
+
readonly items: {
|
|
681
|
+
readonly type: "object";
|
|
682
|
+
readonly properties: {
|
|
683
|
+
readonly type: {
|
|
684
|
+
readonly type: "string";
|
|
685
|
+
};
|
|
686
|
+
readonly description: {
|
|
687
|
+
readonly type: "string";
|
|
688
|
+
};
|
|
689
|
+
readonly before: {
|
|
690
|
+
readonly type: "string";
|
|
691
|
+
};
|
|
692
|
+
readonly after: {
|
|
693
|
+
readonly type: "string";
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
readonly warnings: {
|
|
699
|
+
readonly type: "array";
|
|
700
|
+
readonly items: {
|
|
701
|
+
readonly type: "string";
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
readonly required: readonly ["summary", "from", "to", "convertedCode"];
|
|
706
|
+
};
|
|
707
|
+
/**
|
|
708
|
+
* CSS Order Schema
|
|
709
|
+
* 用于 css_order 工具的结构化输出
|
|
710
|
+
*/
|
|
711
|
+
export declare const CSSOrderSchema: {
|
|
712
|
+
readonly type: "object";
|
|
713
|
+
readonly properties: {
|
|
714
|
+
readonly summary: {
|
|
715
|
+
readonly type: "string";
|
|
716
|
+
};
|
|
717
|
+
readonly originalCSS: {
|
|
718
|
+
readonly type: "string";
|
|
719
|
+
};
|
|
720
|
+
readonly orderedCSS: {
|
|
721
|
+
readonly type: "string";
|
|
722
|
+
};
|
|
723
|
+
readonly rules: {
|
|
724
|
+
readonly type: "array";
|
|
725
|
+
readonly items: {
|
|
726
|
+
readonly type: "object";
|
|
727
|
+
readonly properties: {
|
|
728
|
+
readonly selector: {
|
|
729
|
+
readonly type: "string";
|
|
730
|
+
};
|
|
731
|
+
readonly propertiesCount: {
|
|
732
|
+
readonly type: "number";
|
|
733
|
+
};
|
|
734
|
+
readonly reordered: {
|
|
735
|
+
readonly type: "boolean";
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
readonly required: readonly ["summary", "orderedCSS"];
|
|
742
|
+
};
|
|
743
|
+
export interface Documentation {
|
|
744
|
+
summary: string;
|
|
745
|
+
docType: 'jsdoc' | 'tsdoc' | 'javadoc' | 'pydoc' | 'godoc';
|
|
746
|
+
documentation: string;
|
|
747
|
+
functions?: Array<{
|
|
748
|
+
name?: string;
|
|
749
|
+
description?: string;
|
|
750
|
+
parameters?: Array<{
|
|
751
|
+
name?: string;
|
|
752
|
+
type?: string;
|
|
753
|
+
description?: string;
|
|
754
|
+
optional?: boolean;
|
|
755
|
+
}>;
|
|
756
|
+
returns?: {
|
|
757
|
+
type?: string;
|
|
758
|
+
description?: string;
|
|
759
|
+
};
|
|
760
|
+
throws?: Array<{
|
|
761
|
+
type?: string;
|
|
762
|
+
description?: string;
|
|
763
|
+
}>;
|
|
764
|
+
examples?: string[];
|
|
765
|
+
}>;
|
|
766
|
+
}
|
|
767
|
+
export interface APIDocumentation {
|
|
768
|
+
summary: string;
|
|
769
|
+
format: 'markdown' | 'openapi' | 'swagger' | 'postman';
|
|
770
|
+
endpoints: Array<{
|
|
771
|
+
method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
772
|
+
path?: string;
|
|
773
|
+
summary?: string;
|
|
774
|
+
description?: string;
|
|
775
|
+
parameters?: Array<{
|
|
776
|
+
name?: string;
|
|
777
|
+
in?: 'query' | 'path' | 'header' | 'body';
|
|
778
|
+
type?: string;
|
|
779
|
+
required?: boolean;
|
|
780
|
+
description?: string;
|
|
781
|
+
}>;
|
|
782
|
+
requestBody?: {
|
|
783
|
+
contentType?: string;
|
|
784
|
+
schema?: any;
|
|
785
|
+
example?: any;
|
|
786
|
+
};
|
|
787
|
+
responses?: Record<string, {
|
|
788
|
+
description?: string;
|
|
789
|
+
schema?: any;
|
|
790
|
+
example?: any;
|
|
791
|
+
}>;
|
|
792
|
+
}>;
|
|
793
|
+
documentation: string;
|
|
794
|
+
}
|
|
795
|
+
export interface SQLQuery {
|
|
796
|
+
summary: string;
|
|
797
|
+
dialect: 'postgres' | 'mysql' | 'sqlite' | 'mssql' | 'oracle';
|
|
798
|
+
query: string;
|
|
799
|
+
explanation?: string;
|
|
800
|
+
parameters?: Array<{
|
|
801
|
+
name?: string;
|
|
802
|
+
type?: string;
|
|
803
|
+
description?: string;
|
|
804
|
+
}>;
|
|
805
|
+
performance?: {
|
|
806
|
+
estimatedRows?: number;
|
|
807
|
+
indexes?: string[];
|
|
808
|
+
optimizations?: string[];
|
|
809
|
+
};
|
|
810
|
+
}
|
|
811
|
+
export interface Readme {
|
|
812
|
+
summary: string;
|
|
813
|
+
content: string;
|
|
814
|
+
sections?: {
|
|
815
|
+
title?: string;
|
|
816
|
+
description?: string;
|
|
817
|
+
installation?: string;
|
|
818
|
+
usage?: string;
|
|
819
|
+
api?: string;
|
|
820
|
+
examples?: string;
|
|
821
|
+
contributing?: string;
|
|
822
|
+
license?: string;
|
|
823
|
+
};
|
|
824
|
+
badges?: Array<{
|
|
825
|
+
name?: string;
|
|
826
|
+
url?: string;
|
|
827
|
+
imageUrl?: string;
|
|
828
|
+
}>;
|
|
829
|
+
}
|
|
830
|
+
export interface UIComponent {
|
|
831
|
+
summary: string;
|
|
832
|
+
framework: 'react' | 'vue' | 'angular' | 'svelte' | 'html';
|
|
833
|
+
componentName: string;
|
|
834
|
+
code: string;
|
|
835
|
+
props?: Array<{
|
|
836
|
+
name?: string;
|
|
837
|
+
type?: string;
|
|
838
|
+
required?: boolean;
|
|
839
|
+
default?: string;
|
|
840
|
+
description?: string;
|
|
841
|
+
}>;
|
|
842
|
+
styles?: string;
|
|
843
|
+
usage?: string;
|
|
844
|
+
}
|
|
845
|
+
export interface MockData {
|
|
846
|
+
summary: string;
|
|
847
|
+
format: 'json' | 'typescript' | 'javascript' | 'csv';
|
|
848
|
+
count: number;
|
|
849
|
+
data: any[];
|
|
850
|
+
schema?: any;
|
|
851
|
+
code?: string;
|
|
852
|
+
}
|
|
853
|
+
export interface Changelog {
|
|
854
|
+
summary: string;
|
|
855
|
+
version: string;
|
|
856
|
+
date: string;
|
|
857
|
+
content: string;
|
|
858
|
+
changes: {
|
|
859
|
+
features?: string[];
|
|
860
|
+
fixes?: string[];
|
|
861
|
+
breaking?: string[];
|
|
862
|
+
deprecated?: string[];
|
|
863
|
+
security?: string[];
|
|
864
|
+
performance?: string[];
|
|
865
|
+
docs?: string[];
|
|
866
|
+
chore?: string[];
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
export interface PullRequest {
|
|
870
|
+
summary: string;
|
|
871
|
+
title: string;
|
|
872
|
+
description: string;
|
|
873
|
+
type: 'feature' | 'bugfix' | 'hotfix' | 'refactor' | 'docs' | 'chore';
|
|
874
|
+
changes?: {
|
|
875
|
+
added?: string[];
|
|
876
|
+
modified?: string[];
|
|
877
|
+
removed?: string[];
|
|
878
|
+
};
|
|
879
|
+
testing?: string;
|
|
880
|
+
screenshots?: string[];
|
|
881
|
+
checklist?: string[];
|
|
882
|
+
}
|
|
883
|
+
export interface CodeFix {
|
|
884
|
+
summary: string;
|
|
885
|
+
fixType: 'lint' | 'format' | 'typescript' | 'import' | 'syntax';
|
|
886
|
+
originalCode?: string;
|
|
887
|
+
fixedCode: string;
|
|
888
|
+
diff?: string;
|
|
889
|
+
issues?: Array<{
|
|
890
|
+
line?: number;
|
|
891
|
+
message?: string;
|
|
892
|
+
fixed?: boolean;
|
|
893
|
+
}>;
|
|
894
|
+
}
|
|
895
|
+
export interface Explanation {
|
|
896
|
+
summary: string;
|
|
897
|
+
overview: string;
|
|
898
|
+
purpose: string;
|
|
899
|
+
flow?: Array<{
|
|
900
|
+
step?: number;
|
|
901
|
+
description?: string;
|
|
902
|
+
code?: string;
|
|
903
|
+
}>;
|
|
904
|
+
keyConcepts?: Array<{
|
|
905
|
+
concept?: string;
|
|
906
|
+
explanation?: string;
|
|
907
|
+
}>;
|
|
908
|
+
complexity?: {
|
|
909
|
+
time?: string;
|
|
910
|
+
space?: string;
|
|
911
|
+
};
|
|
912
|
+
}
|
|
913
|
+
export interface Conversion {
|
|
914
|
+
summary: string;
|
|
915
|
+
from: string;
|
|
916
|
+
to: string;
|
|
917
|
+
originalCode?: string;
|
|
918
|
+
convertedCode: string;
|
|
919
|
+
changes?: Array<{
|
|
920
|
+
type?: string;
|
|
921
|
+
description?: string;
|
|
922
|
+
before?: string;
|
|
923
|
+
after?: string;
|
|
924
|
+
}>;
|
|
925
|
+
warnings?: string[];
|
|
926
|
+
}
|
|
927
|
+
export interface CSSOrder {
|
|
928
|
+
summary: string;
|
|
929
|
+
originalCSS?: string;
|
|
930
|
+
orderedCSS: string;
|
|
931
|
+
rules?: Array<{
|
|
932
|
+
selector?: string;
|
|
933
|
+
propertiesCount?: number;
|
|
934
|
+
reordered?: boolean;
|
|
935
|
+
}>;
|
|
936
|
+
}
|