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

Function disableRoleExtend

packages/core/src/modules/shared/api/api.ts:413–423  ·  view source on GitHub ↗
(nodeId: string, includeExtend?: boolean)

Source from the content-addressed store, hash-verified

411 * @returns
412 */
413export function disableRoleExtend(nodeId: string, includeExtend?: boolean) {
414 const params = includeExtend ? { includeExtend } : {};
415 if (getBrowserDatabusApiEnabled()) {
416 WasmApi.getInstance()
417 .delete_cache(nodeId)
418 .then((result) => {
419 console.log('delete indexDb cache', result);
420 });
421 }
422 return axios.post(Url.DISABLE_ROLE_EXTEND + `?nodeId=${nodeId}`, params);
423}
424
425/**
426 * Delete node role

Callers

nothing calls this directly

Calls 4

postMethod · 0.65
delete_cacheMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected