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.
- package/dist/bundle.cjs.js +6 -5
- package/dist/bundle.esm.js +6 -5
- package/dist/components/ideAi.js +6 -5
- package/package.json +1 -1
- package/src/components/ideAi.js +6 -5
package/dist/bundle.cjs.js
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
193695
|
-
|
|
193696
|
-
|
|
193697
|
-
|
|
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 {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
193691
|
-
|
|
193692
|
-
|
|
193693
|
-
|
|
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 {
|
package/dist/components/ideAi.js
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
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
package/src/components/ideAi.js
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
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 {
|