ide-assi 0.282.0 → 0.284.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
CHANGED
|
@@ -193735,7 +193735,6 @@ class IdeAi
|
|
|
193735
193735
|
console.log(where);
|
|
193736
193736
|
|
|
193737
193737
|
const srcPath = this.#getSourcePath(where.menu.url);
|
|
193738
|
-
|
|
193739
193738
|
console.log(srcPath);
|
|
193740
193739
|
|
|
193741
193740
|
const columnInfo = await this.#getColumnInfo(where.table);
|
|
@@ -193832,7 +193831,7 @@ class IdeAi
|
|
|
193832
193831
|
|
|
193833
193832
|
const columnInfo = await this.#getColumnInfo(where.table);
|
|
193834
193833
|
|
|
193835
|
-
|
|
193834
|
+
await this.#generateTmplFile("/prompts/meta/U.BuildMyBatisMapper.txt", "mybatis.xml", {
|
|
193836
193835
|
userPrompt: userPrompt,
|
|
193837
193836
|
originSrc: src.mybatis,
|
|
193838
193837
|
resultType: srcPath.resultType,
|
|
@@ -193841,43 +193840,7 @@ class IdeAi
|
|
|
193841
193840
|
});
|
|
193842
193841
|
this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
|
|
193843
193842
|
|
|
193844
|
-
|
|
193845
|
-
userPrompt: userPrompt,
|
|
193846
|
-
originSrc: src.service,
|
|
193847
|
-
baseClass: srcPath.baseClass,
|
|
193848
|
-
myBatisPath: srcPath.mybatis,
|
|
193849
|
-
namespace: srcPath.namespace,
|
|
193850
|
-
package: srcPath.package + ".service",
|
|
193851
|
-
mybatisXmlSource: mybatisXmlSource,
|
|
193852
|
-
});
|
|
193853
|
-
this.#parent.addMessage("Java(Service) 소스파일을 생성했습니다.");
|
|
193854
|
-
|
|
193855
|
-
|
|
193856
|
-
const controllerSrc = await this.#generateTmplFile("/prompts/meta/U.BuildController.txt", "controller.java", {
|
|
193857
|
-
userPrompt: userPrompt,
|
|
193858
|
-
originSrc: src.controller,
|
|
193859
|
-
baseClass: srcPath.baseClass,
|
|
193860
|
-
menuUrl: where.menu.url,
|
|
193861
|
-
package: srcPath.package + ".controller",
|
|
193862
|
-
serviceSource: serviceSrc,
|
|
193863
|
-
});
|
|
193864
|
-
this.#parent.addMessage("Java(Controller) 소스파일을 생성했습니다.");
|
|
193865
|
-
|
|
193866
|
-
|
|
193867
|
-
await this.#generateTmplFile("/prompts/meta/U.BuildReactJsx.txt", "react.jsx", {
|
|
193868
|
-
userPrompt: userPrompt,
|
|
193869
|
-
originSrc: src.javascript,
|
|
193870
|
-
menuUrl: where.menu.url,
|
|
193871
|
-
menuName: where.menu.name,
|
|
193872
|
-
baseClass: srcPath.baseClass,
|
|
193873
|
-
controllerSource: controllerSrc,
|
|
193874
|
-
tableDefinitions: columnInfo,
|
|
193875
|
-
});
|
|
193876
|
-
this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
|
|
193877
|
-
|
|
193878
|
-
console.log(src.javascript);
|
|
193879
|
-
|
|
193880
|
-
await this.#generateRealFile(srcPath);
|
|
193843
|
+
return;
|
|
193881
193844
|
};
|
|
193882
193845
|
|
|
193883
193846
|
generateSourceClient = async (userPrompt) => {
|
|
@@ -194173,8 +194136,8 @@ class ideAssiSettings extends HTMLElement
|
|
|
194173
194136
|
</div>
|
|
194174
194137
|
<div class="line contents gemini">
|
|
194175
194138
|
<select id="geminiModel">
|
|
194176
|
-
<option value="gemini-2.5-pro">gemini-2.5-pro</option>
|
|
194177
194139
|
<option value="gemini-2.5-flash">gemini-2.5-flash</option>
|
|
194140
|
+
<option value="gemini-2.5-pro">gemini-2.5-pro</option>
|
|
194178
194141
|
</select>
|
|
194179
194142
|
</div>
|
|
194180
194143
|
<div class="line subject chatopenai">
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193731,7 +193731,6 @@ class IdeAi
|
|
|
193731
193731
|
console.log(where);
|
|
193732
193732
|
|
|
193733
193733
|
const srcPath = this.#getSourcePath(where.menu.url);
|
|
193734
|
-
|
|
193735
193734
|
console.log(srcPath);
|
|
193736
193735
|
|
|
193737
193736
|
const columnInfo = await this.#getColumnInfo(where.table);
|
|
@@ -193828,7 +193827,7 @@ class IdeAi
|
|
|
193828
193827
|
|
|
193829
193828
|
const columnInfo = await this.#getColumnInfo(where.table);
|
|
193830
193829
|
|
|
193831
|
-
|
|
193830
|
+
await this.#generateTmplFile("/prompts/meta/U.BuildMyBatisMapper.txt", "mybatis.xml", {
|
|
193832
193831
|
userPrompt: userPrompt,
|
|
193833
193832
|
originSrc: src.mybatis,
|
|
193834
193833
|
resultType: srcPath.resultType,
|
|
@@ -193837,43 +193836,7 @@ class IdeAi
|
|
|
193837
193836
|
});
|
|
193838
193837
|
this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
|
|
193839
193838
|
|
|
193840
|
-
|
|
193841
|
-
userPrompt: userPrompt,
|
|
193842
|
-
originSrc: src.service,
|
|
193843
|
-
baseClass: srcPath.baseClass,
|
|
193844
|
-
myBatisPath: srcPath.mybatis,
|
|
193845
|
-
namespace: srcPath.namespace,
|
|
193846
|
-
package: srcPath.package + ".service",
|
|
193847
|
-
mybatisXmlSource: mybatisXmlSource,
|
|
193848
|
-
});
|
|
193849
|
-
this.#parent.addMessage("Java(Service) 소스파일을 생성했습니다.");
|
|
193850
|
-
|
|
193851
|
-
|
|
193852
|
-
const controllerSrc = await this.#generateTmplFile("/prompts/meta/U.BuildController.txt", "controller.java", {
|
|
193853
|
-
userPrompt: userPrompt,
|
|
193854
|
-
originSrc: src.controller,
|
|
193855
|
-
baseClass: srcPath.baseClass,
|
|
193856
|
-
menuUrl: where.menu.url,
|
|
193857
|
-
package: srcPath.package + ".controller",
|
|
193858
|
-
serviceSource: serviceSrc,
|
|
193859
|
-
});
|
|
193860
|
-
this.#parent.addMessage("Java(Controller) 소스파일을 생성했습니다.");
|
|
193861
|
-
|
|
193862
|
-
|
|
193863
|
-
await this.#generateTmplFile("/prompts/meta/U.BuildReactJsx.txt", "react.jsx", {
|
|
193864
|
-
userPrompt: userPrompt,
|
|
193865
|
-
originSrc: src.javascript,
|
|
193866
|
-
menuUrl: where.menu.url,
|
|
193867
|
-
menuName: where.menu.name,
|
|
193868
|
-
baseClass: srcPath.baseClass,
|
|
193869
|
-
controllerSource: controllerSrc,
|
|
193870
|
-
tableDefinitions: columnInfo,
|
|
193871
|
-
});
|
|
193872
|
-
this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
|
|
193873
|
-
|
|
193874
|
-
console.log(src.javascript);
|
|
193875
|
-
|
|
193876
|
-
await this.#generateRealFile(srcPath);
|
|
193839
|
+
return;
|
|
193877
193840
|
};
|
|
193878
193841
|
|
|
193879
193842
|
generateSourceClient = async (userPrompt) => {
|
|
@@ -194169,8 +194132,8 @@ class ideAssiSettings extends HTMLElement
|
|
|
194169
194132
|
</div>
|
|
194170
194133
|
<div class="line contents gemini">
|
|
194171
194134
|
<select id="geminiModel">
|
|
194172
|
-
<option value="gemini-2.5-pro">gemini-2.5-pro</option>
|
|
194173
194135
|
<option value="gemini-2.5-flash">gemini-2.5-flash</option>
|
|
194136
|
+
<option value="gemini-2.5-pro">gemini-2.5-pro</option>
|
|
194174
194137
|
</select>
|
|
194175
194138
|
</div>
|
|
194176
194139
|
<div class="line subject chatopenai">
|
package/dist/components/ideAi.js
CHANGED
|
@@ -316,7 +316,6 @@ export class IdeAi
|
|
|
316
316
|
console.log(where);
|
|
317
317
|
|
|
318
318
|
const srcPath = this.#getSourcePath(where.menu.url);
|
|
319
|
-
|
|
320
319
|
console.log(srcPath);
|
|
321
320
|
|
|
322
321
|
const columnInfo = await this.#getColumnInfo(where.table);
|
|
@@ -422,6 +421,8 @@ export class IdeAi
|
|
|
422
421
|
});
|
|
423
422
|
this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
|
|
424
423
|
|
|
424
|
+
return;
|
|
425
|
+
|
|
425
426
|
const serviceSrc = await this.#generateTmplFile("/prompts/meta/U.BuildService.txt", "service.java", {
|
|
426
427
|
userPrompt: userPrompt,
|
|
427
428
|
originSrc: src.service,
|
|
@@ -93,8 +93,8 @@ class ideAssiSettings extends HTMLElement
|
|
|
93
93
|
</div>
|
|
94
94
|
<div class="line contents gemini">
|
|
95
95
|
<select id="geminiModel">
|
|
96
|
-
<option value="gemini-2.5-pro">gemini-2.5-pro</option>
|
|
97
96
|
<option value="gemini-2.5-flash">gemini-2.5-flash</option>
|
|
97
|
+
<option value="gemini-2.5-pro">gemini-2.5-pro</option>
|
|
98
98
|
</select>
|
|
99
99
|
</div>
|
|
100
100
|
<div class="line subject chatopenai">
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -316,7 +316,6 @@ export class IdeAi
|
|
|
316
316
|
console.log(where);
|
|
317
317
|
|
|
318
318
|
const srcPath = this.#getSourcePath(where.menu.url);
|
|
319
|
-
|
|
320
319
|
console.log(srcPath);
|
|
321
320
|
|
|
322
321
|
const columnInfo = await this.#getColumnInfo(where.table);
|
|
@@ -422,6 +421,8 @@ export class IdeAi
|
|
|
422
421
|
});
|
|
423
422
|
this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
|
|
424
423
|
|
|
424
|
+
return;
|
|
425
|
+
|
|
425
426
|
const serviceSrc = await this.#generateTmplFile("/prompts/meta/U.BuildService.txt", "service.java", {
|
|
426
427
|
userPrompt: userPrompt,
|
|
427
428
|
originSrc: src.service,
|
|
@@ -93,8 +93,8 @@ class ideAssiSettings extends HTMLElement
|
|
|
93
93
|
</div>
|
|
94
94
|
<div class="line contents gemini">
|
|
95
95
|
<select id="geminiModel">
|
|
96
|
-
<option value="gemini-2.5-pro">gemini-2.5-pro</option>
|
|
97
96
|
<option value="gemini-2.5-flash">gemini-2.5-flash</option>
|
|
97
|
+
<option value="gemini-2.5-pro">gemini-2.5-pro</option>
|
|
98
98
|
</select>
|
|
99
99
|
</div>
|
|
100
100
|
<div class="line subject chatopenai">
|