ide-assi 0.449.0 → 0.450.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.
@@ -202120,7 +202120,7 @@ class IdeAi
202120
202120
  if (!el) throw new Error("관련 메뉴를 찾을 수 없습니다.");
202121
202121
 
202122
202122
  const href = el.getAttribute("href");
202123
- const title = el.getAttribute("title");
202123
+ el.getAttribute("title");
202124
202124
 
202125
202125
  const srcPath = this.#getSourcePath(href);
202126
202126
  console.log(srcPath);
@@ -202139,7 +202139,7 @@ class IdeAi
202139
202139
  * "javascriptPullPath": "ide-assi-fe-vite-react-js/src/views/tmpla/doc-manager.jsx"
202140
202140
  * }
202141
202141
  */
202142
- const src = await api.post("/api/source/read", srcPath);
202142
+ await api.post("/api/source/read", srcPath);
202143
202143
  //console.log(src);
202144
202144
 
202145
202145
  /**
@@ -202200,87 +202200,7 @@ class IdeAi
202200
202200
  }, 9000);
202201
202201
 
202202
202202
 
202203
-
202204
-
202205
-
202206
-
202207
- const where = await this.#where(`${title}에서 ${userPrompt}`, [{url: href, title: title}], await this.#getTableList());
202208
- this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
202209
-
202210
- console.log(where);
202211
-
202212
- //const srcPath = this.#getSourcePath(where.menu.url);
202213
-
202214
- console.log(srcPath);
202215
-
202216
- const columnInfo = await this.#getColumnInfo(where.table);
202217
-
202218
- let mybatisXmlSource;
202219
- if (apply.mybatis) {
202220
- mybatisXmlSource = await this.#generateTmplFile("/prompts/meta/U.BuildMyBatisMapper.txt", "mybatis.xml", {
202221
- userPrompt: userPrompt,
202222
- originSrc: src.mybatis,
202223
- resultType: srcPath.resultType,
202224
- namespace: srcPath.namespace,
202225
- tableDefinitions: columnInfo,
202226
- });
202227
- this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
202228
- }
202229
- else {
202230
- mybatisXmlSource = src.mybatis;
202231
- }
202232
-
202233
- let serviceSrc;
202234
- if (apply.service) {
202235
- serviceSrc = await this.#generateTmplFile("/prompts/meta/U.BuildService.txt", "service.java", {
202236
- userPrompt: userPrompt,
202237
- originSrc: src.service,
202238
- baseClass: srcPath.baseClass,
202239
- myBatisPath: srcPath.mybatis,
202240
- namespace: srcPath.namespace,
202241
- package: srcPath.package + ".service",
202242
- mybatisXmlSource: mybatisXmlSource,
202243
- });
202244
- this.#parent.addMessage("Java(Service) 소스파일을 생성했습니다.");
202245
- }
202246
- else {
202247
- serviceSrc = src.service;
202248
- }
202249
-
202250
- let controllerSrc;
202251
- if (apply.controller) {
202252
- controllerSrc = await this.#generateTmplFile("/prompts/meta/U.BuildController.txt", "controller.java", {
202253
- userPrompt: userPrompt,
202254
- originSrc: src.controller,
202255
- baseClass: srcPath.baseClass,
202256
- menuUrl: where.menu.url,
202257
- package: srcPath.package + ".controller",
202258
- serviceSource: serviceSrc,
202259
- });
202260
- this.#parent.addMessage("Java(Controller) 소스파일을 생성했습니다.");
202261
- }
202262
- else {
202263
- controllerSrc = src.controller;
202264
- }
202265
- if (apply.javascript) {
202266
- await this.#generateTmplFile("/prompts/meta/U.BuildReactJsx.txt", "react.jsx", {
202267
- userPrompt: userPrompt,
202268
- mybatis: srcPath.mybatis,
202269
- originSrc: src.javascript,
202270
- menuUrl: where.menu.url,
202271
- menuName: where.menu.name,
202272
- baseClass: srcPath.baseClass,
202273
- controllerSource: controllerSrc,
202274
- tableDefinitions: columnInfo,
202275
- });
202276
- this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
202277
- }
202278
- else {
202279
- src.javascript;
202280
- }
202281
- //console.log(src.javascript);
202282
-
202283
- await this.#generateRealFile(srcPath, apply);
202203
+ return;
202284
202204
  };
202285
202205
 
202286
202206
  generateSourceClient = async (userPrompt, apply) => {
@@ -202116,7 +202116,7 @@ class IdeAi
202116
202116
  if (!el) throw new Error("관련 메뉴를 찾을 수 없습니다.");
202117
202117
 
202118
202118
  const href = el.getAttribute("href");
202119
- const title = el.getAttribute("title");
202119
+ el.getAttribute("title");
202120
202120
 
202121
202121
  const srcPath = this.#getSourcePath(href);
202122
202122
  console.log(srcPath);
@@ -202135,7 +202135,7 @@ class IdeAi
202135
202135
  * "javascriptPullPath": "ide-assi-fe-vite-react-js/src/views/tmpla/doc-manager.jsx"
202136
202136
  * }
202137
202137
  */
202138
- const src = await api.post("/api/source/read", srcPath);
202138
+ await api.post("/api/source/read", srcPath);
202139
202139
  //console.log(src);
202140
202140
 
202141
202141
  /**
@@ -202196,87 +202196,7 @@ class IdeAi
202196
202196
  }, 9000);
202197
202197
 
202198
202198
 
202199
-
202200
-
202201
-
202202
-
202203
- const where = await this.#where(`${title}에서 ${userPrompt}`, [{url: href, title: title}], await this.#getTableList());
202204
- this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
202205
-
202206
- console.log(where);
202207
-
202208
- //const srcPath = this.#getSourcePath(where.menu.url);
202209
-
202210
- console.log(srcPath);
202211
-
202212
- const columnInfo = await this.#getColumnInfo(where.table);
202213
-
202214
- let mybatisXmlSource;
202215
- if (apply.mybatis) {
202216
- mybatisXmlSource = await this.#generateTmplFile("/prompts/meta/U.BuildMyBatisMapper.txt", "mybatis.xml", {
202217
- userPrompt: userPrompt,
202218
- originSrc: src.mybatis,
202219
- resultType: srcPath.resultType,
202220
- namespace: srcPath.namespace,
202221
- tableDefinitions: columnInfo,
202222
- });
202223
- this.#parent.addMessage("MyBatis 소스파일을 생성했습니다.");
202224
- }
202225
- else {
202226
- mybatisXmlSource = src.mybatis;
202227
- }
202228
-
202229
- let serviceSrc;
202230
- if (apply.service) {
202231
- serviceSrc = await this.#generateTmplFile("/prompts/meta/U.BuildService.txt", "service.java", {
202232
- userPrompt: userPrompt,
202233
- originSrc: src.service,
202234
- baseClass: srcPath.baseClass,
202235
- myBatisPath: srcPath.mybatis,
202236
- namespace: srcPath.namespace,
202237
- package: srcPath.package + ".service",
202238
- mybatisXmlSource: mybatisXmlSource,
202239
- });
202240
- this.#parent.addMessage("Java(Service) 소스파일을 생성했습니다.");
202241
- }
202242
- else {
202243
- serviceSrc = src.service;
202244
- }
202245
-
202246
- let controllerSrc;
202247
- if (apply.controller) {
202248
- controllerSrc = await this.#generateTmplFile("/prompts/meta/U.BuildController.txt", "controller.java", {
202249
- userPrompt: userPrompt,
202250
- originSrc: src.controller,
202251
- baseClass: srcPath.baseClass,
202252
- menuUrl: where.menu.url,
202253
- package: srcPath.package + ".controller",
202254
- serviceSource: serviceSrc,
202255
- });
202256
- this.#parent.addMessage("Java(Controller) 소스파일을 생성했습니다.");
202257
- }
202258
- else {
202259
- controllerSrc = src.controller;
202260
- }
202261
- if (apply.javascript) {
202262
- await this.#generateTmplFile("/prompts/meta/U.BuildReactJsx.txt", "react.jsx", {
202263
- userPrompt: userPrompt,
202264
- mybatis: srcPath.mybatis,
202265
- originSrc: src.javascript,
202266
- menuUrl: where.menu.url,
202267
- menuName: where.menu.name,
202268
- baseClass: srcPath.baseClass,
202269
- controllerSource: controllerSrc,
202270
- tableDefinitions: columnInfo,
202271
- });
202272
- this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
202273
- }
202274
- else {
202275
- src.javascript;
202276
- }
202277
- //console.log(src.javascript);
202278
-
202279
- await this.#generateRealFile(srcPath, apply);
202199
+ return;
202280
202200
  };
202281
202201
 
202282
202202
  generateSourceClient = async (userPrompt, apply) => {
@@ -476,6 +476,7 @@ export class IdeAi
476
476
  }, 9000);
477
477
 
478
478
 
479
+ return;
479
480
 
480
481
 
481
482
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.449.0",
4
+ "version": "0.450.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -476,6 +476,7 @@ export class IdeAi
476
476
  }, 9000);
477
477
 
478
478
 
479
+ return;
479
480
 
480
481
 
481
482