@commercetools-test-data/attribute-type
This package provides the data models for the commercetools platform `AttributeTypes' representations
https://docs.commercetools.com/api/projects/productTypes#attributetype
Install
$ yarn add -D @commercetools-test-data/attribute-type
Usage
AttributeType
import type { TAttributeType } from '@commercetools-test-data/attribute-type';
import { AttributeType } from '@commercetools-test-data/attribute-type';
const attributeType = AttributeType.random().build<TAttributeType>();
AttributePlainEnumValue
import type {
TAttributePlainEnumValue,
TAttributePlainEnumValueGraphql,
} from '@commercetools-test-data/attribute-type';
import { AttributePlainEnumValue } from '@commercetools-test-data/attribute-type';
const attributePlainEnumValue =
AttributePlainEnumValue.random().build<TAttributePlainEnumValue>();