@ commercialtools- test-data/ sone (中文(简体) )
此软件包为商务工具平台提供数据模型 Zone 说明.
https://docs.com/api/ projects/zones (中文(简体) )
安装
$ pnpm add -D @commercetools-test-data/zone
使用量
地点
import { Location, type TLocation } from '@commercetools-test-data/zone';
const location = Location.random().build<TLocation>();
区
import {
Zone,
ZoneDraft,
type TZone,
type TZoneDraft,
} from '@commercetools-test-data/zone';
const zone = Zone.random().build<TZone>();
const zoneDraft = Zone.ZoneDraft.random().build<TZoneDraft>();