@commercetools-test-data/organization
v10.7.1
Published
Data model for commercetools API Organization
Downloads
1,004
Readme
@commercetools-test-data/organization
This package provides the data model for Organization
and Team
.
Install
$ pnpm add -D @commercetools-test-data/organization
Usage
import {
Organization,
McOrganization,
Team,
type TOrganization,
type TMcOrganization,
type TTeam,
} from '@commercetools-test-data/organization';
const organization = Organization.random().buildGraphql<TOrganization>();
const mcOrganization = McOrganization.random().buildGraphql<TMcOrganization>();
const team = Team.random().buildGraphql<TTeam>();