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

Function executableNodes

web/src/api/node.ts:56–60  ·  view source on GitHub ↗
(mapID: string, nodeID?: string)

Source from the content-addressed store, hash-verified

54
55// 可执行节点
56export async function executableNodes(mapID: string, nodeID?: string): Promise<ExecutableNodeResponse> {
57 const url = API_ENDPOINTS.NODE.EXECUTABLE_NODES.replace(':mapID', mapID);
58 const params = nodeID ? { nodeID } : undefined;
59 return get(url, { params });
60}
61
62// 查询消息列表
63export async function getMessages(mapID: string, nodeID: string, conversationType: string): Promise<ApiResponse<MessageResponse[]>> {

Callers 1

useExecutableNodesFunction · 0.90

Calls 1

getFunction · 0.90

Tested by

no test coverage detected