UNPKG

ngx-schema-forms

Version:

New features: - Ajv schema validator. - Angular forms compatible: Property tree is created using FormGroup, FormArray and FormControl classes. - Array now properly loads initial data from model. - WidgetTyep: WidgetRegistry now supports WidgetType, now wo

13 lines (12 loc) 607 B
export declare class SchemaPreprocessor { static preprocess(jsonSchema: any, path?: string): any; private static checkProperties(jsonSchema, path); private static checkAndCreateFieldsets(jsonSchema, path); private static checkFieldsUsage(jsonSchema, path); private static createFieldsets(jsonSchema); private static replaceOrderByFieldsets(jsonSchema); private static normalizeWidget(fieldSchema); private static checkItems(jsonSchema, path); private static recursiveCheck(jsonSchema, path); private static removeRecursiveRefProperties(jsonSchema, definitionPath); }