ide-assi 0.121.0 → 0.123.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.
@@ -193520,17 +193520,13 @@ class IdeAi
193520
193520
  contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
193521
193521
  });
193522
193522
  });
193523
- //const path = "/api/templates/mybatis.xml";
193524
- // const template = await fetch(path).then(res => res.text());
193525
193523
 
193526
193524
  console.log(params);
193527
193525
 
193528
193526
  await fetch(`/api/source/generateRealFile`, {
193529
193527
  method: "POST",
193530
193528
  headers: { "Content-Type": "application/json" },
193531
- body: JSON.stringify({
193532
- list: params,
193533
- })
193529
+ body: JSON.stringify(params)
193534
193530
  });
193535
193531
 
193536
193532
  return;
@@ -193516,17 +193516,13 @@ class IdeAi
193516
193516
  contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
193517
193517
  });
193518
193518
  });
193519
- //const path = "/api/templates/mybatis.xml";
193520
- // const template = await fetch(path).then(res => res.text());
193521
193519
 
193522
193520
  console.log(params);
193523
193521
 
193524
193522
  await fetch(`/api/source/generateRealFile`, {
193525
193523
  method: "POST",
193526
193524
  headers: { "Content-Type": "application/json" },
193527
- body: JSON.stringify({
193528
- list: params,
193529
- })
193525
+ body: JSON.stringify(params)
193530
193526
  });
193531
193527
 
193532
193528
  return;
@@ -226,17 +226,13 @@ export class IdeAi
226
226
  contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
227
227
  });
228
228
  });
229
- //const path = "/api/templates/mybatis.xml";
230
- // const template = await fetch(path).then(res => res.text());
231
229
 
232
230
  console.log(params);
233
231
 
234
232
  await fetch(`/api/source/generateRealFile`, {
235
233
  method: "POST",
236
234
  headers: { "Content-Type": "application/json" },
237
- body: JSON.stringify({
238
- list: params,
239
- })
235
+ body: JSON.stringify(params)
240
236
  });
241
237
 
242
238
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.121.0",
4
+ "version": "0.123.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -226,17 +226,13 @@ export class IdeAi
226
226
  contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
227
227
  });
228
228
  });
229
- //const path = "/api/templates/mybatis.xml";
230
- // const template = await fetch(path).then(res => res.text());
231
229
 
232
230
  console.log(params);
233
231
 
234
232
  await fetch(`/api/source/generateRealFile`, {
235
233
  method: "POST",
236
234
  headers: { "Content-Type": "application/json" },
237
- body: JSON.stringify({
238
- list: params,
239
- })
235
+ body: JSON.stringify(params)
240
236
  });
241
237
 
242
238
  return;