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.
@@ -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
- params.push({
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",
@@ -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
- params.push({
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",
@@ -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
- params.push({
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.129.0",
4
+ "version": "0.130.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -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
- params.push({
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",