UNPKG

react-json-schema-editor-antd

Version:

Json Schema Editor

21 lines (20 loc) 1.32 kB
export declare const useSchemaOperations: (props: { messageApi: any; schema: any; setSchema: any; }) => { updateSchema: (this: unknown, namePath: any[], value: any) => void; renameProperty: (this: unknown, namePath: any[], newKey: string | number) => void | undefined; renamePropertySource: (this: unknown, namePath: any[], newKey: string | number) => void; onSchemaRowUpdate: (this: unknown, namePath: any[], newKey: string | number, newSchema: any) => void; updateRequiredProperty: (this: unknown, namePath: any[], property: string, removed: boolean) => void; updateAllowNull: (this: unknown, namePath: any[], allowNull: boolean) => void; removeProperty: (this: unknown, namePath: any[]) => void; removeRef: (this: unknown, namePath: any[]) => void; addRef: (this: unknown, namePath: any[], refData: any, update?: boolean | undefined) => void; hiddenRefProperty: (this: unknown, namePath: any[], isHidden: boolean) => void; linkRefProperty: (this: unknown, namePath: any[], propertySchema: any, link: boolean) => void; unreferenceRef: (this: unknown, namePath: any[], refSchema: any, schema?: any) => void; addProperty: (this: unknown, namePath: any[], isChild?: boolean | undefined) => void; handleDragEnd: (this: unknown, args_0: any) => void; };