Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.6.1 · function

deviceAttributes

ソース

APIの説明は英語のcanonical sourceを表示しています。

A node's device attributes from raw parts: empty values dropped, `chassisId` and `mac` in the canonical MAC spelling where they are MACs. Spread the result onto the node the plugin returns.

deviceAttributes(parts: { address?: string | null; chassisId?: string | null; mac?: string | null; sysName?: string | null }): DeviceAttributes

パラメーター

名前 型 説明 既定値
parts { address?: string | null; chassisId?: string | null; mac?: string | null; sysName?: string | null } 追加説明はありません。 —

戻り値

DeviceAttributes

libs/@shumoku/core/src/libs/@shumoku/core/src/plugin-kit/stamp.ts:54