(mapID: string, nodeID?: string)
| 54 | |
| 55 | // 可执行节点 |
| 56 | export 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 | // 查询消息列表 |
| 63 | export async function getMessages(mapID: string, nodeID: string, conversationType: string): Promise<ApiResponse<MessageResponse[]>> { |
no test coverage detected