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