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

10.7.1 • Public • Published

@commercetools-test-data/type

This package provides data models for the commercetools platform Type representations.

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

Install

$ pnpm add -D @commercetools-test-data/type

Usage

import {
  Type,
  TypeDraft,
  type TType,
  type TypeDraft,
} from '@commercetools-test-data/type';

const type = Type.random().build<TType>();
const TypeDraft = TypeDraft.random().build<TTypeDraft>();

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @commercetools-test-data/type

    Weekly Downloads

    2,102

    Version

    10.7.1

    License

    MIT

    Unpacked Size

    101 kB

    Total Files

    79

    Last publish

    Collaborators

    • emmenko
    • commercetools-admin
    • tdeekens