ide-assi 0.39.0 → 0.41.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.
@@ -193351,7 +193351,7 @@ class IdeAi
193351
193351
 
193352
193352
  const source = await response2.json();
193353
193353
 
193354
- const response3 = await fetch(`/api/files/generateMybatisFile`, {
193354
+ await fetch(`/api/source/generateMybatisFile`, {
193355
193355
  method: "POST",
193356
193356
  headers: { "Content-Type": "application/json" },
193357
193357
  body: JSON.stringify({
@@ -193362,7 +193362,7 @@ class IdeAi
193362
193362
  //console.log(response3);
193363
193363
  //console.log(await response3.json());
193364
193364
 
193365
- await fetch(`/api/files/generateJavaFile`, {
193365
+ const response4 = await fetch(`/api/source/generateJavaFile`, {
193366
193366
  method: "POST",
193367
193367
  headers: { "Content-Type": "application/json" },
193368
193368
  body: JSON.stringify({
@@ -193371,7 +193371,7 @@ class IdeAi
193371
193371
  })
193372
193372
  });
193373
193373
 
193374
- return await response3.json();
193374
+ return await response4.json();
193375
193375
  }
193376
193376
 
193377
193377
  return null;
@@ -193347,7 +193347,7 @@ class IdeAi
193347
193347
 
193348
193348
  const source = await response2.json();
193349
193349
 
193350
- const response3 = await fetch(`/api/files/generateMybatisFile`, {
193350
+ await fetch(`/api/source/generateMybatisFile`, {
193351
193351
  method: "POST",
193352
193352
  headers: { "Content-Type": "application/json" },
193353
193353
  body: JSON.stringify({
@@ -193358,7 +193358,7 @@ class IdeAi
193358
193358
  //console.log(response3);
193359
193359
  //console.log(await response3.json());
193360
193360
 
193361
- await fetch(`/api/files/generateJavaFile`, {
193361
+ const response4 = await fetch(`/api/source/generateJavaFile`, {
193362
193362
  method: "POST",
193363
193363
  headers: { "Content-Type": "application/json" },
193364
193364
  body: JSON.stringify({
@@ -193367,7 +193367,7 @@ class IdeAi
193367
193367
  })
193368
193368
  });
193369
193369
 
193370
- return await response3.json();
193370
+ return await response4.json();
193371
193371
  }
193372
193372
 
193373
193373
  return null;
@@ -94,7 +94,7 @@ export class IdeAi
94
94
 
95
95
  const source = await response2.json();
96
96
 
97
- const response3 = await fetch(`/api/files/generateMybatisFile`, {
97
+ const response3 = await fetch(`/api/source/generateMybatisFile`, {
98
98
  method: "POST",
99
99
  headers: { "Content-Type": "application/json" },
100
100
  body: JSON.stringify({
@@ -105,7 +105,7 @@ export class IdeAi
105
105
  //console.log(response3);
106
106
  //console.log(await response3.json());
107
107
 
108
- const response4 = await fetch(`/api/files/generateJavaFile`, {
108
+ const response4 = await fetch(`/api/source/generateJavaFile`, {
109
109
  method: "POST",
110
110
  headers: { "Content-Type": "application/json" },
111
111
  body: JSON.stringify({
@@ -114,7 +114,7 @@ export class IdeAi
114
114
  })
115
115
  });
116
116
 
117
- return await response3.json();
117
+ return await response4.json();
118
118
  }
119
119
 
120
120
  return null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.39.0",
4
+ "version": "0.41.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -94,7 +94,7 @@ export class IdeAi
94
94
 
95
95
  const source = await response2.json();
96
96
 
97
- const response3 = await fetch(`/api/files/generateMybatisFile`, {
97
+ const response3 = await fetch(`/api/source/generateMybatisFile`, {
98
98
  method: "POST",
99
99
  headers: { "Content-Type": "application/json" },
100
100
  body: JSON.stringify({
@@ -105,7 +105,7 @@ export class IdeAi
105
105
  //console.log(response3);
106
106
  //console.log(await response3.json());
107
107
 
108
- const response4 = await fetch(`/api/files/generateJavaFile`, {
108
+ const response4 = await fetch(`/api/source/generateJavaFile`, {
109
109
  method: "POST",
110
110
  headers: { "Content-Type": "application/json" },
111
111
  body: JSON.stringify({
@@ -114,7 +114,7 @@ export class IdeAi
114
114
  })
115
115
  });
116
116
 
117
- return await response3.json();
117
+ return await response4.json();
118
118
  }
119
119
 
120
120
  return null;