Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.4.2 · 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[]

libs/@shumoku/core/src/libs/@shumoku/core/src/models/port-compatibility.ts:325