@commercetools-test-data/store
v10.11.2
Published
Data models for commercetools Store representations
Downloads
11,615
Readme
@commercetools-test-data/store
This package provides the data models for the commercetools platform Store
representations
https://docs.commercetools.com/api/projects/stores#representations
Install
$ pnpm add -D @commercetools-test-data/store
Usage
ProductSelectionSetting
import {
ProductSelectionSetting,
ProductSelectionSettingDraft,
type TProductSelectionSetting,
type TProductSelectionSettingDraft,
} from '@commercetools-test-data/store';
const productSelectionSetting =
ProductSelectionSetting.random().build<TProductSelectionSetting>();
const productSelectionSettingDraft =
ProductSelectionSettingDraft.random().build<TProductSelectionSettingDraft>();
Store
import {
Store,
StoreDraft,
type TStore,
type TStoreDraft,
} from '@commercetools-test-data/store';
const store = Store.random().build<TStore>();
const storeDraft = Store.random().build<TStoreDraft>();