(tablesSchema: TablesSchema)
| 1777 | ); |
| 1778 | |
| 1779 | const setTablesSchema = (tablesSchema: TablesSchema): Store => |
| 1780 | fluentTransaction(() => { |
| 1781 | if ((hasTablesSchema = validateTablesSchema(tablesSchema))) { |
| 1782 | setValidTablesSchema(tablesSchema); |
| 1783 | if (!collIsEmpty(tablesMap)) { |
| 1784 | const tables = getTables(); |
| 1785 | delTables(); |
| 1786 | setTables(tables); |
| 1787 | } |
| 1788 | } |
| 1789 | }); |
| 1790 | |
| 1791 | const setValuesSchema = (valuesSchema: ValuesSchema): Store => |
| 1792 | fluentTransaction(() => { |
no test coverage detected
searching dependent graphs…