( fieldId: string, schema: InternalFieldValidationSchema )
| 45 | ): boolean => !isUndefinedOrNull(schema) && !isUndefinedOrNull(schema[fieldId]); |
| 46 | |
| 47 | export const hasFieldIdArrayValidator = ( |
| 48 | fieldId: string, |
| 49 | schema: InternalFieldValidationSchema |
| 50 | ): boolean => /\[.*\]/.test(fieldId) && !isFieldIdInSchema(fieldId, schema); |
| 51 | |
| 52 | export const formatFieldForArrayField = (fieldId: string, value) => { |
| 53 | const formattedValue = set({}, fieldId, value); |
no test coverage detected
searching dependent graphs…