(valueId, value)
| 1163 | () => valueInvalid() |
| 1164 | ); |
| 1165 | const getValidatedValue = (valueId, value) => hasValuesSchema ? ifNotUndefined( |
| 1166 | mapGet(valuesSchemaMap, valueId), |
| 1167 | (valueSchema) => isNull(value) ? valueSchema[ALLOW_NULL] ? value : valueInvalid(valueId, value, valueSchema[DEFAULT]) : getCellOrValueType(value) === valueSchema[TYPE] ? encodeIfJson(value) : isJsonType(valueSchema[TYPE]) && isEncodedJson(value) ? value : valueInvalid(valueId, value, valueSchema[DEFAULT]), |
| 1168 | () => valueInvalid(valueId, value) |
| 1169 | ) : isUndefined(getCellOrValueType(value)) ? valueInvalid(valueId, value) : encodeIfJson(value); |
| 1170 | const addDefaultsToRow = (row, tableId, rowId) => { |
| 1171 | ifNotUndefined( |
| 1172 | mapGet(tablesSchemaRowCache, tableId), |
no test coverage detected
searching dependent graphs…