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

10.7.0 • Public • Published

@commercetools-test-data/inventory-entry

This package provides the data model for the commercetools platform InventoryEntry type

https://docs.commercetools.com/api/projects/inventory#inventoryentry

Install

$ yarn add -D @commercetools-test-data/inventory-entry

Usage

import type {
  TInventoryEntry,
  TInventoryEntryDraft,
} from '@commercetools-test-data/inventory-entry';
import * as InventoryEntry from '@commercetools-test-data/inventory-entry';

const inventoryEntry = InventoryEntry.random().build<TInventoryEntry>();
const inventoryEntryDraft =
  InventoryEntry.InventoryEntryDraft.random().build<TInventoryEntryDraft>();

Package Sidebar

Install

npm i @commercetools-test-data/inventory-entry

Weekly Downloads

1,252

Version

10.7.0

License

MIT

Unpacked Size

910 kB

Total Files

15

Last publish

Collaborators

  • emmenko
  • commercetools-admin
  • tdeekens