-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Breaking]: FCT-726 update exports for Reference and ReferenceDraft p…
…resets to simplify call syntax (#601) * fix: update exports for reference and referencedraft to simplify call syntax * fix: lockfile
- Loading branch information
1 parent
db45a66
commit 42e42c3
Showing
80 changed files
with
147 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
'@commercetools-test-data/inventory-entry': major | ||
'@commercetools-test-data/business-unit': major | ||
'@commercetools-test-data/quote-request': major | ||
'@commercetools-test-data/staged-quote': major | ||
'@commercetools-test-data/commons': major | ||
'@commercetools-test-data/payment': major | ||
'@commercetools-test-data/quote': major | ||
--- | ||
|
||
This breaking change updates the export method for Reference and ReferenceDraft presets to simplify the call syntax. Models that use these presets in their generators or transformers are also updated. | ||
|
||
Updating this package will require changes in your codebase. To migrate: | ||
|
||
- Replace any instance of `Reference.presets.<preset-name>.<preset-name>()` with `Reference.presets.<preset-name>()` | ||
- Replace any instance of `ReferenceDraft.presets.<preset-name>.<preset-name>()` with `ReferenceDraft.presets.<preset-name>()` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import associateRoleReference from './associate-role-reference'; | ||
|
||
const presets = { associateRoleReference }; | ||
|
||
export default presets; | ||
export { default } from './associate-role-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import attributeGroupReference from './attribute-group-reference'; | ||
|
||
const presets = { attributeGroupReference }; | ||
|
||
export default presets; | ||
export { default } from './attribute-group-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import businessUnitReference from './business-unit-reference'; | ||
|
||
const presets = { businessUnitReference }; | ||
|
||
export default presets; | ||
export { default } from './business-unit-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import cartDiscountReference from './cart-discount-reference'; | ||
|
||
const presets = { cartDiscountReference }; | ||
|
||
export default presets; | ||
export { default } from './cart-discount-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import cartReference from './cart-reference'; | ||
|
||
const presets = { cartReference }; | ||
|
||
export default presets; | ||
export { default } from './cart-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import categoryReference from './category-reference'; | ||
|
||
const presets = { categoryReference }; | ||
|
||
export default presets; | ||
export { default } from './category-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import channelReference from './channel-reference'; | ||
|
||
const presets = { channelReference }; | ||
|
||
export default presets; | ||
export { default } from './channel-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import customerGroupReference from './customer-group-reference'; | ||
|
||
const presets = { customerGroupReference }; | ||
|
||
export default presets; | ||
export { default } from './customer-group-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import customerReference from './customer-reference'; | ||
|
||
const presets = { customerReference }; | ||
|
||
export default presets; | ||
export { default } from './customer-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import directDiscountReference from './direct-discount-reference'; | ||
|
||
const presets = { directDiscountReference }; | ||
|
||
export default presets; | ||
export { default } from './direct-discount-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import discountCodeReference from './discount-code-reference'; | ||
|
||
const presets = { discountCodeReference }; | ||
|
||
export default presets; | ||
export { default } from './discount-code-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import extensionReference from './extension-reference'; | ||
|
||
const presets = { extensionReference }; | ||
|
||
export default presets; | ||
export { default } from './extension-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import inventoryEntryReference from './inventory-entry-reference'; | ||
|
||
const presets = { inventoryEntryReference }; | ||
|
||
export default presets; | ||
export { default } from './inventory-entry-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/presets/key-value-document/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import keyValueDocumentReference from './key-value-document-reference'; | ||
|
||
const presets = { keyValueDocumentReference }; | ||
|
||
export default presets; | ||
export { default } from './key-value-document-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import orderEditReference from './order-edit-reference'; | ||
|
||
const presets = { orderEditReference }; | ||
|
||
export default presets; | ||
export { default } from './order-edit-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import orderReference from './order-reference'; | ||
|
||
const presets = { orderReference }; | ||
|
||
export default presets; | ||
export { default } from './order-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import paymentReference from './payment-reference'; | ||
|
||
const presets = { paymentReference }; | ||
|
||
export default presets; | ||
export { default } from './payment-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/presets/product-discount/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import productDiscountReference from './product-discount-reference'; | ||
|
||
const presets = { productDiscountReference }; | ||
|
||
export default presets; | ||
export { default } from './product-discount-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import productPriceReference from './product-price-reference'; | ||
|
||
const presets = { productPriceReference }; | ||
|
||
export default presets; | ||
export { default } from './product-price-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/presets/product-selection/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import productSelectionReference from './product-selection-reference'; | ||
|
||
const presets = { productSelectionReference }; | ||
|
||
export default presets; | ||
export { default } from './product-selection-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import productTypeReference from './product-type-reference'; | ||
|
||
const presets = { productTypeReference }; | ||
|
||
export default presets; | ||
export { default } from './product-type-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import productReference from './product-reference'; | ||
|
||
const presets = { productReference }; | ||
|
||
export default presets; | ||
export { default } from './product-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import quoteRequestReference from './quote-request-reference'; | ||
|
||
const presets = { quoteRequestReference }; | ||
|
||
export default presets; | ||
export { default } from './quote-request-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import quoteReference from './quote-reference'; | ||
|
||
const presets = { quoteReference }; | ||
|
||
export default presets; | ||
export { default } from './quote-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import reviewReference from './review-reference'; | ||
|
||
const presets = { reviewReference }; | ||
|
||
export default presets; | ||
export { default } from './review-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import shippingMethodReference from './shipping-method-reference'; | ||
|
||
const presets = { shippingMethodReference }; | ||
|
||
export default presets; | ||
export { default } from './shipping-method-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import shoppingListReference from './shopping-list-reference'; | ||
|
||
const presets = { shoppingListReference }; | ||
|
||
export default presets; | ||
export { default } from './shopping-list-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import stagedQuoteReference from './staged-quote-reference'; | ||
|
||
const presets = { stagedQuoteReference }; | ||
|
||
export default presets; | ||
export { default } from './staged-quote-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/presets/standalone-price/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import standalonePriceReference from './standalone-price-reference'; | ||
|
||
const presets = { standalonePriceReference }; | ||
|
||
export default presets; | ||
export { default } from './standalone-price-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import stateReference from './state-reference'; | ||
|
||
const presets = { stateReference }; | ||
|
||
export default presets; | ||
export { default } from './state-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import storeReference from './store-reference'; | ||
|
||
const presets = { storeReference }; | ||
|
||
export default presets; | ||
export { default } from './store-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import subscriptionReference from './subscription-reference'; | ||
|
||
const presets = { subscriptionReference }; | ||
|
||
export default presets; | ||
export { default } from './subscription-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import taxCategoryReference from './tax-category-reference'; | ||
|
||
const presets = { taxCategoryReference }; | ||
|
||
export default presets; | ||
export { default } from './tax-category-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import typeReference from './type-reference'; | ||
|
||
const presets = { typeReference }; | ||
|
||
export default presets; | ||
export { default } from './type-reference'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import zoneReference from './zone-reference'; | ||
|
||
const presets = { zoneReference }; | ||
|
||
export default presets; | ||
export { default } from './zone-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/associate-role/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import associateRoleReference from './associate-role-reference'; | ||
|
||
const presets = { associateRoleReference }; | ||
|
||
export default presets; | ||
export { default } from './associate-role-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/attribute-group/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import attributeGroupReference from './attribute-group-reference'; | ||
|
||
const presets = { attributeGroupReference }; | ||
|
||
export default presets; | ||
export { default } from './attribute-group-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/business-unit/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import businessUnitReference from './business-unit-reference'; | ||
|
||
const presets = { businessUnitReference }; | ||
|
||
export default presets; | ||
export { default } from './business-unit-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/cart-discount/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import cartDiscountReference from './cart-discount-reference'; | ||
|
||
const presets = { cartDiscountReference }; | ||
|
||
export default presets; | ||
export { default } from './cart-discount-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/cart/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import cartReference from './cart-reference'; | ||
|
||
const presets = { cartReference }; | ||
|
||
export default presets; | ||
export { default } from './cart-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/category/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import categoryReference from './category-reference'; | ||
|
||
const presets = { categoryReference }; | ||
|
||
export default presets; | ||
export { default } from './category-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/channel/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import channelReference from './channel-reference'; | ||
|
||
const presets = { channelReference }; | ||
|
||
export default presets; | ||
export { default } from './channel-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/customer-group/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import customerGroupReference from './customer-group-reference'; | ||
|
||
const presets = { customerGroupReference }; | ||
|
||
export default presets; | ||
export { default } from './customer-group-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/customer/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import customerReference from './customer-reference'; | ||
|
||
const presets = { customerReference }; | ||
|
||
export default presets; | ||
export { default } from './customer-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/direct-discount/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import directDiscountReference from './direct-discount-reference'; | ||
|
||
const presets = { directDiscountReference }; | ||
|
||
export default presets; | ||
export { default } from './direct-discount-reference'; |
6 changes: 1 addition & 5 deletions
6
models/commons/src/reference/reference-draft/presets/discount-code/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
import discountCodeReference from './discount-code-reference'; | ||
|
||
const presets = { discountCodeReference }; | ||
|
||
export default presets; | ||
export { default } from './discount-code-reference'; |
Oops, something went wrong.