Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/wicked-shoes-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools/composable-commerce-test-data': patch
---

We've moved the `Cart` and `CartDiscount` models directories within the repository for better readability. This does not imply any change from the consumers side.
2 changes: 1 addition & 1 deletion standalone/src/cart-discount.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './models/cart-discount';
export * from './models/cart/cart-discount';
2 changes: 1 addition & 1 deletion standalone/src/cart.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './models/cart';
export * from './models/cart/cart';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CartDiscountCustomLineItemsTarget } from '@commercetools/platform-sdk';
import { TCtpCustomLineItemsTarget } from '../../../graphql-types';
import { TCtpCustomLineItemsTarget } from '@/graphql-types';

export type TCartDiscountCustomLineItemsTargetRest =
CartDiscountCustomLineItemsTarget;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LocalizedStringDraft } from '../../../../../commons';
import { LocalizedStringDraft } from '../../../../../../commons';
import {
CartDiscountShippingCostTargetDraft,
CartDiscountValueRelativeDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CategoryDraft, type TCategoryDraft } from '../../../../../category';
import { LocalizedStringDraft } from '../../../../../commons';
import { CategoryDraft, type TCategoryDraft } from '../../../../../../category';
import { LocalizedStringDraft } from '../../../../../../commons';
import {
CartDiscountMultiBuyLineItemsTargetDraft,
CartDiscountValueRelativeDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LocalizedStringDraft } from '../../../../../commons';
import { LocalizedStringDraft } from '../../../../../../commons';
import {
CartDiscountShippingCostTargetDraft,
CartDiscountValueRelativeDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { LocalizedStringDraft } from '../../../../../commons';
import { LocalizedStringDraft } from '../../../../../../commons';
import {
ProductTypeDraft,
TProductTypeDraft,
} from '../../../../../product-type';
} from '../../../../../../product-type';
import {
CartDiscountMultiBuyLineItemsTargetDraft,
CartDiscountValueRelativeDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { LocalizedStringDraft } from '../../../../../commons';
import { LocalizedStringDraft } from '../../../../../../commons';
import {
CustomerGroupDraft,
TCustomerGroupDraft,
} from '../../../../../customer-group';
} from '../../../../../../customer-group';
import {
CartDiscountLineItemsTargetDraft,
CartDiscountValueRelativeDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LocalizedStringDraft } from '../../../../../commons';
import { LocalizedStringDraft } from '../../../../../../commons';
import {
CartDiscountShippingCostTargetDraft,
CartDiscountValueRelativeDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { LocalizedStringDraft, MoneyDraft } from '../../../../../commons';
import { LocalizedStringDraft, MoneyDraft } from '../../../../../../commons';
import {
CustomerGroupDraft,
TCustomerGroupDraft,
} from '../../../../../customer-group';
} from '../../../../../../customer-group';
import {
CartDiscountLineItemsTargetDraft,
CartDiscountValueAbsoluteDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CategoryDraft, TCategoryDraft } from '../../../../../category';
import { LocalizedStringDraft } from '../../../../../commons';
import { CategoryDraft, TCategoryDraft } from '../../../../../../category';
import { LocalizedStringDraft } from '../../../../../../commons';
import {
CartDiscountLineItemsTargetDraft,
CartDiscountValueRelativeDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { LocalizedStringDraft } from '../../../../../commons';
import { LocalizedStringDraft } from '../../../../../../commons';
import {
ProductTypeDraft,
TProductTypeDraft,
} from '../../../../../product-type';
} from '../../../../../../product-type';
import {
CartDiscountMultiBuyLineItemsTargetDraft,
CartDiscountValueRelativeDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MoneyDraft, LocalizedStringDraft } from '../../../../../commons';
import { MoneyDraft, LocalizedStringDraft } from '../../../../../../commons';
import {
CartDiscountLineItemsTargetDraft,
CartDiscountValueFixedDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LocalizedStringDraft } from '../../../../../commons';
import { LocalizedStringDraft } from '../../../../../../commons';
import {
CartDiscountLineItemsTargetDraft,
CartDiscountValueRelativeDraft,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
LocalizedStringDraft,
KeyReferenceDraft,
} from '../../../../../commons';
} from '../../../../../../commons';
import { CartDiscountValueGiftLineItemDraft } from '../../../../index';
import { stackingMode } from '../../../constants';
import type { TCartDiscountDraftBuilder } from '../../../types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
import type { TBuilder } from '../../../../../../core';
import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit';
import {
ChannelDraftRest,
type TChannelDraftRest,
} from '../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../customer';
import { TBuilder } from '@/core';
import { CompanyDraft, type TCompanyDraft } from '@/models/business-unit';
import { ChannelDraftRest, type TChannelDraftRest } from '@/models/channel';
import { AddressDraft, KeyReferenceDraft } from '@/models/commons';
import { CustomerDraft, type TCustomerDraft } from '@/models/customer';
import {
ProductVariantDraft,
type TProductVariantDraft,
} from '../../../../../product';
} from '@/models/product';
import {
ShippingMethodDraft,
type TShippingMethodDraft,
} from '../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../store';
} from '@/models/shipping-method';
import { StoreDraft, type TStoreDraft } from '@/models/store';
import { LineItemDraft } from '../../../../index';
import { inventoryMode, origin } from '../../../constants';
import type {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
import type { TBuilder } from '../../../../../../core';
import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit';
import {
ChannelDraftRest,
type TChannelDraftRest,
} from '../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../customer';
import type { TBuilder } from '@/core';
import { CompanyDraft, type TCompanyDraft } from '@/models/business-unit';
import { ChannelDraftRest, type TChannelDraftRest } from '@/models/channel';
import { AddressDraft, KeyReferenceDraft } from '@/models/commons';
import { CustomerDraft, type TCustomerDraft } from '@/models/customer';
import {
ProductVariantDraft,
type TProductVariantDraft,
} from '../../../../../product';
} from '@/models/product';
import {
ShippingMethodDraft,
type TShippingMethodDraft,
} from '../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../store';
} from '@/models/shipping-method';
import { StoreDraft, type TStoreDraft } from '@/models/store';
import { LineItemDraft } from '../../../../index';
import { inventoryMode, origin } from '../../../constants';
import type {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
import type { TBuilder } from '../../../../../../core';
import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit';
import type { TBuilder } from '../../../../../../../core';
import {
CompanyDraft,
type TCompanyDraft,
} from '../../../../../../business-unit';
import {
ChannelDraftRest,
type TChannelDraftRest,
} from '../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../customer';
} from '../../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer';
import {
ProductVariantDraft,
type TProductVariantDraft,
} from '../../../../../product';
} from '../../../../../../product';
import {
ShippingMethodDraft,
type TShippingMethodDraft,
} from '../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../store';
} from '../../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../../store';
import { LineItemDraft } from '../../../../index';
import { inventoryMode, origin } from '../../../constants';
import type {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
import type { TBuilder } from '../../../../../../core';
import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit';
import type { TBuilder } from '../../../../../../../core';
import {
CompanyDraft,
type TCompanyDraft,
} from '../../../../../../business-unit';
import {
ChannelDraftRest,
type TChannelDraftRest,
} from '../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../customer';
} from '../../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer';
import {
ProductVariantDraft,
type TProductVariantDraft,
} from '../../../../../product';
} from '../../../../../../product';
import {
ShippingMethodDraft,
type TShippingMethodDraft,
} from '../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../store';
} from '../../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../../store';
import { LineItemDraft } from '../../../../index';
import { inventoryMode, origin } from '../../../constants';
import type {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
import type { TBuilder } from '../../../../../../core';
import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit';
import type { TBuilder } from '../../../../../../../core';
import {
CompanyDraft,
type TCompanyDraft,
} from '../../../../../../business-unit';
import {
ChannelDraftRest,
type TChannelDraftRest,
} from '../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../customer';
} from '../../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer';
import {
ProductVariantDraft,
type TProductVariantDraft,
} from '../../../../../product';
} from '../../../../../../product';
import {
ShippingMethodDraft,
type TShippingMethodDraft,
} from '../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../store';
} from '../../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../../store';
import { LineItemDraft } from '../../../../index';
import { inventoryMode, origin } from '../../../constants';
import type {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
import type { TBuilder } from '../../../../../../core';
import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit';
import type { TBuilder } from '../../../../../../../core';
import {
CompanyDraft,
type TCompanyDraft,
} from '../../../../../../business-unit';
import {
ChannelDraftRest,
type TChannelDraftRest,
} from '../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../customer';
} from '../../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer';
import {
ProductVariantDraft,
type TProductVariantDraft,
} from '../../../../../product';
} from '../../../../../../product';
import {
ShippingMethodDraft,
type TShippingMethodDraft,
} from '../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../store';
} from '../../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../../store';
import { LineItemDraft } from '../../../../index';
import { inventoryMode, origin } from '../../../constants';
import type {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import type { TBuilder } from '../../../../../../core';
import type { TBuilder } from '../../../../../../../core';
import {
DivisionDraft,
type TDivisionDraft,
} from '../../../../../business-unit';
} from '../../../../../../business-unit';
import {
ChannelDraftRest,
type TChannelDraftRest,
} from '../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../customer';
} from '../../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer';
import {
ProductVariantDraft,
type TProductVariantDraft,
} from '../../../../../product';
} from '../../../../../../product';
import {
ShippingMethodDraft,
type TShippingMethodDraft,
} from '../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../store';
} from '../../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../../store';
import { LineItemDraft } from '../../../../index';
import { inventoryMode, origin } from '../../../constants';
import type {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import type { TBuilder } from '../../../../../../core';
import type { TBuilder } from '../../../../../../../core';
import {
DivisionDraft,
type TDivisionDraft,
} from '../../../../../business-unit';
} from '../../../../../../business-unit';
import {
ChannelDraftRest,
type TChannelDraftRest,
} from '../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../customer';
} from '../../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer';
import {
ProductVariantDraft,
type TProductVariantDraft,
} from '../../../../../product';
} from '../../../../../../product';
import {
ShippingMethodDraft,
type TShippingMethodDraft,
} from '../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../store';
} from '../../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../../store';
import { LineItemDraft } from '../../../../index';
import { inventoryMode, origin } from '../../../constants';
import type {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import type { TBuilder } from '../../../../../../core';
import type { TBuilder } from '../../../../../../../core';
import {
DivisionDraft,
type TDivisionDraft,
} from '../../../../../business-unit';
} from '../../../../../../business-unit';
import {
ChannelDraftRest,
type TChannelDraftRest,
} from '../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../customer';
} from '../../../../../../channel';
import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons';
import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer';
import {
ProductVariantDraft,
type TProductVariantDraft,
} from '../../../../../product';
} from '../../../../../../product';
import {
ShippingMethodDraft,
type TShippingMethodDraft,
} from '../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../store';
} from '../../../../../../shipping-method';
import { StoreDraft, type TStoreDraft } from '../../../../../../store';
import { LineItemDraft } from '../../../../index';
import { inventoryMode, origin } from '../../../constants';
import type {
Expand Down
Loading
Loading