zova-cli-set-front 1.2.104 → 1.2.106
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IComponentOptions } from 'zova';
|
|
2
2
|
import type {
|
|
3
3
|
IJsxRenderContextPage,
|
|
4
|
-
|
|
4
|
+
IResourceTableActionBulkPropsBase,
|
|
5
5
|
} from 'zova-module-a-openapi';
|
|
6
6
|
|
|
7
7
|
import { BeanControllerBase, Use } from 'zova';
|
|
@@ -13,7 +13,7 @@ declare module 'zova-module-a-openapi' {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export interface Controller<%=argv.nameMeta.fullCapitalize%>Props extends
|
|
16
|
+
export interface Controller<%=argv.nameMeta.fullCapitalize%>Props extends IResourceTableActionBulkPropsBase {}
|
|
17
17
|
|
|
18
18
|
@Controller()
|
|
19
19
|
export class Controller<%=argv.nameMeta.fullCapitalize%> extends BeanControllerBase {
|
package/dist/index.js
CHANGED
|
@@ -2610,7 +2610,7 @@ async function generateBeanGenerals(globFiles, sceneName, sceneMeta, moduleName,
|
|
|
2610
2610
|
const beanFullName = `${moduleName}.${sceneName}.${beanName}`;
|
|
2611
2611
|
if (isIgnore) continue;
|
|
2612
2612
|
if (!sceneMeta.scopeResource) {
|
|
2613
|
-
contentImports.push(`import { ${className} } from '${fileNameJSRelative}';`);
|
|
2613
|
+
contentImports.push(`import type { ${className} } from '${fileNameJSRelative}';`);
|
|
2614
2614
|
}
|
|
2615
2615
|
contentRecords.push(`'${beanFullName}': ${className};`);
|
|
2616
2616
|
}
|
|
@@ -3211,7 +3211,7 @@ async function generateScopeResources(globFiles, sceneName, _sceneMeta, _moduleN
|
|
|
3211
3211
|
isIgnore
|
|
3212
3212
|
} = globFile;
|
|
3213
3213
|
if (isIgnore) continue;
|
|
3214
|
-
contentImports.push(`import { ${className} } from '${fileNameJSRelative}';`);
|
|
3214
|
+
contentImports.push(`import type { ${className} } from '${fileNameJSRelative}';`);
|
|
3215
3215
|
contentRecords.push(`'${beanName}': ${className};`);
|
|
3216
3216
|
}
|
|
3217
3217
|
if (contentImports.length === 0) return '';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-cli-set-front",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "1.2.106",
|
|
4
|
+
"gitHead": "b77e76c1a25df7b0f95d7e675c2eda7dc4c7299e",
|
|
5
5
|
"description": "zova cli-set-front",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"framework",
|