ide-assi 0.203.0 → 0.204.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.
@@ -193749,20 +193749,16 @@ class IdeAi
193749
193749
 
193750
193750
  //const mybatisXmlSource = await this.#generateMyBatis(userPrompt, where.package, columnInfo);
193751
193751
  const mybatisXmlSource = await this.#generateTmplFile("/prompts/meta/BuildMyBatisMapper.txt", "mybatis.xml", {
193752
- //baseClass: srcPath.baseClass,
193753
- resultType: srcPath.resultType,
193754
193752
  userPrompt: userPrompt,
193753
+ resultType: srcPath.resultType,
193755
193754
  namespace: srcPath.namespace,
193756
193755
  tableDefinitions: columnInfo
193757
193756
  });
193758
193757
  this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
193759
193758
 
193760
-
193761
-
193762
193759
  const serviceSrc = await this.#generateTmplFile("/prompts/meta/BuildService.txt", "service.java", {
193763
- baseClass: srcPath.baseClass,
193764
193760
  userPrompt: userPrompt,
193765
- //menuUrl: where.menu.url,
193761
+ baseClass: srcPath.baseClass,
193766
193762
  myBatisPath: srcPath.mybatis,
193767
193763
  namespace: srcPath.namespace,
193768
193764
  package: srcPath.package + ".service",
@@ -193770,17 +193766,17 @@ class IdeAi
193770
193766
  });
193771
193767
  this.#parent.addMessage("Java(Service) 소스파일을 생성했습니다.");
193772
193768
 
193773
- return "OKKKK";
193774
-
193775
193769
  const controllerSrc = await this.#generateTmplFile("/prompts/meta/BuildController.txt", "controller.java", {
193776
193770
  userPrompt: userPrompt,
193771
+ baseClass: srcPath.baseClass,
193777
193772
  menuUrl: where.menu.url,
193778
- package: classPackage + ".controller",
193779
- namespace: namespace,
193773
+ package: srcPath.package + ".controller",
193780
193774
  serviceSource: serviceSrc,
193781
193775
  });
193782
193776
  this.#parent.addMessage("Java(Controller) 소스파일을 생성했습니다.");
193783
193777
 
193778
+ return "OKKKK";
193779
+
193784
193780
  const jsSrc = await this.#generateTmplFile("/prompts/meta/BuildReactJsx.txt", "react.jsx", {
193785
193781
  userPrompt: userPrompt,
193786
193782
  menuUrl: where.menu.url,
@@ -193745,20 +193745,16 @@ class IdeAi
193745
193745
 
193746
193746
  //const mybatisXmlSource = await this.#generateMyBatis(userPrompt, where.package, columnInfo);
193747
193747
  const mybatisXmlSource = await this.#generateTmplFile("/prompts/meta/BuildMyBatisMapper.txt", "mybatis.xml", {
193748
- //baseClass: srcPath.baseClass,
193749
- resultType: srcPath.resultType,
193750
193748
  userPrompt: userPrompt,
193749
+ resultType: srcPath.resultType,
193751
193750
  namespace: srcPath.namespace,
193752
193751
  tableDefinitions: columnInfo
193753
193752
  });
193754
193753
  this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
193755
193754
 
193756
-
193757
-
193758
193755
  const serviceSrc = await this.#generateTmplFile("/prompts/meta/BuildService.txt", "service.java", {
193759
- baseClass: srcPath.baseClass,
193760
193756
  userPrompt: userPrompt,
193761
- //menuUrl: where.menu.url,
193757
+ baseClass: srcPath.baseClass,
193762
193758
  myBatisPath: srcPath.mybatis,
193763
193759
  namespace: srcPath.namespace,
193764
193760
  package: srcPath.package + ".service",
@@ -193766,17 +193762,17 @@ class IdeAi
193766
193762
  });
193767
193763
  this.#parent.addMessage("Java(Service) 소스파일을 생성했습니다.");
193768
193764
 
193769
- return "OKKKK";
193770
-
193771
193765
  const controllerSrc = await this.#generateTmplFile("/prompts/meta/BuildController.txt", "controller.java", {
193772
193766
  userPrompt: userPrompt,
193767
+ baseClass: srcPath.baseClass,
193773
193768
  menuUrl: where.menu.url,
193774
- package: classPackage + ".controller",
193775
- namespace: namespace,
193769
+ package: srcPath.package + ".controller",
193776
193770
  serviceSource: serviceSrc,
193777
193771
  });
193778
193772
  this.#parent.addMessage("Java(Controller) 소스파일을 생성했습니다.");
193779
193773
 
193774
+ return "OKKKK";
193775
+
193780
193776
  const jsSrc = await this.#generateTmplFile("/prompts/meta/BuildReactJsx.txt", "react.jsx", {
