ide-assi 0.233.0 → 0.236.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.
@@ -193788,69 +193788,9 @@ class IdeAi
193788
193788
  const response = await fetch(srcPath.javascript);
193789
193789
  src.javascript = await response.text();
193790
193790
 
193791
- //console.log(src);
193792
-
193793
- //const template = await fetch(path).then(res => res.text());
193794
-
193795
-
193796
-
193797
- const where = await this.#where(userPrompt, this.#getMenuInfo(), await this.#getTableList());
193798
- this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
193799
-
193800
- console.log(where);
193801
-
193802
- //const srcPath = this.#getSourcePath(where.menu.url);
193803
-
193804
- console.log(srcPath);
193805
-
193806
- const columnInfo = await this.#getColumnInfo(where.table);
193807
-
193808
- const mybatisXmlSource = await this.#generateTmplFile("/prompts/meta/U.BuildMyBatisMapper.txt", "mybatis.xml", {
193809
- userPrompt: userPrompt,
193810
- originSrc: src.mybatis,
193811
- resultType: srcPath.resultType,
193812
- namespace: srcPath.namespace,
193813
- tableDefinitions: columnInfo,
193814
- });
193815
- this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
193816
-
193817
- const serviceSrc = await this.#generateTmplFile("/prompts/meta/U.BuildService.txt", "service.java", {
193818
- userPrompt: userPrompt,
193819
- originSrc: src.service,
193820
- baseClass: srcPath.baseClass,
193821
- myBatisPath: srcPath.mybatis,
193822
- namespace: srcPath.namespace,
193823
- package: srcPath.package + ".service",
193824
- mybatisXmlSource: mybatisXmlSource,
193825
- });
193826
- this.#parent.addMessage("Java(Service) 소스파일을 생성했습니다.");
193827
-
193828
-
193829
- const controllerSrc = await this.#generateTmplFile("/prompts/meta/U.BuildController.txt", "controller.java", {
193830
- userPrompt: userPrompt,
193831
- originSrc: src.controller,
193832
- baseClass: srcPath.baseClass,
193833
- menuUrl: where.menu.url,
193834
- package: srcPath.package + ".controller",
193835
- serviceSource: serviceSrc,
193836
- });
193837
- this.#parent.addMessage("Java(Controller) 소스파일을 생성했습니다.");
193838
-
193839
-
193840
- await this.#generateTmplFile("/prompts/meta/U.BuildReactJsx.txt", "react.jsx", {
193841
- userPrompt: userPrompt,
193842
- originSrc: src.javascript,
193843
- menuUrl: where.menu.url,
193844
- menuName: where.menu.name,
193845
- baseClass: srcPath.baseClass,
193846
- controllerSource: controllerSrc,
193847
- tableDefinitions: columnInfo,
193848
- });
193849
- this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
193850
-
193851
193791
  console.log(src.javascript);
193852
193792
 
193853
- await this.#generateRealFile(srcPath);
193793
+ return;
193854
193794
  };
193855
193795
 
193856
193796
  generateSourceClient = async (userPrompt) => {
@@ -193784,69 +193784,9 @@ class IdeAi
193784
193784
  const response = await fetch(srcPath.javascript);
193785
193785
  src.javascript = await response.text();
193786
193786
 
193787
- //console.log(src);
193788
-
193789
- //const template = await fetch(path).then(res => res.text());
193790
-
193791
-
193792
-
193793
- const where = await this.#where(userPrompt, this.#getMenuInfo(), await this.#getTableList());
193794
- this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
193795
-
193796
- console.log(where);
193797
-
193798
- //const srcPath = this.#getSourcePath(where.menu.url);
193799
-
193800
- console.log(srcPath);
193801
-
193802
- const columnInfo = await this.#getColumnInfo(where.table);
193803
-
193804
- const mybatisXmlSource = await this.#generateTmplFile("/prompts/meta/U.BuildMyBatisMapper.txt", "mybatis.xml", {
193805
- userPrompt: userPrompt,
193806
- originSrc: src.mybatis,
193807
- resultType: srcPath.resultType,
193808
- namespace: srcPath.namespace,
193809
- tableDefinitions: columnInfo,
193810
- });
193811
- this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
193812
-
193813
- const serviceSrc = await this.#generateTmplFile("/prompts/meta/U.BuildService.txt", "service.java", {
193814
- userPrompt: userPrompt,
193815
- originSrc: src.service,
193816
- baseClass: srcPath.baseClass,
193817
- myBatisPath: srcPath.mybatis,
193818
- namespace: srcPath.namespace,
193819
- package: srcPath.package + ".service",
193820
- mybatisXmlSource: mybatisXmlSource,
193821
- });
193822
- this.#parent.addMessage("Java(Service) 소스파일을 생성했습니다.");
193823
-
193824
-
193825
- const controllerSrc = await this.#generateTmplFile("/prompts/meta/U.BuildController.txt", "controller.java", {
193826
- userPrompt: userPrompt,
193827
- originSrc: src.controller,
193828
- baseClass: srcPath.baseClass,
193829
- menuUrl: where.menu.url,
193830
- package: srcPath.package + ".controller",
193831
- serviceSource: serviceSrc,
193832
- });
193833
- this.#parent.addMessage("Java(Controller) 소스파일을 생성했습니다.");
193834
-
193835
-
193836
- await this.#generateTmplFile("/prompts/meta/U.BuildReactJsx.txt", "react.jsx", {
193837
- userPrompt: userPrompt,
193838
- originSrc: src.javascript,
193839
- menuUrl: where.menu.url,
193840
- menuName: where.menu.name,
193841
- baseClass: srcPath.baseClass,
193842
- controllerSource: controllerSrc,
193843
- tableDefinitions: columnInfo,
193844
- });
193845
- this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
193846
-
193847
193787
  console.log(src.javascript);
193848
193788
 
193849
- await this.#generateRealFile(srcPath);
193789
+ return;
193850
193790
  };
193851
193791
 
193852
193792
  generateSourceClient = async (userPrompt) => {
@@ -372,6 +372,10 @@ export class IdeAi
372
372
  const response = await fetch(srcPath.javascript);
373
373
  src.javascript = await response.text();
374
374
 
375
+ console.log(src.javascript);
376
+
377
+ return;
378
+
375
379
  //console.log(src);
376
380
 
377
381
  //const template = await fetch(path).then(res => res.text());
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.233.0",
4
+ "version": "0.236.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -372,6 +372,10 @@ export class IdeAi
372
372
  const response = await fetch(srcPath.javascript);
373
373
  src.javascript = await response.text();
374
374
 
375
+ console.log(src.javascript);
376
+
377
+ return;
378
+
375
379
  //console.log(src);
376
380
 
377
381
  //const template = await fetch(path).then(res => res.text());