Skip to main content

Interface: VariantCodes

Mapping between product instance IDs and their variant codes.

This interface provides a structure that associates each product instance on the modular scene with its specific configuration variant code. This allows for tracking the exact configuration of every product in the scene.

Indexable

[key: string]: string

Maps instance IDs to variant codes.

Each key is a unique instance ID for a product on the scene, and each value is the variant code string that represents that product's specific configuration (selected options, materials, etc.).