(nodeId: string)
| 171 | * @param nodeId Node Id |
| 172 | */ |
| 173 | export function delNode(nodeId: string) { |
| 174 | if (getBrowserDatabusApiEnabled()) { |
| 175 | WasmApi.getInstance() |
| 176 | .delete_cache(nodeId) |
| 177 | .then((result) => { |
| 178 | console.log('delete indexDb cache', result); |
| 179 | }); |
| 180 | } |
| 181 | return axios.delete(Url.DELETE_NODE + nodeId); |
| 182 | } |
| 183 | |
| 184 | export function getSpecifyNodeList(nodeType: NodeType) { |
| 185 | return axios.get(Url.GET_SPECIFY_NODE_LIST, { |
nothing calls this directly
no test coverage detected