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

9.0.0 • Public • Published

@commercetools-test-data/shopping-list

This package provides data models for the commercetools platform Shopping List representations.

https://docs.commercetools.com/api/projects/shoppingLists#representations

Install

$ pnpm add -D @commercetools-test-data/shopping-list

Usage

import {
  ShoppingList,
  ShoppingListDraft,
  type TShoppingList,
  type TShoppingListDraft,
} from '@commercetools-test-data/shopping-list';

const shoppingList = ShoppingList.random().build<TShoppingList>();
const shoppingListDraft =
  ShoppingListDraft.random().build<TShoppingListDraft>();

Package Sidebar

Install

npm i @commercetools-test-data/shopping-list

Weekly Downloads

652

Version

9.0.0

License

MIT

Unpacked Size

16.2 kB

Total Files

15

Last publish

Collaborators

  • emmenko
  • commercetools-admin
  • tdeekens