193781
193777
  userPrompt: userPrompt,
193782
193778
  menuUrl: where.menu.url,
@@ -347,20 +347,16 @@ export class IdeAi
347
347
 
348
348
  //const mybatisXmlSource = await this.#generateMyBatis(userPrompt, where.package, columnInfo);
349
349
  const mybatisXmlSource = await this.#generateTmplFile("/prompts/meta/BuildMyBatisMapper.txt", "mybatis.xml", {
350
- //baseClass: srcPath.baseClass,
351
- resultType: srcPath.resultType,
352
350
  userPrompt: userPrompt,
351
+ resultType: srcPath.resultType,
353
352
  namespace: srcPath.namespace,
354
353
  tableDefinitions: columnInfo
355
354
  });
356
355
  this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
357
356
 
358
-
359
-
360
357
  const serviceSrc = await this.#generateTmplFile("/prompts/meta/BuildService.txt", "service.java", {
361
- baseClass: srcPath.baseClass,
362
358
  userPrompt: userPrompt,
363
- //menuUrl: where.menu.url,
359
+ baseClass: srcPath.baseClass,
364
360
  myBatisPath: srcPath.mybatis,
365
361
  namespace: srcPath.namespace,
366
362
  package: srcPath.package + ".service",
@@ -368,17 +364,17 @@ export class IdeAi
368
364
  });
369
365
  this.#parent.addMessage("Java(Service) 소스파일을 생성했습니다.");
370
366
 
371
- return "OKKKK";
372
-
373
367
  const controllerSrc = await this.#generateTmplFile("/prompts/meta/BuildController.txt", "controller.java", {
374
368
  userPrompt: userPrompt,
369
+ baseClass: srcPath.baseClass,
375
370
  menuUrl: where.menu.url,
376
- package: classPackage + ".controller",
377
- namespace: namespace,
371
+ package: srcPath.package + ".controller",
378
372
  serviceSource: serviceSrc,
379
373
  });
380
374
  this.#parent.addMessage("Java(Controller) 소스파일을 생성했습니다.");
381
375
 
376
+ return "OKKKK";
377
+
382
378
  const jsSrc = await this.#generateTmplFile("/prompts/meta/BuildReactJsx.txt", "react.jsx", {
383
379
  userPrompt: userPrompt,
384
380
  menuUrl: where.menu.url,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.203.0",
4
+ "version": "0.204.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -347,20 +347,16 @@ export class IdeAi
347
347
 
348
348
  //const mybatisXmlSource = await this.#generateMyBatis(userPrompt, where.package, columnInfo);
349
349
  const mybatisXmlSource = await this.#generateTmplFile("/prompts/meta/BuildMyBatisMapper.txt", "mybatis.xml", {
350
- //baseClass: srcPath.baseClass,
351
- resultType: srcPath.resultType,
352
350
  userPrompt: userPrompt,
351
+ resultType: srcPath.resultType,
353
352
  namespace: srcPath.namespace,
354
353
  tableDefinitions: columnInfo
355
354
  });
356
355
  this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
357
356
 
358
-
359
-
360
357
  const serviceSrc = await this.#generateTmplFile("/prompts/meta/BuildService.txt", "service.java", {
361
- baseClass: srcPath.baseClass,
362
358
  userPrompt: userPrompt,
363
- //menuUrl: where.menu.url,
359
+ baseClass: srcPath.baseClass,
364
360
  myBatisPath: srcPath.mybatis,
365
361
  namespace: srcPath.namespace,
366
362
  package: srcPath.package + ".service",
@@ -368,17 +364,17 @@ export class IdeAi
368
364
  });
369
365
  this.#parent.addMessage("Java(Service) 소스파일을 생성했습니다.");
370
366
 
371
- return "OKKKK";
372
-
373
367
  const controllerSrc = await this.#generateTmplFile("/prompts/meta/BuildController.txt", "controller.java", {
374
368
  userPrompt: userPrompt,
369
+ baseClass: srcPath.baseClass,
375
370
  menuUrl: where.menu.url,
376
- package: classPackage + ".controller",
377
- namespace: namespace,
371
+ package: srcPath.package + ".controller",
378
372
  serviceSource: serviceSrc,
379
373
  });
380
374
  this.#parent.addMessage("Java(Controller) 소스파일을 생성했습니다.");
381
375
 
376
+ return "OKKKK";
377
+
382
378
  const jsSrc = await this.#generateTmplFile("/prompts/meta/BuildReactJsx.txt", "react.jsx", {
383
379
  userPrompt: userPrompt,
384
380
  menuUrl: where.menu.url,