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

10.9.3 • Public • Published

@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>();

Package Sidebar

Install

npm i @commercetools-test-data/state

Weekly Downloads

1,506

Version

10.9.3

License

MIT

Unpacked Size

27.2 kB

Total Files

16

Last publish

Collaborators

  • emmenko
  • commercetools-admin
  • tdeekens