@shumoku/core · 0.4.0 · function
validateLinkCompatibility
APIの説明は英語のcanonical sourceを表示しています。
Validate a link against its endpoints, ports, and cable. Runs every registered endpoint-level and link-level check; collects all issues the UI / consumers can route to inline markers via `issuesForTarget`.
validateLinkCompatibility(fromPort: NodePort | undefined, toPort: NodePort | undefined, link: Pick<Link, "from" | "to" | "cable">): ValidationIssue[] パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
fromPort | NodePort | undefined | 追加説明はありません。 | — |
toPort | NodePort | undefined | 追加説明はありません。 | — |
link | Pick<Link, "from" | "to" | "cable"> | 追加説明はありません。 | — |
戻り値
ValidationIssue[]