ide-assi 0.123.0 → 0.125.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 +2 -2
- package/dist/bundle.esm.js +2 -2
- package/dist/components/ideAi.js +2 -2
- package/package.json +1 -1
- package/src/components/ideAi.js +2 -2
package/dist/bundle.cjs.js
CHANGED
|
@@ -193513,7 +193513,7 @@ class IdeAi
|
|
|
193513
193513
|
#generateRealFile = async (filePath, src) => {
|
|
193514
193514
|
|
|
193515
193515
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
193516
|
-
|
|
193516
|
+
let params = [];
|
|
193517
193517
|
files.forEach(async (file) => {
|
|
193518
193518
|
params.push({
|
|
193519
193519
|
path: `/tmpl/${file}`,
|
|
@@ -193526,7 +193526,7 @@ class IdeAi
|
|
|
193526
193526
|
await fetch(`/api/source/generateRealFile`, {
|
|
193527
193527
|
method: "POST",
|
|
193528
193528
|
headers: { "Content-Type": "application/json" },
|
|
193529
|
-
body: JSON.stringify(params)
|
|
193529
|
+
body: JSON.stringify({ list: params })
|
|
193530
193530
|
});
|
|
193531
193531
|
|
|
193532
193532
|
return;
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193509,7 +193509,7 @@ class IdeAi
|
|
|
193509
193509
|
#generateRealFile = async (filePath, src) => {
|
|
193510
193510
|
|
|
193511
193511
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
193512
|
-
|
|
193512
|
+
let params = [];
|
|
193513
193513
|
files.forEach(async (file) => {
|
|
193514
193514
|
params.push({
|
|
193515
193515
|
path: `/tmpl/${file}`,
|
|
@@ -193522,7 +193522,7 @@ class IdeAi
|
|
|
193522
193522
|
await fetch(`/api/source/generateRealFile`, {
|
|
193523
193523
|
method: "POST",
|
|
193524
193524
|
headers: { "Content-Type": "application/json" },
|
|
193525
|
-
body: JSON.stringify(params)
|
|
193525
|
+
body: JSON.stringify({ list: params })
|
|
193526
193526
|
});
|
|
193527
193527
|
|
|
193528
193528
|
return;
|
package/dist/components/ideAi.js
CHANGED
|
@@ -219,7 +219,7 @@ export class IdeAi
|
|
|
219
219
|
#generateRealFile = async (filePath, src) => {
|
|
220
220
|
|
|
221
221
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
222
|
-
|
|
222
|
+
let params = [];
|
|
223
223
|
files.forEach(async (file) => {
|
|
224
224
|
params.push({
|
|
225
225
|
path: `/tmpl/${file}`,
|
|
@@ -232,7 +232,7 @@ export class IdeAi
|
|
|
232
232
|
await fetch(`/api/source/generateRealFile`, {
|
|
233
233
|
method: "POST",
|
|
234
234
|
headers: { "Content-Type": "application/json" },
|
|
235
|
-
body: JSON.stringify(params)
|
|
235
|
+
body: JSON.stringify({ list: params })
|
|
236
236
|
});
|
|
237
237
|
|
|
238
238
|
return;
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -219,7 +219,7 @@ export class IdeAi
|
|
|
219
219
|
#generateRealFile = async (filePath, src) => {
|
|
220
220
|
|
|
221
221
|
const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
|
|
222
|
-
|
|
222
|
+
let params = [];
|
|
223
223
|
files.forEach(async (file) => {
|
|
224
224
|
params.push({
|
|
225
225
|
path: `/tmpl/${file}`,
|
|
@@ -232,7 +232,7 @@ export class IdeAi
|
|
|
232
232
|
await fetch(`/api/source/generateRealFile`, {
|
|
233
233
|
method: "POST",
|
|
234
234
|
headers: { "Content-Type": "application/json" },
|
|
235
|
-
body: JSON.stringify(params)
|
|
235
|
+
body: JSON.stringify({ list: params })
|
|
236
236
|
});
|
|
237
237
|
|
|
238
238
|
return;
|