(path: string, schemaId: string, saveSchema: (prev: SpaceTableSchema) => SpaceTableSchema)
| 216 | } |
| 217 | |
| 218 | public saveTableSchema (path: string, schemaId: string, saveSchema: (prev: SpaceTableSchema) => SpaceTableSchema) { |
| 219 | |
| 220 | return this.adapterForPath(path).saveTableSchema(path, schemaId, saveSchema).then(f => { |
| 221 | if (f) |
| 222 | return this.superstate.reloadContextByPath(path, { force: true, calculate: true }) |
| 223 | return f}); |
| 224 | } |
| 225 | public saveTable (path: string, table: SpaceTable, force?: boolean) { |
| 226 | return this.adapterForPath(path).saveTable(path, table, force) |
| 227 | } |
nothing calls this directly
no test coverage detected