ide-assi 0.128.0 → 0.130.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/dist/bundle.cjs.js +9 -2
- package/dist/bundle.esm.js +9 -2
- package/dist/components/ideAi.js +9 -2
- package/package.json +1 -1
- package/src/components/ideAi.js +9 -2
package/dist/bundle.cjs.js
CHANGED
|
@@ -193514,14 +193514,21 @@ class IdeAi
|
|
|
193514
193514
|
|
|
193515
193515
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
193516
193516
|
let params = [];
|
|
193517
|
+
let params1 = [];
|
|
193517
193518
|
files.forEach(async (file) => {
|
|
193518
|
-
|
|
193519
|
+
|
|
193520
|
+
params1.push({
|
|
193519
193521
|
"path": `/tmpl/${file}`,
|
|
193520
193522
|
"contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
193521
193523
|
});
|
|
193524
|
+
|
|
193525
|
+
params.push({
|
|
193526
|
+
"path": `aaa`,
|
|
193527
|
+
"contents": "aa",
|
|
193528
|
+
});
|
|
193522
193529
|
});
|
|
193523
193530
|
|
|
193524
|
-
console.log(params);
|
|
193531
|
+
console.log(JSON.stringify(params), JSON.stringify(params1));
|
|
193525
193532
|
|
|
193526
193533
|
await fetch(`/api/source/generateRealFile`, {
|
|
193527
193534
|
method: "POST",
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193510,14 +193510,21 @@ class IdeAi
|
|
|
193510
193510
|
|
|
193511
193511
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
193512
193512
|
let params = [];
|
|
193513
|
+
let params1 = [];
|
|
193513
193514
|
files.forEach(async (file) => {
|
|
193514
|
-
|
|
193515
|
+
|
|
193516
|
+
params1.push({
|
|
193515
193517
|
"path": `/tmpl/${file}`,
|
|
193516
193518
|
"contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
193517
193519
|
});
|
|
193520
|
+
|
|
193521
|
+
params.push({
|
|
193522
|
+
"path": `aaa`,
|
|
193523
|
+
"contents": "aa",
|
|
193524
|
+
});
|
|
193518
193525
|
});
|
|
193519
193526
|
|
|
193520
|
-
console.log(params);
|
|
193527
|
+
console.log(JSON.stringify(params), JSON.stringify(params1));
|
|
193521
193528
|
|
|
193522
193529
|
await fetch(`/api/source/generateRealFile`, {
|
|
193523
193530
|
method: "POST",
|
package/dist/components/ideAi.js
CHANGED
|
@@ -220,14 +220,21 @@ export class IdeAi
|
|
|
220
220
|
|
|
221
221
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
222
222
|
let params = [];
|
|
223
|
+
let params1 = [];
|
|
223
224
|
files.forEach(async (file) => {
|
|
224
|
-
|
|
225
|
+
|
|
226
|
+
params1.push({
|
|
225
227
|
"path": `/tmpl/${file}`,
|
|
226
228
|
"contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
227
229
|
});
|
|
230
|
+
|
|
231
|
+
params.push({
|
|
232
|
+
"path": `aaa`,
|
|
233
|
+
"contents": "aa",
|
|
234
|
+
});
|
|
228
235
|
});
|
|
229
236
|
|
|
230
|
-
console.log(params);
|
|
237
|
+
console.log(JSON.stringify(params), JSON.stringify(params1));
|
|
231
238
|
|
|
232
239
|
await fetch(`/api/source/generateRealFile`, {
|
|
233
240
|
method: "POST",
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -220,14 +220,21 @@ export class IdeAi
|
|
|
220
220
|
|
|
221
221
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
222
222
|
let params = [];
|
|
223
|
+
let params1 = [];
|
|
223
224
|
files.forEach(async (file) => {
|
|
224
|
-
|
|
225
|
+
|
|
226
|
+
params1.push({
|
|
225
227
|
"path": `/tmpl/${file}`,
|
|
226
228
|
"contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
227
229
|
});
|
|
230
|
+
|
|
231
|
+
params.push({
|
|
232
|
+
"path": `aaa`,
|
|
233
|
+
"contents": "aa",
|
|
234
|
+
});
|
|
228
235
|
});
|
|
229
236
|
|
|
230
|
-
console.log(params);
|
|
237
|
+
console.log(JSON.stringify(params), JSON.stringify(params1));
|
|
231
238
|
|
|
232
239
|
await fetch(`/api/source/generateRealFile`, {
|
|
233
240
|
method: "POST",
|