diff --git a/.changeset/new-facts-build.md b/.changeset/new-facts-build.md new file mode 100644 index 0000000000..a418821374 --- /dev/null +++ b/.changeset/new-facts-build.md @@ -0,0 +1,5 @@ +--- +'@commercetools/composable-commerce-test-data': patch +--- + +Export staged types from the standalone-price entry point. TStagedStandalonePrice, TStagedStandalonePriceBuilder, TStagedPriceDraft, TStagedPriceDraftBuilder and related types are now re-exported from @commercetools/composable-commerce-test-data/standalone-price. diff --git a/standalone/src/core/@jackfranklin/test-data-bot/index.ts b/standalone/src/core/@jackfranklin/test-data-bot/index.ts index 6a84dfd22e..eb196fc984 100644 --- a/standalone/src/core/@jackfranklin/test-data-bot/index.ts +++ b/standalone/src/core/@jackfranklin/test-data-bot/index.ts @@ -1,6 +1,5 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ -import type { Faker } from '@faker-js/faker'; -import { faker } from '@faker-js/faker'; +import { faker, type Faker } from '@faker-js/faker'; import mapValues from 'lodash/mapValues'; export type SequenceFunction = (counter: number) => unknown; diff --git a/standalone/src/models/standalone-price/index.ts b/standalone/src/models/standalone-price/index.ts index 3c13849778..430fcbb44f 100644 --- a/standalone/src/models/standalone-price/index.ts +++ b/standalone/src/models/standalone-price/index.ts @@ -6,3 +6,5 @@ export * as StandalonePrice from '.'; export { default as random } from './builder'; export { default as presets } from './presets'; export * from './types'; +export * from './staged-standalone-price/types'; +export * from './staged-price-draft/types';