(schemas: {[valueId: string]: any})
| 67 | }; |
| 68 | |
| 69 | const toValuesSchema = (schemas: {[valueId: string]: any}): ValuesSchema => { |
| 70 | const valuesSchema: ValuesSchema = objNew(); |
| 71 | objForEach(schemas, (schema, valueId) => |
| 72 | ifNotUndefined(toCellOrValueSchema(schema), (valueSchema) => { |
| 73 | valuesSchema[valueId] = valueSchema as ValueSchema; |
| 74 | }), |
| 75 | ); |
| 76 | return valuesSchema; |
| 77 | }; |
| 78 | |
| 79 | return objFreeze({ |
| 80 | toTablesSchema, |
nothing calls this directly
no test coverage detected
searching dependent graphs…