chore(core,composables): update jsdocs

This commit is contained in:
braks
2024-02-05 07:51:12 +01:00
committed by Braks
parent 6e162d5f02
commit 2ca5bd82a4
8 changed files with 36 additions and 23 deletions
@@ -18,13 +18,13 @@ interface UseHandleConnectionsParams {
/**
* Composable that returns existing connections of a handle
*
* @public
* @param UseHandleConnectionsParams
* @param UseHandleConnectionsParams.type - handle type `source` or `target`
* @param UseHandleConnectionsParams.nodeId - node id - if not provided, the node id from the `useNodeId` (meaning, the context-based injection) is used
* @param UseHandleConnectionsParams.id - the handle id (this is required if the node has multiple handles of the same type)
* @param UseHandleConnectionsParams.onConnect - gets called when a connection is created
* @param UseHandleConnectionsParams.onDisconnect - gets called when a connection is removed
*
* @returns An array of connections
*/
export function useHandleConnections({