UNPKG

@vs-form/vs-form

Version:

A schema-based form generator component for React using material-ui

68 lines (67 loc) 3.09 kB
export declare enum ErrorCode { rootnotContainer = "rootnotContainer", rootChildrenEmpty = "rootChildrenEmpty", errParseString = "errParseString", schemaNotFound = "schemaNotFound", subSchemaNotFound = "subSchemaNotFound", subSchemaKeyInvalid = "subSchemaKeyInvalid", componentsnotdefined = "componentsnotdefined", valuesnotdefined = "valuesnotdefined", namePropMissing = "namePropMissing", duplicateFields = "duplicateFields", duplicateFieldPaths = "duplicateFieldPaths", duplicateIds = "duplicateIds", fieldsHasNoParent = "fieldsHasNoParent", fieldhasDuplicatesInChildren = "fieldhasDuplicatesInChildren", valuesKeyHasNoField = "valuesKeyHasNoField", onlyFormTagForRootComp = "onlyFormTagForRootComp", recursiveChildren = "recursiveChildren", possibleRecursion = "possibleRecursion", hasnotype = "hasnotype", invalidtype = "invalidtype", invalidComponentType = "invalidComponentType", hasNoComponentType = "hasNoComponentType", requiredPropMissing = "requiredPropMissing", wrongPropertyType = "wrongPropertyType", wrongPropertyTypeInArray = "wrongPropertyTypeInArray", arrayIsEmpty = "arrayIsEmpty", noChildrenKeys = "noChildrenKeys", invalidChildrenKeys = "invalidChildrenKeys", invalidTabsKeys = "invalidTabsKeys", invalidColumns = "invalidColumns", notDataFieldColumns = "notDataFieldColumns", valueNotInEnum = "valueNotInEnum", valueSmallerThanMin = "valueSmallerThanMin", valueGreaterThanMax = "valueGreaterThanMax", valueNotInMinMax = "valueNotInMinMax", fieldNotInValues = "fieldNotInValues", wrongDataTypeInValues = "wrongDataTypeInValues", hasInvalidProp = "hasInvalidProp", wrongDataType = "wrongDataType", wrongDataTypeDefaultValue = "wrongDataTypeDefaultValue", selectItemsMustBeObjects = "selectItemsMustBeObjects", selectItemsMustHaveValueAndText = "selectItemsMustHaveValueAndText", selectItemsMustHaveCorrectDataType = "selectItemsMustHaveCorrectDataType", selectItemsUnique = "selectItemsUnique", selectItemsTextMusBeString = "selectItemsTextMusBeString", selectItemsTextOnlyOneEmpty = "selectItemsTextOnlyOneEmpty", selectItemsTextNotUnique = "selectItemsTextNotUnique", typeStringOrArray = "typeStringOrArray", compNotFound = "compNotFound", invalidPrefixType = "invalidPrefixType", invalidIconType = "invalidIconType", maskOnlyInMaskInputComponent = "maskOnlyInMaskInputComponent", maskNotMultilineInput = "maskNotMultilineInput", maskArrayOrFunction = "maskArrayOrFunction", maskArrayItemsStringOrRegExp = "maskArrayItemsStringOrRegExp", stringOrFunction = "stringOrFunction", styleMustBeObject = "styleMustBeObject", styleAttrNotObject = "styleAttrNotObject", speedDialActionObject = "speedDialActionObject", iconOrSvg = "iconOrSvg" } declare type IErrorStrings = { [key in ErrorCode]: string; }; export declare const ErrorStrings: IErrorStrings; export {};