We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38a544d commit 9855049Copy full SHA for 9855049
src/store/connection.ts
@@ -117,6 +117,12 @@ export class CCConnectionStore extends EventEmitter<CCConnectionStoreEvents> {
117
.map((connection) => connection.id);
118
}
119
120
+ getManyByParentComponentId(parentComponentId: CCComponentId): CCConnection[] {
121
+ return [...this.#connections.values()].filter(
122
+ (connection) => connection.parentComponentId === parentComponentId
123
+ );
124
+ }
125
+
126
/**
127
* Get connections by id of node and pin
128
* @param nodeId id of node
0 commit comments