validateAccessoryAttachments
validateAccessoryAttachments(
attachments): readonlystring[]
Defined in: packages/declarative-hex-worlds/src/accessories/accessories.ts:70
Validate a set of accessory attachments: ids unique, node + assetId non-empty. Returns the list of problems (empty = valid) so callers can fail at author time rather than silently drop a mis-specified accessory during rendering.
Parameters
Section titled “Parameters”attachments
Section titled “attachments”readonly AccessoryAttachment[]
Returns
Section titled “Returns”readonly string[]