This package has been deprecated

Author message:

Use the @commercetools-test-data/attribute-definition package instead

@commercetools-test-data/attribute
TypeScript icon, indicating that this package has built-in type declarations

4.11.1 • Public • Published

@commercetools-test-data/attribute

This package provides the data model for the commercetools platform Attribute type

https://docs.commercetools.com/api/projects/products#attribute

Install

$ yarn add -D @commercetools-test-data/attribute

Usage

import type {
  TAttribute,
  TAttributeDraft,
} from '@commercetools-test-data/attribute';
import * as Attribute from '@commercetools-test-data/attribute';

const attribute = Attribute.random().build<TAttribute>();
const attributeDraftGraphql =
  Attribute.AttributeDraft.random().buildGraphql<TAttributeDraft>();

Package Sidebar

Install

npm i @commercetools-test-data/attribute

Weekly Downloads

7

Version

4.11.1

License

MIT

Unpacked Size

13.7 kB

Total Files

19

Last publish

Collaborators

  • commercetools-admin
  • emmenko
  • tdeekens