@commercetools-test-data/product
Advanced tools
Comparing version 0.0.0-canary-20230427153638 to 0.0.0-canary-20230428194716
@@ -351,5 +351,3 @@ 'use strict'; | ||
exports.ProductCatalogData = index$1; | ||
exports.ProductCatalogDataDraft = index$1; | ||
exports.ProductData = index$2; | ||
exports.ProductDataDraft = index$2; | ||
exports.ProductDraft = index; | ||
exports.ProductDraft = index$3; |
@@ -351,5 +351,3 @@ 'use strict'; | ||
exports.ProductCatalogData = index$1; | ||
exports.ProductCatalogDataDraft = index$1; | ||
exports.ProductData = index$2; | ||
exports.ProductDataDraft = index$2; | ||
exports.ProductDraft = index; | ||
exports.ProductDraft = index$3; |
@@ -311,2 +311,2 @@ import { Generator, fake, oneOf, Transformer, Builder } from '@commercetools-test-data/core'; | ||
export { index as Product, index$1 as ProductCatalogData, index$1 as ProductCatalogDataDraft, index$2 as ProductData, index$2 as ProductDataDraft, index as ProductDraft }; | ||
export { index as Product, index$1 as ProductCatalogData, index$2 as ProductData, index$3 as ProductDraft }; |
@@ -5,6 +5,4 @@ export * from './product/types'; | ||
export * as Product from './product'; | ||
export * as ProductDraft from './product'; | ||
export * as ProductDraft from './product/product-draft'; | ||
export * as ProductCatalogData from './product-catalog-data'; | ||
export * as ProductCatalogDataDraft from './product-catalog-data'; | ||
export * as ProductData from './product-data'; | ||
export * as ProductDataDraft from './product-data'; |
{ | ||
"name": "@commercetools-test-data/product", | ||
"version": "0.0.0-canary-20230427153638", | ||
"version": "0.0.0-canary-20230428194716", | ||
"description": "Data models for commercetools API Product", | ||
@@ -32,11 +32,11 @@ "bugs": "https://github.com/commercetools/test-data/issues", | ||
"@commercetools/platform-sdk": "^4.0.0", | ||
"@commercetools-test-data/category": "0.0.0-canary-20230427153638", | ||
"@commercetools-test-data/commons": "0.0.0-canary-20230427153638", | ||
"@commercetools-test-data/core": "0.0.0-canary-20230427153638", | ||
"@commercetools-test-data/product-type": "0.0.0-canary-20230427153638", | ||
"@commercetools-test-data/product-variant": "0.0.0-canary-20230427153638", | ||
"@commercetools-test-data/tax-category": "0.0.0-canary-20230427153638", | ||
"@commercetools-test-data/utils": "0.0.0-canary-20230427153638", | ||
"@commercetools-test-data/category": "0.0.0-canary-20230428194716", | ||
"@commercetools-test-data/commons": "0.0.0-canary-20230428194716", | ||
"@commercetools-test-data/core": "0.0.0-canary-20230428194716", | ||
"@commercetools-test-data/product-type": "0.0.0-canary-20230428194716", | ||
"@commercetools-test-data/product-variant": "0.0.0-canary-20230428194716", | ||
"@commercetools-test-data/tax-category": "0.0.0-canary-20230428194716", | ||
"@commercetools-test-data/utils": "0.0.0-canary-20230428194716", | ||
"@faker-js/faker": "^7.4.0" | ||
} | ||
} |
@@ -10,3 +10,3 @@ # @commercetools-test-data/product | ||
```bash | ||
$ yarn add -D @commercetools-test-data/product | ||
$ pnpm add -D @commercetools-test-data/product | ||
``` | ||
@@ -16,13 +16,13 @@ | ||
## ProductType | ||
## Product | ||
```ts | ||
import type { TProduct, TProductDraft } from '@commercetools-test-data/product'; | ||
import { Product } from '@commercetools-test-data/product'; | ||
import { Product, ProductDraft } from '@commercetools-test-data/product'; | ||
const product = Product.random().build<TProduct>(); | ||
const productDraft = Product.ProductDraft.random().build<TProductDraft>(); | ||
const productDraft = ProductDraft.random().build<TProductDraft>(); | ||
``` | ||
## ProductCatalog | ||
## ProductData | ||
@@ -29,0 +29,0 @@ ```ts |
56883
1095
+ Added@commercetools-test-data/attribute-definition@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/attribute-type@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/category@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/cent-precision-money@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/commons@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/core@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/money@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/price@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/product-type@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/product-variant@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/tax-category@0.0.0-canary-20230428194716(transitive)
+ Added@commercetools-test-data/utils@0.0.0-canary-20230428194716(transitive)
- Removed@commercetools-test-data/attribute@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/attribute-definition@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/attribute-type@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/category@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/cent-precision-money@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/commons@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/core@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/image@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/money@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/price@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/product-type@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/product-variant@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/tax-category@0.0.0-canary-20230427153638(transitive)
- Removed@commercetools-test-data/utils@0.0.0-canary-20230427153638(transitive)
Updated@commercetools-test-data/category@0.0.0-canary-20230428194716
Updated@commercetools-test-data/commons@0.0.0-canary-20230428194716
Updated@commercetools-test-data/core@0.0.0-canary-20230428194716
Updated@commercetools-test-data/product-type@0.0.0-canary-20230428194716
Updated@commercetools-test-data/product-variant@0.0.0-canary-20230428194716
Updated@commercetools-test-data/tax-category@0.0.0-canary-20230428194716
Updated@commercetools-test-data/utils@0.0.0-canary-20230428194716