MCPcopy Create free account
hub / github.com/apitable/apitable / delNode

Function delNode

packages/core/src/modules/space/api/api.space.ts:173–182  ·  view source on GitHub ↗
(nodeId: string)

Source from the content-addressed store, hash-verified

171 * @param nodeId Node Id
172 */
173export 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
184export function getSpecifyNodeList(nodeType: NodeType) {
185 return axios.get(Url.GET_SPECIFY_NODE_LIST, {

Callers

nothing calls this directly

Calls 4

deleteMethod · 0.65
delete_cacheMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected