ide-assi 0.24.0 → 0.26.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.
@@ -193338,7 +193338,20 @@ class IdeAi
193338
193338
  })
193339
193339
  });
193340
193340
 
193341
- return await response2.json();
193341
+ const source = await response2.json();
193342
+
193343
+ const response3 = await fetch(`/api/files/generateMybatisFile`, {
193344
+ method: "POST",
193345
+ headers: { "Content-Type": "application/json" },
193346
+ body: JSON.stringify({
193347
+ fileNm: res.xml,
193348
+ contents: source.mybatis,
193349
+ })
193350
+ });
193351
+ console.log(response3);
193352
+ console.log(await response3.json());
193353
+
193354
+ return await response3.json();
193342
193355
  }
193343
193356
 
193344
193357
  return null;
@@ -193334,7 +193334,20 @@ class IdeAi
193334
193334
  })
193335
193335
  });
193336
193336
 
193337
- return await response2.json();
193337
+ const source = await response2.json();
193338
+
193339
+ const response3 = await fetch(`/api/files/generateMybatisFile`, {
193340
+ method: "POST",
193341
+ headers: { "Content-Type": "application/json" },
193342
+ body: JSON.stringify({
193343
+ fileNm: res.xml,
193344
+ contents: source.mybatis,
193345
+ })
193346
+ });
193347
+ console.log(response3);
193348
+ console.log(await response3.json());
193349
+
193350
+ return await response3.json();
193338
193351
  }
193339
193352
 
193340
193353
  return null;
@@ -81,7 +81,20 @@ export class IdeAi
81
81
  })
82
82
  });
83
83
 
84
- return await response2.json();
84
+ const source = await response2.json();
85
+
86
+ const response3 = await fetch(`/api/files/generateMybatisFile`, {
87
+ method: "POST",
88
+ headers: { "Content-Type": "application/json" },
89
+ body: JSON.stringify({
90
+ fileNm: res.xml,
91
+ contents: source.mybatis,
92
+ })
93
+ });
94
+ console.log(response3);
95
+ console.log(await response3.json());
96
+
97
+ return await response3.json();
85
98
  }
86
99
 
87
100
  return null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.24.0",
4
+ "version": "0.26.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -81,7 +81,20 @@ export class IdeAi
81
81
  })
82
82
  });
83
83
 
84
- return await response2.json();
84
+ const source = await response2.json();
85
+
86
+ const response3 = await fetch(`/api/files/generateMybatisFile`, {
87
+ method: "POST",
88
+ headers: { "Content-Type": "application/json" },
89
+ body: JSON.stringify({
90
+ fileNm: res.xml,
91
+ contents: source.mybatis,
92
+ })
93
+ });
94
+ console.log(response3);
95
+ console.log(await response3.json());
96
+
97
+ return await response3.json();
85
98
  }
86
99
 
87
100
  return null;