@commercetools-test-data/custom-view
v10.7.0
Published
Data model for internal Merchan Center API Custom View
Downloads
8,453
Readme
@commercetools-test-data/custom-view
This package provides the data model for the commercetools internal API CustomView
type
Install
$ pnpm add -D @commercetools-test-data/custom-view
Usage
import {
CustomView,
CustomViewDraft,
type TCustomViewGraphql,
type TCustomViewDraftGraphql,
} from '@commercetools-test-data/custom-view';
const customView = CustomView.random().buildGraphql<TCustomViewGraphql>();
const customViewDraft =
CustomViewDraft.random().buildGraphql<TCustomViewDraftGraphql>();