API Reference › Globals › MaterialsFactory
# Class: MaterialsFactory
# Hierarchy
- MaterialsFactory
# Index
# Methods
# Methods
# Static
create
▸ create(amount
: number): RapiJsonBox
Defined in packages/configurator-core/src/utils/test-helpers/mock-data/materials.ts:57
Parameters:
Name | Type |
---|---|
amount | number |
Returns: RapiJsonBox
# Static
createByIds
▸ createByIds(ids
: string[] | number[]): RapiMaterialBox
Defined in packages/configurator-core/src/utils/test-helpers/mock-data/materials.ts:66
Parameters:
Name | Type |
---|---|
ids | string[] | number[] |
Returns: RapiMaterialBox
# Static
generateMaxIds
▸ generateMaxIds(): string[]
Defined in packages/configurator-core/src/utils/test-helpers/mock-data/materials.ts:79
Returns: string[]
# Static
idsToUrl
▸ idsToUrl(ids
: string[] | number[]): string
Defined in packages/configurator-core/src/utils/test-helpers/mock-data/materials.ts:75
Parameters:
Name | Type |
---|---|
ids | string[] | number[] |
Returns: string