@3dsource/metabox-front-api
    Preparing search index...

    Type Alias MaterialCommand

    A single material command accepted inside a SetMaterials batch.

    Union of the material commands the Basic Configurator can apply — SetProductMaterial and SetEnvironmentMaterial. Use it to type an array you build up before sending it as one batch.

    Type the array you accumulate while resolving a preset, a saved configuration or a PIM payload, then hand the whole array to SetMaterials in one call.

    const materials: MaterialCommand[] = [] then materials.push(new SetProductMaterial(...)). Components belong to the Modular Configurator, not to this package.