MCPcopy Create free account
hub / github.com/Tencent/CodeAnalysis / createRule

Function createRule

web/packages/tca-layout/src/services/tools.ts:67–67  ·  view source on GitHub ↗
(orgId: string, toolId: number, data: any)

Source from the content-addressed store, hash-verified

65 * @param data
66 */
67export const createRule = (orgId: string, toolId: number, data: any) => post(`${getToolPrefix(orgId)}${toolId}/rules/`, data);
68
69/**
70 * 更新规则

Callers

nothing calls this directly

Calls 2

postFunction · 0.85
getToolPrefixFunction · 0.85

Tested by

no test coverage detected