ide-assi 0.211.0 → 0.212.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.
@@ -193648,7 +193648,7 @@ class IdeAi
193648
193648
 
193649
193649
  const params = await Promise.all(
193650
193650
  files.map(async (file) => ({
193651
- path: ninegrid.decode(file, "mybatis.xml", srcPath.mybatis, "service.java", srcPath.service, "controller.java", srcPath.controller, "react.jsx", srcPath.javascript),
193651
+ path: ninegrid.decode(file, "mybatis.xml", srcPath.mybatisPullPath, "service.java", srcPath.servicePullPath, "controller.java", srcPath.controllerPullPath, "react.jsx", srcPath.javascriptPullPath),
193652
193652
  contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
193653
193653
  }))
193654
193654
  );
@@ -193691,10 +193691,11 @@ class IdeAi
193691
193691
  namespace: namespace,
193692
193692
  baseClass: fileName,
193693
193693
  resultType: this.#parent.config.basePackage.split(".").slice(0, -1).join(".") + ".core.utils.CamelCaseMap",
193694
- controller: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
193695
- service: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
193696
- mybatis: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193697
- javascript: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
193694
+ mybatis: `${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193695
+ mybatisPullPath: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193696
+ controllerPullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
193697
+ servicePullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
193698
+ javascriptPullPath: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
193698
193699
  };
193699
193700
  /***
193700
193701
  return {
@@ -193644,7 +193644,7 @@ class IdeAi
193644
193644
 
193645
193645
  const params = await Promise.all(
193646
193646
  files.map(async (file) => ({
193647
- path: ninegrid.decode(file, "mybatis.xml", srcPath.mybatis, "service.java", srcPath.service, "controller.java", srcPath.controller, "react.jsx", srcPath.javascript),
193647
+ path: ninegrid.decode(file, "mybatis.xml", srcPath.mybatisPullPath, "service.java", srcPath.servicePullPath, "controller.java", srcPath.controllerPullPath, "react.jsx", srcPath.javascriptPullPath),
193648
193648
  contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
193649
193649
  }))
193650
193650
  );
@@ -193687,10 +193687,11 @@ class IdeAi
193687
193687
  namespace: namespace,
193688
193688
  baseClass: fileName,
193689
193689
  resultType: this.#parent.config.basePackage.split(".").slice(0, -1).join(".") + ".core.utils.CamelCaseMap",
193690
- controller: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
193691
- service: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
193692
- mybatis: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193693
- javascript: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
193690
+ mybatis: `${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193691
+ mybatisPullPath: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193692
+ controllerPullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
193693
+ servicePullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
193694
+ javascriptPullPath: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
193694
193695
  };
193695
193696
  /***
193696
193697
  return {
@@ -232,7 +232,7 @@ export class IdeAi
232
232
 
233
233
  const params = await Promise.all(
234
234
  files.map(async (file) => ({
235
- path: ninegrid.decode(file, "mybatis.xml", srcPath.mybatis, "service.java", srcPath.service, "controller.java", srcPath.controller, "react.jsx", srcPath.javascript),
235
+ path: ninegrid.decode(file, "mybatis.xml", srcPath.mybatisPullPath, "service.java", srcPath.servicePullPath, "controller.java", srcPath.controllerPullPath, "react.jsx", srcPath.javascriptPullPath),
236
236
  contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
237
237
  }))
238
238
  );
@@ -275,10 +275,11 @@ export class IdeAi
275
275
  namespace: namespace,
276
276
  baseClass: fileName,
277
277
  resultType: this.#parent.config.basePackage.split(".").slice(0, -1).join(".") + ".core.utils.CamelCaseMap",
278
- controller: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
279
- service: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
280
- mybatis: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
281
- javascript: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
278
+ mybatis: `${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
279
+ mybatisPullPath: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
280
+ controllerPullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
281
+ servicePullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
282
+ javascriptPullPath: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
282
283
  };
283
284
  /***
284
285
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.211.0",
4
+ "version": "0.212.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -232,7 +232,7 @@ export class IdeAi
232
232
 
233
233
  const params = await Promise.all(
234
234
  files.map(async (file) => ({
235
- path: ninegrid.decode(file, "mybatis.xml", srcPath.mybatis, "service.java", srcPath.service, "controller.java", srcPath.controller, "react.jsx", srcPath.javascript),
235
+ path: ninegrid.decode(file, "mybatis.xml", srcPath.mybatisPullPath, "service.java", srcPath.servicePullPath, "controller.java", srcPath.controllerPullPath, "react.jsx", srcPath.javascriptPullPath),
236
236
  contents: await fetch(`/api/templates/${file}`).then(res => res.text()),
237
237
  }))
238
238
  );
@@ -275,10 +275,11 @@ export class IdeAi
275
275
  namespace: namespace,
276
276
  baseClass: fileName,
277
277
  resultType: this.#parent.config.basePackage.split(".").slice(0, -1).join(".") + ".core.utils.CamelCaseMap",
278
- controller: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
279
- service: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
280
- mybatis: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
281
- javascript: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
278
+ mybatis: `${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
279
+ mybatisPullPath: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
280
+ controllerPullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
281
+ servicePullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
282
+ javascriptPullPath: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
282
283
  };
283
284
  /***
284
285
  return {