@mediusinc/mng-commons-data-api 6.2.0 → 7.0.0-rc.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/fesm2022/mediusinc-mng-commons-data-api-tableview.mjs +4 -4
- package/fesm2022/mediusinc-mng-commons-data-api-tableview.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-data-api.mjs.map +1 -1
- package/index.d.ts +234 -5
- package/package.json +3 -3
- package/tableview/index.d.ts +510 -6
- package/version-info.json +6 -6
- package/lib/helpers/get-all-params.d.ts +0 -93
- package/lib/models/api-version.model.d.ts +0 -9
- package/lib/models/request-params.model.d.ts +0 -67
- package/lib/models/schema.model.d.ts +0 -31
- package/lib/types/extract-get-all-types.type.d.ts +0 -30
- package/tableview/filter/generic-filters.d.ts +0 -55
- package/tableview/helpers/lookup-get-all-create.d.ts +0 -29
- package/tableview/helpers/tableview-get-all-params-create.d.ts +0 -54
- package/tableview/schema/columns-from-schema.d.ts +0 -122
- package/tableview/schema/enum-from-schema.d.ts +0 -12
- package/tableview/schema/fields-from-schema.d.ts +0 -248
- package/tableview/schema/internal/common-from-schema.d.ts +0 -1
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
import { SchemaEnum, SchemaModel, SchemaProperty } from '@mediusinc/mng-commons-data-api';
|
|
2
|
-
import { ArrayItemType } from '@mediusinc/mng-commons/core';
|
|
3
|
-
import { EnumDescriptor } from '@mediusinc/mng-commons/model';
|
|
4
|
-
import { ITableDataProvider, TableDescriptorInst } from '@mediusinc/mng-commons/table/api';
|
|
5
|
-
import { AFieldDescriptor, EditorDescriptorInst, FieldInputDescriptor, FieldLookupEnumDescriptor, FieldLookupProviderType, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor, TableviewDescriptorFieldsManageMultiType, TableviewDescriptorInst } from '@mediusinc/mng-commons/tableview/api';
|
|
6
|
-
type FieldInputType = 'number' | 'currency' | 'boolean' | 'string' | 'text' | 'textarea' | 'date' | 'date-time' | 'enum' | 'hidden';
|
|
7
|
-
type FromSchemaCommonOptsType<Model> = {
|
|
8
|
-
dateFormat?: string;
|
|
9
|
-
dateTimeFormat?: string;
|
|
10
|
-
textareaRows?: number;
|
|
11
|
-
numberUseGrouping?: boolean;
|
|
12
|
-
numberStep?: number;
|
|
13
|
-
numberMinFractionDigits?: number;
|
|
14
|
-
numberMaxFractionDigits?: number;
|
|
15
|
-
currency?: string;
|
|
16
|
-
currencyProperty?: keyof Model;
|
|
17
|
-
currencyDisplay?: 'symbol' | 'code' | 'name';
|
|
18
|
-
};
|
|
19
|
-
type FieldsFromSchemaOptsType<Model = any> = FromSchemaCommonOptsType<Model> & {
|
|
20
|
-
fieldTypes?: Partial<Record<keyof Model, FieldInputType>>;
|
|
21
|
-
enumModels?: Partial<Record<keyof Model, EnumDescriptor<any>>>;
|
|
22
|
-
enumSchemas?: Partial<Record<keyof Model, SchemaEnum<any>>>;
|
|
23
|
-
};
|
|
24
|
-
type FieldInputFromSchemaOptsType<Model = any, Enum = any> = FromSchemaCommonOptsType<Model> & {
|
|
25
|
-
fieldType?: FieldInputType;
|
|
26
|
-
enumSchema?: SchemaEnum<Enum>;
|
|
27
|
-
enumModel?: EnumDescriptor<Enum>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* <em>Experimental:</em> Builder for adding fields to editor.
|
|
31
|
-
*
|
|
32
|
-
* @experimental
|
|
33
|
-
*/
|
|
34
|
-
export declare class SchemaFieldsBuilder<Model, Parent = unknown, AddModel = Model, EditModel = Model, FieldsModel = TableviewDescriptorFieldsManageMultiType<Model, AddModel, EditModel>, SchModel = Model> {
|
|
35
|
-
private readonly descriptor;
|
|
36
|
-
private readonly schema;
|
|
37
|
-
private opts?;
|
|
38
|
-
constructor(descriptor: TableviewDescriptorInst<Model, any, any, Parent, any, AddModel, EditModel, FieldsModel> | EditorDescriptorInst<FieldsModel, Parent>, schema: SchemaModel<SchModel>, opts?: FieldsFromSchemaOptsType<SchModel> | undefined);
|
|
39
|
-
private mergeFieldsInputOpts;
|
|
40
|
-
private mergeFieldInputOpts;
|
|
41
|
-
/**
|
|
42
|
-
* <em>Experimental:</em> Adds a single input field via {addFieldInputFromSchema}.
|
|
43
|
-
*
|
|
44
|
-
* @experimental
|
|
45
|
-
*
|
|
46
|
-
* @param {Property} property - The property to add the field for.
|
|
47
|
-
* @param {FieldInputFromSchemaOptsType<SchModel>} opts - Additional options.
|
|
48
|
-
*
|
|
49
|
-
* @return {FieldInputDescriptor<Model, NonNullable<Model[Property]>, Model[Property], Parent>} The added field descriptor.
|
|
50
|
-
*/
|
|
51
|
-
add<Property extends Extract<keyof FieldsModel, keyof SchModel>>(property: Property, opts?: FieldInputFromSchemaOptsType<SchModel>): FieldInputDescriptor<FieldsModel, NonNullable<FieldsModel[Property]>, FieldsModel[Property], Parent>;
|
|
52
|
-
/**
|
|
53
|
-
* <em>Experimental:</em> Adds all input fields for the non-array properties via {addFieldInputFromSchema}.
|
|
54
|
-
*
|
|
55
|
-
* @experimental
|
|
56
|
-
*
|
|
57
|
-
* @param {FieldsFromSchemaOptsType<SchModel>} opts - Additional options.
|
|
58
|
-
*
|
|
59
|
-
* @return {this} - The current instance of the builder.
|
|
60
|
-
*/
|
|
61
|
-
withAddAll(opts?: FieldsFromSchemaOptsType<SchModel>): this;
|
|
62
|
-
/**
|
|
63
|
-
* <em>Experimental:</em> Adds input fields for properties via {addFieldInputFromSchema}.
|
|
64
|
-
*
|
|
65
|
-
* @experimental
|
|
66
|
-
*
|
|
67
|
-
* @param {FieldsFromSchemaOptsType<SchModel>} opts - Additional options.
|
|
68
|
-
* @param {...Property[]} properties - Properties to add fields for. If non provided, all non-array properties from schema will be added.
|
|
69
|
-
*
|
|
70
|
-
* @return {this} - The current instance of the builder.
|
|
71
|
-
*/
|
|
72
|
-
withAdd<PropertyKey extends Extract<keyof Model, keyof SchModel>>(opts: FieldsFromSchemaOptsType<SchModel>, ...properties: PropertyKey[]): this;
|
|
73
|
-
/**
|
|
74
|
-
* <em>Experimental:</em> Adds fields for properties via {addFieldInputFromSchema}.
|
|
75
|
-
*
|
|
76
|
-
* @experimental
|
|
77
|
-
*
|
|
78
|
-
* @param {...Property[]} properties - Properties to add fields for. If non provided, all non-array properties from schema will be added.
|
|
79
|
-
*
|
|
80
|
-
* @return {this} - The current instance of the builder.
|
|
81
|
-
*/
|
|
82
|
-
withAdd<Property extends Extract<keyof FieldsModel, keyof SchModel>>(...properties: Property[]): this;
|
|
83
|
-
private addFields;
|
|
84
|
-
/**
|
|
85
|
-
* <em>Experimental:</em> Adds a single input field via {addFieldInputFromSchema} where property schema is manually provided.
|
|
86
|
-
*
|
|
87
|
-
* @experimental
|
|
88
|
-
*
|
|
89
|
-
* @param {Property} property - The property to add the field for.
|
|
90
|
-
* @param {SchemaProperty} schemaProperty - Manually provided schema property.
|
|
91
|
-
* @param {FieldInputFromSchemaOptsType<Model>} opts - Additional options.
|
|
92
|
-
*
|
|
93
|
-
* @return {FieldInputDescriptor<Model, NonNullable<Model[Property]>, Model[Property], Parent>} The added field descriptor.
|
|
94
|
-
*/
|
|
95
|
-
addFromSchema<Property extends keyof FieldsModel>(property: Property, schemaProperty: SchemaProperty, opts?: FieldInputFromSchemaOptsType<FieldsModel>): FieldInputDescriptor<FieldsModel, NonNullable<FieldsModel[Property]>, FieldsModel[Property], Parent>;
|
|
96
|
-
/**
|
|
97
|
-
* <em>Experimental:</em> Adds an enum lookup field via {addFieldEnumLookupFromSchema}.
|
|
98
|
-
*
|
|
99
|
-
* @experimental
|
|
100
|
-
*
|
|
101
|
-
* @param {Property} property - The property to add the enum lookup field for.
|
|
102
|
-
* @param {SchemaEnum<Enum> | EnumDescriptor<Enum>} [enumOpt] - The enum schema or the enum model descriptor. If non provided, builder opts will be checked.
|
|
103
|
-
*
|
|
104
|
-
* @returns {FieldLookupEnumDescriptor<Enum, Model, Parent>} - The added field descriptor.
|
|
105
|
-
*
|
|
106
|
-
* @throws {CommonsInternalError} - If no enum metadata is found for the property either from parameter or from builder's opts.
|
|
107
|
-
*/
|
|
108
|
-
addEnum<Property extends Extract<keyof FieldsModel, keyof SchModel>, Enum>(property: Property, enumOpt?: SchemaEnum<Enum> | EnumDescriptor<Enum>): FieldLookupEnumDescriptor<Enum, FieldsModel, Parent>;
|
|
109
|
-
/**
|
|
110
|
-
* <em>Experimental:</em> Adds an enum lookup field via {addFieldEnumLookupFromSchema} where property schema is manually provided.
|
|
111
|
-
*
|
|
112
|
-
* @experimental
|
|
113
|
-
*
|
|
114
|
-
* @param {Property} property - The property to add the enum lookup field for.
|
|
115
|
-
* @param {SchemaEnum<Enum> | EnumDescriptor<Enum>} [enumOpt] - The enum schema or the enum model descriptor. If non provided, builder opts will be checked.
|
|
116
|
-
* @param {SchemaProperty} schemaProperty - Manually provided schema property.
|
|
117
|
-
*
|
|
118
|
-
* @returns {FieldLookupEnumDescriptor<Enum, Model, Parent>} - The added field descriptor.
|
|
119
|
-
*
|
|
120
|
-
* @throws {CommonsInternalError} - If no enum metadata is found for the property either from parameter or from builder's opts.
|
|
121
|
-
*/
|
|
122
|
-
addEnumFromSchema<Property extends keyof FieldsModel, Enum>(property: Property, enumOpt: SchemaEnum<Enum> | EnumDescriptor<Enum> | undefined, schemaProperty: SchemaProperty): FieldLookupEnumDescriptor<Enum, FieldsModel, Parent>;
|
|
123
|
-
/**
|
|
124
|
-
* <em>Experimental:</em> Adds a lookup field.
|
|
125
|
-
* {EditorDescriptorInt.addFieldLookup} is used to create field and ${setFieldBasicOptionsFromSchema} to add basic field's options from schema.
|
|
126
|
-
*
|
|
127
|
-
* @experimental
|
|
128
|
-
*
|
|
129
|
-
* @param {Property} property - The property to create the lookup field for.
|
|
130
|
-
* @param {FieldLookupProviderType<LookupModel, Service>} provider - Data provider for the lookup field.
|
|
131
|
-
*
|
|
132
|
-
* @return The created lookup field.
|
|
133
|
-
*/
|
|
134
|
-
addLookup<Property extends Extract<keyof FieldsModel, keyof SchModel>, Service = undefined, LookupModel extends NonNullable<FieldsModel[Property]> = NonNullable<FieldsModel[Property]>>(property: Property, provider?: FieldLookupProviderType<LookupModel, Service>): import("@mediusinc/mng-commons/tableview/api").FieldLookupDescriptor<LookupModel, FieldsModel, Service, FieldsModel[Property], Parent, keyof LookupModel, keyof LookupModel>;
|
|
135
|
-
/**
|
|
136
|
-
* <em>Experimental:</em> Adds a lookup field where property schema is manually provided.
|
|
137
|
-
* {EditorDescriptorInt.addFieldLookup} is used to create field and ${setFieldBasicOptionsFromSchema} to add basic field's options from schema.
|
|
138
|
-
*
|
|
139
|
-
* @experimental
|
|
140
|
-
*
|
|
141
|
-
* @param {Property} property - The property to create the lookup field for.
|
|
142
|
-
* @param {FieldLookupProviderType<LookupModel, Service> | undefined} provider - Data provider for the lookup field.
|
|
143
|
-
* @param {SchemaProperty} schemaProperty - Manually provided schema property.
|
|
144
|
-
*
|
|
145
|
-
* @return The created lookup field.
|
|
146
|
-
*/
|
|
147
|
-
addLookupFromSchema<Property extends keyof FieldsModel, Service = undefined, LookupModel extends NonNullable<FieldsModel[Property]> = NonNullable<FieldsModel[Property]>>(property: Property, provider: FieldLookupProviderType<LookupModel, Service> | undefined, schemaProperty: SchemaProperty): import("@mediusinc/mng-commons/tableview/api").FieldLookupDescriptor<LookupModel, FieldsModel, Service, FieldsModel[Property], Parent, keyof LookupModel, keyof LookupModel>;
|
|
148
|
-
/**
|
|
149
|
-
* <em>Experimental:</em> Adds a one-to-many editor field.
|
|
150
|
-
* {EditorDescriptorInt.addFieldManyEditor} is used to create field and ${setFieldBasicOptionsFromSchema} to add basic field's options from schema.
|
|
151
|
-
*
|
|
152
|
-
* @experimental
|
|
153
|
-
*
|
|
154
|
-
* @param {Property} property - The property to create the many editor field for.
|
|
155
|
-
* @param {TableviewDescriptorInst<FieldModel, any, any, FieldsModel>} tableviewDescriptor - Tableview descriptor.
|
|
156
|
-
*
|
|
157
|
-
* @return The created one-to-many editor field.
|
|
158
|
-
*/
|
|
159
|
-
addManyEditor<Property extends Extract<keyof FieldsModel, keyof SchModel>, FieldModel = ArrayItemType<FieldsModel[Property]>, FieldValue = FieldsModel[Property]>(property: Property, tableviewDescriptor: TableviewDescriptorInst<FieldModel, any, any, FieldsModel, FieldModel, FieldModel, FieldModel, FieldModel>): FieldManyEditorDescriptor<FieldModel, FieldsModel, FieldValue, Parent>;
|
|
160
|
-
/**
|
|
161
|
-
* <em>Experimental:</em> Adds an one-to-many editor field where property schema is manually provided.
|
|
162
|
-
* {EditorDescriptorInt.addFieldManyEditor} is used to create field and ${setFieldBasicOptionsFromSchema} to add basic field's options from schema.
|
|
163
|
-
*
|
|
164
|
-
* @experimental
|
|
165
|
-
*
|
|
166
|
-
* @param {Property} property - The property to create the many editor field for.
|
|
167
|
-
* @param {TableviewDescriptorType<FieldModel, any, any, FieldsModel>} tableviewDescriptor - Tableview descriptor.
|
|
168
|
-
* @param {SchemaProperty} schemaProperty - Manually provided schema property.
|
|
169
|
-
*
|
|
170
|
-
* @return The created one-to-many editor field.
|
|
171
|
-
*/
|
|
172
|
-
addManyEditorFromSchema<Property extends keyof FieldsModel, FieldModel = ArrayItemType<FieldsModel[Property]>, FieldValue = FieldsModel[Property]>(property: Property, tableviewDescriptor: TableviewDescriptorInst<FieldModel, any, any, FieldsModel, FieldModel, FieldModel, FieldModel, FieldModel>, schemaProperty: SchemaProperty): FieldManyEditorDescriptor<FieldModel, FieldsModel, FieldValue, Parent>;
|
|
173
|
-
/**
|
|
174
|
-
* <em>Experimental:</em> Adds a many-to-many editor field.
|
|
175
|
-
* {EditorDescriptorInt.addFieldManyToManyEditor} is used to create field and ${setFieldBasicOptionsFromSchema} to add basic field's options from schema.
|
|
176
|
-
*
|
|
177
|
-
* @experimental
|
|
178
|
-
*
|
|
179
|
-
* @param {Property} property - The property to create the many editor field for.
|
|
180
|
-
* @param {TableDescriptorInst<FieldModel>} mainTableDescriptor - Main table descriptor.
|
|
181
|
-
* @param {TableDescriptorInst<FieldModel>} lookupTableDescriptor - Lookup table descriptor.
|
|
182
|
-
* @param {ITableDataProvider<FieldModel, ServiceType>} lookupDataProvider - Lookup data provider.
|
|
183
|
-
*
|
|
184
|
-
* @return The created many-to-many editor field.
|
|
185
|
-
*/
|
|
186
|
-
addManyToManyEditor<Property extends Extract<keyof FieldsModel, keyof SchModel>, ServiceType, FieldModel = ArrayItemType<FieldsModel[Property]>, FieldValue = FieldsModel[Property]>(property: Property, mainTableDescriptor: TableDescriptorInst<FieldModel>, lookupTableDescriptor: TableDescriptorInst<FieldModel>, lookupDataProvider: ITableDataProvider<FieldModel, ServiceType>): FieldManyToManyEditorDescriptor<FieldModel, FieldsModel, ServiceType, FieldValue, Parent>;
|
|
187
|
-
/**
|
|
188
|
-
* <em>Experimental:</em> Adds a many-to-many editor field where property schema is manually provided.
|
|
189
|
-
* {EditorDescriptorInt.addFieldManyToManyEditor} is used to create field and ${setFieldBasicOptionsFromSchema} to add basic field's options from schema.
|
|
190
|
-
*
|
|
191
|
-
* @experimental
|
|
192
|
-
*
|
|
193
|
-
* @param {Property} property - The property to create the many editor field for.
|
|
194
|
-
* @param {TableDescriptorInst<FieldModel>} mainTableDescriptor - Main table descriptor.
|
|
195
|
-
* @param {TableDescriptorInst<FieldModel>} lookupTableDescriptor - Lookup table descriptor.
|
|
196
|
-
* @param {ITableDataProvider<FieldModel, ServiceType>} lookupDataProvider - Lookup data provider.
|
|
197
|
-
* @param {SchemaProperty} schemaProperty - Manually provided schema property.
|
|
198
|
-
*
|
|
199
|
-
* @return The created many-to-many editor field.
|
|
200
|
-
*/
|
|
201
|
-
addManyToManyEditorFromSchema<Property extends keyof FieldsModel, ServiceType, FieldModel = ArrayItemType<FieldsModel[Property]>, FieldValue = FieldsModel[Property]>(property: Property, mainTableDescriptor: TableDescriptorInst<FieldModel>, lookupTableDescriptor: TableDescriptorInst<FieldModel>, lookupDataProvider: ITableDataProvider<FieldModel, ServiceType>, schemaProperty: SchemaProperty): FieldManyToManyEditorDescriptor<FieldModel, FieldsModel, ServiceType, FieldValue, Parent>;
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* <em>Experimental:</em> Creates builder for adding fields to descriptor based on provided model schema.
|
|
205
|
-
*
|
|
206
|
-
* @experimental
|
|
207
|
-
*
|
|
208
|
-
* @param {TableviewDescriptorInst<Model, any, any, Parent, any, AddModel, EditModel, FieldsModel> | EditorDescriptorInst<Model, Parent>} descriptor - Descriptor to add fields to.
|
|
209
|
-
* @param {SchemaModel<SchModel>} schema - The schema with metadata about properties for fields.
|
|
210
|
-
* @param {FieldsFromSchemaOptsType<SchModel>} [opts] - Additional options.
|
|
211
|
-
*
|
|
212
|
-
* @return {SchemaFieldsBuilder<Model, Parent, AddModel, EditModel , FieldsModel, SchModel>} - The SchemaFieldsBuilder object containing the extracted fields.
|
|
213
|
-
*/
|
|
214
|
-
export declare function fieldsFromSchema<Model, Parent = undefined, AddModel = Model, EditModel = Model, FieldsModel = TableviewDescriptorFieldsManageMultiType<Model, AddModel, EditModel>, SchModel = Model>(descriptor: TableviewDescriptorInst<Model, any, any, Parent, any, AddModel, EditModel, FieldsModel> | EditorDescriptorInst<FieldsModel, Parent>, schema: SchemaModel<SchModel>, opts?: FieldsFromSchemaOptsType<SchModel>): SchemaFieldsBuilder<Model, Parent, AddModel, EditModel, FieldsModel, SchModel>;
|
|
215
|
-
/**
|
|
216
|
-
* <em>Experimental:</em> Adds a field input to editor descriptor based on the given schema property and options.
|
|
217
|
-
*
|
|
218
|
-
* @experimental
|
|
219
|
-
*
|
|
220
|
-
* @param {TableviewDescriptorInst | EditorDescriptorInst} descriptor - Descriptor to add field to.
|
|
221
|
-
* @param {keyof Model} property - The property of the model.
|
|
222
|
-
* @param {SchemaProperty} propertySchema - The property's schema for the field.
|
|
223
|
-
* @param {FieldInputFromSchemaOptsType<Model>} [opts] - Additional options.
|
|
224
|
-
*
|
|
225
|
-
* @return {FieldInputDescriptor<Model, NonNullable<Model[Property]>, Model[Property], Parent>} - The generated field input descriptor.
|
|
226
|
-
*/
|
|
227
|
-
export declare function addFieldInputFromSchema<Property extends keyof FieldsModel, Model, Parent = unknown, AddModel = Model, EditModel = Model, FieldsModel = TableviewDescriptorFieldsManageMultiType<Model, AddModel, EditModel>>(descriptor: TableviewDescriptorInst<Model, any, any, Parent, any, AddModel, EditModel, FieldsModel> | EditorDescriptorInst<FieldsModel, Parent>, property: Property, propertySchema: SchemaProperty, opts?: FieldInputFromSchemaOptsType<FieldsModel>): FieldInputDescriptor<FieldsModel, NonNullable<FieldsModel[Property]>, FieldsModel[Property], Parent>;
|
|
228
|
-
/**
|
|
229
|
-
* <em>Experimental:</em> Adds a field enum lookup to editor descriptor based on the given schema property and options.
|
|
230
|
-
*
|
|
231
|
-
* @experimental
|
|
232
|
-
*
|
|
233
|
-
* @param {TableviewDescriptorInst<Model, any, any, Parent> | EditorDescriptorInst<Model, Parent>} descriptor - Descriptor to add field to.
|
|
234
|
-
* @param {keyof Model} property - The property of the model.
|
|
235
|
-
* @param {SchemaEnum<Enum> | EnumDescriptor<Enum>} enumOpt - The enum schema or enum model descriptor.
|
|
236
|
-
* @param {SchemaProperty} propertySchema - The property's schema for the field.
|
|
237
|
-
*
|
|
238
|
-
* @returns {FieldLookupEnum<Enum>} - The field with enumeration values.
|
|
239
|
-
*/
|
|
240
|
-
export declare function addFieldEnumLookupFromSchema<Model, Parent = unknown, AddModel = Model, EditModel = Model, FieldsModel = TableviewDescriptorFieldsManageMultiType<Model, AddModel, EditModel>, Enum = any>(descriptor: TableviewDescriptorInst<Model, any, any, Parent, any, AddModel, EditModel, FieldsModel> | EditorDescriptorInst<FieldsModel, Parent>, property: keyof FieldsModel, enumOpt: SchemaEnum<Enum> | EnumDescriptor<Enum>, propertySchema: SchemaProperty): FieldLookupEnumDescriptor<Enum, FieldsModel, Parent>;
|
|
241
|
-
/**
|
|
242
|
-
* <em>Experimental:</em> Sets basic options for a field based on a given property schema.
|
|
243
|
-
*
|
|
244
|
-
* @param {AFieldDescriptor<FieldModel, EditorModel, FieldValue, ParentEditorModel>} field - The field to set options for.
|
|
245
|
-
* @param {SchemaProperty} propertySchema - The property schema to base the options on.
|
|
246
|
-
*/
|
|
247
|
-
export declare function setFieldBasicOptionsFromSchema<FieldModel = any, EditorModel = any, FieldValue = FieldModel, ParentEditorModel = undefined>(field: AFieldDescriptor<FieldModel, EditorModel, FieldValue, ParentEditorModel>, propertySchema: SchemaProperty): void;
|
|
248
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function fromSchemaFilterNonArrayProperties<Model>(propertySchemas: Record<keyof Model, any>): (keyof Model)[];
|