ide-assi 0.131.0 → 0.133.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 -8
- package/dist/bundle.esm.js +9 -8
- package/dist/components/ideAi.js +9 -8
- package/package.json +1 -1
- package/src/components/ideAi.js +9 -8
package/dist/bundle.cjs.js
CHANGED
|
@@ -193515,25 +193515,26 @@ class IdeAi
|
|
|
193515
193515
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
193516
193516
|
let params = [];
|
|
193517
193517
|
let params1 = [];
|
|
193518
|
-
files.forEach(
|
|
193518
|
+
files.forEach((file) => {
|
|
193519
193519
|
|
|
193520
|
+
/**
|
|
193520
193521
|
params1.push({
|
|
193521
|
-
|
|
193522
|
-
|
|
193523
|
-
});
|
|
193522
|
+
path: `/tmpl/${file}`,
|
|
193523
|
+
contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
193524
|
+
}); */
|
|
193524
193525
|
|
|
193525
193526
|
params.push({
|
|
193526
|
-
|
|
193527
|
-
|
|
193527
|
+
path: `aaa`,
|
|
193528
|
+
contents: "aa",
|
|
193528
193529
|
});
|
|
193529
193530
|
});
|
|
193530
193531
|
|
|
193531
|
-
console.log(JSON.stringify({
|
|
193532
|
+
console.log(JSON.stringify({list:params}), JSON.stringify({list:params1}));
|
|
193532
193533
|
|
|
193533
193534
|
await fetch(`/api/source/generateRealFile`, {
|
|
193534
193535
|
method: "POST",
|
|
193535
193536
|
headers: { "Content-Type": "application/json" },
|
|
193536
|
-
body: JSON.stringify({
|
|
193537
|
+
body: JSON.stringify({list:params})
|
|
193537
193538
|
});
|
|
193538
193539
|
|
|
193539
193540
|
return;
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193511,25 +193511,26 @@ class IdeAi
|
|
|
193511
193511
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
193512
193512
|
let params = [];
|
|
193513
193513
|
let params1 = [];
|
|
193514
|
-
files.forEach(
|
|
193514
|
+
files.forEach((file) => {
|
|
193515
193515
|
|
|
193516
|
+
/**
|
|
193516
193517
|
params1.push({
|
|
193517
|
-
|
|
193518
|
-
|
|
193519
|
-
});
|
|
193518
|
+
path: `/tmpl/${file}`,
|
|
193519
|
+
contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
193520
|
+
}); */
|
|
193520
193521
|
|
|
193521
193522
|
params.push({
|
|
193522
|
-
|
|
193523
|
-
|
|
193523
|
+
path: `aaa`,
|
|
193524
|
+
contents: "aa",
|
|
193524
193525
|
});
|
|
193525
193526
|
});
|
|
193526
193527
|
|
|
193527
|
-
console.log(JSON.stringify({
|
|
193528
|
+
console.log(JSON.stringify({list:params}), JSON.stringify({list:params1}));
|
|
193528
193529
|
|
|
193529
193530
|
await fetch(`/api/source/generateRealFile`, {
|
|
193530
193531
|
method: "POST",
|
|
193531
193532
|
headers: { "Content-Type": "application/json" },
|
|
193532
|
-
body: JSON.stringify({
|
|
193533
|
+
body: JSON.stringify({list:params})
|
|
193533
193534
|
});
|
|
193534
193535
|
|
|
193535
193536
|
return;
|
package/dist/components/ideAi.js
CHANGED
|
@@ -221,25 +221,26 @@ export class IdeAi
|
|
|
221
221
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
222
222
|
let params = [];
|
|
223
223
|
let params1 = [];
|
|
224
|
-
files.forEach(
|
|
224
|
+
files.forEach((file) => {
|
|
225
225
|
|
|
226
|
+
/**
|
|
226
227
|
params1.push({
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
});
|
|
228
|
+
path: `/tmpl/${file}`,
|
|
229
|
+
contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
230
|
+
}); */
|
|
230
231
|
|
|
231
232
|
params.push({
|
|
232
|
-
|
|
233
|
-
|
|
233
|
+
path: `aaa`,
|
|
234
|
+
contents: "aa",
|
|
234
235
|
});
|
|
235
236
|
});
|
|
236
237
|
|
|
237
|
-
console.log(JSON.stringify({
|
|
238
|
+
console.log(JSON.stringify({list:params}), JSON.stringify({list:params1}));
|
|
238
239
|
|
|
239
240
|
await fetch(`/api/source/generateRealFile`, {
|
|
240
241
|
method: "POST",
|
|
241
242
|
headers: { "Content-Type": "application/json" },
|
|
242
|
-
body: JSON.stringify({
|
|
243
|
+
body: JSON.stringify({list:params})
|
|
243
244
|
});
|
|
244
245
|
|
|
245
246
|
return;
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -221,25 +221,26 @@ export class IdeAi
|
|
|
221
221
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
222
222
|
let params = [];
|
|
223
223
|
let params1 = [];
|
|
224
|
-
files.forEach(
|
|
224
|
+
files.forEach((file) => {
|
|
225
225
|
|
|
226
|
+
/**
|
|
226
227
|
params1.push({
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
});
|
|
228
|
+
path: `/tmpl/${file}`,
|
|
229
|
+
contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
|
|
230
|
+
}); */
|
|
230
231
|
|
|
231
232
|
params.push({
|
|
232
|
-
|
|
233
|
-
|
|
233
|
+
path: `aaa`,
|
|
234
|
+
contents: "aa",
|
|
234
235
|
});
|
|
235
236
|
});
|
|
236
237
|
|
|
237
|
-
console.log(JSON.stringify({
|
|
238
|
+
console.log(JSON.stringify({list:params}), JSON.stringify({list:params1}));
|
|
238
239
|
|
|
239
240
|
await fetch(`/api/source/generateRealFile`, {
|
|
240
241
|
method: "POST",
|
|
241
242
|
headers: { "Content-Type": "application/json" },
|
|
242
|
-
body: JSON.stringify({
|
|
243
|
+
body: JSON.stringify({list:params})
|
|
243
244
|
});
|
|
244
245
|
|
|
245
246
|
return;
|