ide-assi 0.41.0 → 0.43.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.
- package/dist/bundle.cjs.js +7 -0
- package/dist/bundle.esm.js +7 -0
- package/dist/components/ideAi.js +7 -0
- package/package.json +1 -1
- package/src/components/ideAi.js +7 -0
package/dist/bundle.cjs.js
CHANGED
|
@@ -193304,7 +193304,13 @@ class IdeAi
|
|
|
193304
193304
|
return await response.json();
|
|
193305
193305
|
};
|
|
193306
193306
|
|
|
193307
|
+
#toJavaPackage = (path) => {
|
|
193308
|
+
// 확장자 및 파일 제거: 마지막 / 이후는 제거
|
|
193309
|
+
const withoutFile = path.substring(0, path.lastIndexOf('/'));
|
|
193307
193310
|
|
|
193311
|
+
// 슬래시(/) → 점(.) 변환
|
|
193312
|
+
return withoutFile.replace(/\//g, '.');
|
|
193313
|
+
}
|
|
193308
193314
|
|
|
193309
193315
|
/**
|
|
193310
193316
|
* 1. 소스 명칭 package 예) tmpl.population
|
|
@@ -193343,6 +193349,7 @@ class IdeAi
|
|
|
193343
193349
|
method: "POST",
|
|
193344
193350
|
headers: { "Content-Type": "application/json" },
|
|
193345
193351
|
body: JSON.stringify({
|
|
193352
|
+
packageName: "ide.assi.be." + this.#toJavaPackage(res.service),
|
|
193346
193353
|
userPrompt: userPrompt,
|
|
193347
193354
|
url: res.menu.url,
|
|
193348
193355
|
tables: columnInfo.list,
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193300,7 +193300,13 @@ class IdeAi
|
|
|
193300
193300
|
return await response.json();
|
|
193301
193301
|
};
|
|
193302
193302
|
|
|
193303
|
+
#toJavaPackage = (path) => {
|
|
193304
|
+
// 확장자 및 파일 제거: 마지막 / 이후는 제거
|
|
193305
|
+
const withoutFile = path.substring(0, path.lastIndexOf('/'));
|
|
193303
193306
|
|
|
193307
|
+
// 슬래시(/) → 점(.) 변환
|
|
193308
|
+
return withoutFile.replace(/\//g, '.');
|
|
193309
|
+
}
|
|
193304
193310
|
|
|
193305
193311
|
/**
|
|
193306
193312
|
* 1. 소스 명칭 package 예) tmpl.population
|
|
@@ -193339,6 +193345,7 @@ class IdeAi
|
|
|
193339
193345
|
method: "POST",
|
|
193340
193346
|
headers: { "Content-Type": "application/json" },
|
|
193341
193347
|
body: JSON.stringify({
|
|
193348
|
+
packageName: "ide.assi.be." + this.#toJavaPackage(res.service),
|
|
193342
193349
|
userPrompt: userPrompt,
|
|
193343
193350
|
url: res.menu.url,
|
|
193344
193351
|
tables: columnInfo.list,
|
package/dist/components/ideAi.js
CHANGED
|
@@ -47,7 +47,13 @@ export class IdeAi
|
|
|
47
47
|
return await response.json();
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
+
#toJavaPackage = (path) => {
|
|
51
|
+
// 확장자 및 파일 제거: 마지막 / 이후는 제거
|
|
52
|
+
const withoutFile = path.substring(0, path.lastIndexOf('/'));
|
|
50
53
|
|
|
54
|
+
// 슬래시(/) → 점(.) 변환
|
|
55
|
+
return withoutFile.replace(/\//g, '.');
|
|
56
|
+
}
|
|
51
57
|
|
|
52
58
|
/**
|
|
53
59
|
* 1. 소스 명칭 package 예) tmpl.population
|
|
@@ -86,6 +92,7 @@ export class IdeAi
|
|
|
86
92
|
method: "POST",
|
|
87
93
|
headers: { "Content-Type": "application/json" },
|
|
88
94
|
body: JSON.stringify({
|
|
95
|
+
packageName: "ide.assi.be." + this.#toJavaPackage(res.service),
|
|
89
96
|
userPrompt: userPrompt,
|
|
90
97
|
url: res.menu.url,
|
|
91
98
|
tables: columnInfo.list,
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -47,7 +47,13 @@ export class IdeAi
|
|
|
47
47
|
return await response.json();
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
+
#toJavaPackage = (path) => {
|
|
51
|
+
// 확장자 및 파일 제거: 마지막 / 이후는 제거
|
|
52
|
+
const withoutFile = path.substring(0, path.lastIndexOf('/'));
|
|
50
53
|
|
|
54
|
+
// 슬래시(/) → 점(.) 변환
|
|
55
|
+
return withoutFile.replace(/\//g, '.');
|
|
56
|
+
}
|
|
51
57
|
|
|
52
58
|
/**
|
|
53
59
|
* 1. 소스 명칭 package 예) tmpl.population
|
|
@@ -86,6 +92,7 @@ export class IdeAi
|
|
|
86
92
|
method: "POST",
|
|
87
93
|
headers: { "Content-Type": "application/json" },
|
|
88
94
|
body: JSON.stringify({
|
|
95
|
+
packageName: "ide.assi.be." + this.#toJavaPackage(res.service),
|
|
89
96
|
userPrompt: userPrompt,
|
|
90
97
|
url: res.menu.url,
|
|
91
98
|
tables: columnInfo.list,
|