ide-assi 0.129.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 +5 -4
- package/dist/bundle.esm.js +5 -4
- package/dist/components/ideAi.js +5 -4
- package/package.json +1 -1
- package/src/components/ideAi.js +5 -4
package/dist/bundle.cjs.js
CHANGED
|
@@ -193514,12 +193514,13 @@ 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
|
-
|
|
193519
|
+
|
|
193520
|
+
params1.push({
|
|
193520
193521
|
"path": `/tmpl/${file}`,
|
|
193521
193522
|
"contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
193522
|
-
});
|
|
193523
|
+
});
|
|
193523
193524
|
|
|
193524
193525
|
params.push({
|
|
193525
193526
|
"path": `aaa`,
|
|
@@ -193527,7 +193528,7 @@ class IdeAi
|
|
|
193527
193528
|
});
|
|
193528
193529
|
});
|
|
193529
193530
|
|
|
193530
|
-
console.log(params);
|
|
193531
|
+
console.log(JSON.stringify(params), JSON.stringify(params1));
|
|
193531
193532
|
|
|
193532
193533
|
await fetch(`/api/source/generateRealFile`, {
|
|
193533
193534
|
method: "POST",
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193510,12 +193510,13 @@ 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
|
-
|
|
193515
|
+
|
|
193516
|
+
params1.push({
|
|
193516
193517
|
"path": `/tmpl/${file}`,
|
|
193517
193518
|
"contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
193518
|
-
});
|
|
193519
|
+
});
|
|
193519
193520
|
|
|
193520
193521
|
params.push({
|
|
193521
193522
|
"path": `aaa`,
|
|
@@ -193523,7 +193524,7 @@ class IdeAi
|
|
|
193523
193524
|
});
|
|
193524
193525
|
});
|
|
193525
193526
|
|
|
193526
|
-
console.log(params);
|
|
193527
|
+
console.log(JSON.stringify(params), JSON.stringify(params1));
|
|
193527
193528
|
|
|
193528
193529
|
await fetch(`/api/source/generateRealFile`, {
|
|
193529
193530
|
method: "POST",
|
package/dist/components/ideAi.js
CHANGED
|
@@ -220,12 +220,13 @@ 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
|
-
|
|
225
|
+
|
|
226
|
+
params1.push({
|
|
226
227
|
"path": `/tmpl/${file}`,
|
|
227
228
|
"contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
228
|
-
});
|
|
229
|
+
});
|
|
229
230
|
|
|
230
231
|
params.push({
|
|
231
232
|
"path": `aaa`,
|
|
@@ -233,7 +234,7 @@ export class IdeAi
|
|
|
233
234
|
});
|
|
234
235
|
});
|
|
235
236
|
|
|
236
|
-
console.log(params);
|
|
237
|
+
console.log(JSON.stringify(params), JSON.stringify(params1));
|
|
237
238
|
|
|
238
239
|
await fetch(`/api/source/generateRealFile`, {
|
|
239
240
|
method: "POST",
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -220,12 +220,13 @@ 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
|
-
|
|
225
|
+
|
|
226
|
+
params1.push({
|
|
226
227
|
"path": `/tmpl/${file}`,
|
|
227
228
|
"contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
228
|
-
});
|
|
229
|
+
});
|
|
229
230
|
|
|
230
231
|
params.push({
|
|
231
232
|
"path": `aaa`,
|
|
@@ -233,7 +234,7 @@ export class IdeAi
|
|
|
233
234
|
});
|
|
234
235
|
});
|
|
235
236
|
|
|
236
|
-
console.log(params);
|
|
237
|
+
console.log(JSON.stringify(params), JSON.stringify(params1));
|
|
237
238
|
|
|
238
239
|
await fetch(`/api/source/generateRealFile`, {
|
|
239
240
|
method: "POST",
|