@commercetools-test-data/state
v10.7.1
Published
Data model for commercetools API State
Downloads
6,723
Readme
@commercetools-test-data/state
This package provides data models for the commercetools platform State
representations.
https://docs.commercetools.com/api/projects/states#representations
Install
$ pnpm add -D @commercetools-test-data/state
Usage
import {
State,
StateDraft,
type TState,
type TStateDraft,
} from '@commercetools-test-data/state';
const state = State.random().build<TState>();
const StateDraft = StateDraft.random().build<TStateDraft>();