MCPcopy Create free account
hub / github.com/PGshen/thinking-map / createNode

Function createNode

web/src/api/node.ts:31–33  ·  view source on GitHub ↗
(mapID: string, params: CreateNodeRequest)

Source from the content-addressed store, hash-verified

29
30// 创建节点
31export async function createNode(mapID: string, params: CreateNodeRequest): Promise<CreateNodeResponse> {
32 return post(API_ENDPOINTS.NODE.CREATE.replace(':mapID', mapID), params);
33}
34
35// 更新节点
36export async function updateNode(mapID: string, nodeID: string, params: UpdateNodeRequest): Promise<UpdateNodeResponse> {

Callers 1

useNodeOperationsFunction · 0.90

Calls 1

postFunction · 0.90

Tested by

no test coverage detected