zova-cli-set-front 1.2.41 → 1.2.42
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,12 +1,21 @@
|
|
|
1
1
|
import type { IComponentOptions } from 'zova';
|
|
2
|
-
import type { IFormFieldPresetOptionsBase } from 'zova-module-a-form';
|
|
3
2
|
import type { IResourceFormFieldOptionsBase } from 'zova-module-a-openapi';
|
|
4
3
|
|
|
5
4
|
import { BeanControllerBase } from 'zova';
|
|
6
5
|
import { Controller } from 'zova-module-a-bean';
|
|
7
|
-
import { ZFormField } from 'zova-module-a-form';
|
|
6
|
+
import { ZFormField, type IFormFieldComponentOptions } from 'zova-module-a-form';
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
declare module 'zova-module-a-openapi' {
|
|
9
|
+
export interface IResourceComponentFormFieldRecord {
|
|
10
|
+
'<%=argv.module%>:<%=argv.nameMeta.full%>'?: IResource<%=argv.nameMeta.fullCapitalize%>Options;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface IResource<%=argv.nameMeta.fullCapitalize%>Options extends IResourceFormFieldOptionsBase {}
|
|
15
|
+
|
|
16
|
+
export interface Controller<%=argv.nameMeta.fullCapitalize%>Props extends IFormFieldComponentOptions {
|
|
17
|
+
options?: IResource<%=argv.nameMeta.fullCapitalize%>Options;
|
|
18
|
+
}
|
|
10
19
|
|
|
11
20
|
@Controller()
|
|
12
21
|
export class Controller<%=argv.nameMeta.fullCapitalize%> extends BeanControllerBase {
|
package/package.json
CHANGED