ide-assi 0.37.0 → 0.39.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.
@@ -193345,7 +193345,7 @@ class IdeAi
193345
193345
  body: JSON.stringify({
193346
193346
  userPrompt: userPrompt,
193347
193347
  url: res.menu.url,
193348
- tables: res.table,
193348
+ tables: columnInfo.list,
193349
193349
  })
193350
193350
  });
193351
193351
 
@@ -193362,6 +193362,15 @@ class IdeAi
193362
193362
  //console.log(response3);
193363
193363
  //console.log(await response3.json());
193364
193364
 
193365
+ await fetch(`/api/files/generateJavaFile`, {
193366
+ method: "POST",
193367
+ headers: { "Content-Type": "application/json" },
193368
+ body: JSON.stringify({
193369
+ fileNm: res.service,
193370
+ contents: source.service,
193371
+ })
193372
+ });
193373
+
193365
193374
  return await response3.json();
193366
193375
  }
193367
193376
 
@@ -193341,7 +193341,7 @@ class IdeAi
193341
193341
  body: JSON.stringify({
193342
193342
  userPrompt: userPrompt,
193343
193343
  url: res.menu.url,
193344
- tables: res.table,
193344
+ tables: columnInfo.list,
193345
193345
  })
193346
193346
  });
193347
193347
 
@@ -193358,6 +193358,15 @@ class IdeAi
193358
193358
  //console.log(response3);
193359
193359
  //console.log(await response3.json());
193360
193360
 
193361
+ await fetch(`/api/files/generateJavaFile`, {
193362
+ method: "POST",
193363
+ headers: { "Content-Type": "application/json" },
193364
+ body: JSON.stringify({
193365
+ fileNm: res.service,
193366
+ contents: source.service,
193367
+ })
193368
+ });
193369
+
193361
193370
  return await response3.json();
193362
193371
  }
193363
193372
 
@@ -88,7 +88,7 @@ export class IdeAi
88
88
  body: JSON.stringify({
89
89
  userPrompt: userPrompt,
90
90
  url: res.menu.url,
91
- tables: res.table,
91
+ tables: columnInfo.list,
92
92
  })
93
93
  });
94
94
 
@@ -105,6 +105,15 @@ 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`, {
109
+ method: "POST",
110
+ headers: { "Content-Type": "application/json" },
111
+ body: JSON.stringify({
112
+ fileNm: res.service,
113
+ contents: source.service,
114
+ })
115
+ });
116
+
108
117
  return await response3.json();
109
118
  }
110
119
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.37.0",
4
+ "version": "0.39.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -88,7 +88,7 @@ export class IdeAi
88
88
  body: JSON.stringify({
89
89
  userPrompt: userPrompt,
90
90
  url: res.menu.url,
91
- tables: res.table,
91
+ tables: columnInfo.list,
92
92
  })
93
93
  });
94
94
 
@@ -105,6 +105,15 @@ 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`, {
109
+ method: "POST",
110
+ headers: { "Content-Type": "application/json" },
111
+ body: JSON.stringify({
112
+ fileNm: res.service,
113
+ contents: source.service,
114
+ })
115
+ });
116
+
108
117
  return await response3.json();
109
118
  }
110
119