ide-assi 0.10.0 → 0.12.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.
@@ -193279,16 +193279,15 @@ class IdeAi
193279
193279
  };
193280
193280
 
193281
193281
  #getTableInfo = async (question) => {
193282
- const response = await fetch(`${this.#API_URL}/api/meta/tables`, {
193282
+ const response = await fetch(`${this.#API_URL}/api/meta/selectTableList`, {
193283
193283
  method: "POST",
193284
193284
  headers: { "Content-Type": "application/json" },
193285
193285
  body: JSON.stringify({
193286
- schema: "aidemo",
193286
+ schema: "booxtory_250131",
193287
193287
  })
193288
193288
  });
193289
193289
 
193290
- console.log(response);
193291
- console.log(await response.json());
193290
+ return await response.json();
193292
193291
  };
193293
193292
 
193294
193293
 
@@ -193275,16 +193275,15 @@ class IdeAi
193275
193275
  };
193276
193276
 
193277
193277
  #getTableInfo = async (question) => {
193278
- const response = await fetch(`${this.#API_URL}/api/meta/tables`, {
193278
+ const response = await fetch(`${this.#API_URL}/api/meta/selectTableList`, {
193279
193279
  method: "POST",
193280
193280
  headers: { "Content-Type": "application/json" },
193281
193281
  body: JSON.stringify({
193282
- schema: "aidemo",
193282
+ schema: "booxtory_250131",
193283
193283
  })
193284
193284
  });
193285
193285
 
193286
- console.log(response);
193287
- console.log(await response.json());
193286
+ return await response.json();
193288
193287
  };
193289
193288
 
193290
193289
 
@@ -22,16 +22,15 @@ export class IdeAi
22
22
  };
23
23
 
24
24
  #getTableInfo = async (question) => {
25
- const response = await fetch(`${this.#API_URL}/api/meta/tables`, {
25
+ const response = await fetch(`${this.#API_URL}/api/meta/selectTableList`, {
26
26
  method: "POST",
27
27
  headers: { "Content-Type": "application/json" },
28
28
  body: JSON.stringify({
29
- schema: "aidemo",
29
+ schema: "booxtory_250131",
30
30
  })
31
31
  });
32
32
 
33
- console.log(response);
34
- console.log(await response.json());
33
+ return await response.json();
35
34
  };
36
35
 
37
36
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.10.0",
4
+ "version": "0.12.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -22,16 +22,15 @@ export class IdeAi
22
22
  };
23
23
 
24
24
  #getTableInfo = async (question) => {
25
- const response = await fetch(`${this.#API_URL}/api/meta/tables`, {
25
+ const response = await fetch(`${this.#API_URL}/api/meta/selectTableList`, {
26
26
  method: "POST",
27
27
  headers: { "Content-Type": "application/json" },
28
28
  body: JSON.stringify({
29
- schema: "aidemo",
29
+ schema: "booxtory_250131",
30
30
  })
31
31
  });
32
32
 
33
- console.log(response);
34
- console.log(await response.json());
33
+ return await response.json();
35
34
  };
36
35
 
37
36