Files
medusa-store/packages/medusa/src/models/index.ts
Philip Korsholm 5d10c46bb1 feat(medusa): Separate money amount and variant (#4906)
* initial changes

* working test

* final changes to product tests

* update integration tests

* update price list integration tests

* update integration tests

* update unit tests

* update plugin integration tests

* remove catch from integration test

* undo change

* add andWhere

* update upsertCurrencyMoneyAmount method

* undo line item changes

* undo changes

* update deprecated method

* Update packages/medusa/src/migrations/1692953518123-drop_money_amount_constraints_for_pricing_module.ts

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>

* rename joinTable

* update with joinTable entity

* update load methods

* remove await create

* re-add context test

* update price list behavior for prices

* update price list snapshots

* re-add admin seeder

* pr feedback

* fix unit tests

* fix plugin integration tests

* initial review changes

* redo changes to variant creation

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-09-13 13:26:20 +02:00

80 lines
2.6 KiB
TypeScript

export * from "./address"
export * from "./analytics-config"
export * from "./batch-job"
export * from "./cart"
export * from "./claim-image"
export * from "./claim-item"
export * from "./claim-order"
export * from "./claim-tag"
export * from "./country"
export * from "./currency"
export * from "./custom-shipping-option"
export * from "./customer"
export * from "./customer-group"
export * from "./discount"
export * from "./discount-condition"
export * from "./discount-condition-customer-group"
export * from "./discount-condition-product"
export * from "./discount-condition-product-collection"
export * from "./discount-condition-product-tag"
export * from "./discount-condition-product-type"
export * from "./discount-rule"
export * from "./draft-order"
export * from "./fulfillment"
export * from "./fulfillment-item"
export * from "./fulfillment-provider"
export * from "./gift-card"
export * from "./gift-card-transaction"
export * from "./idempotency-key"
export * from "./image"
export * from "./invite"
export * from "./line-item"
export * from "./line-item-adjustment"
export * from "./line-item-tax-line"
export * from "./money-amount"
export * from "./note"
export * from "./notification"
export * from "./oauth"
export * from "./order"
export * from "./order-edit"
export * from "./order-item-change"
export * from "./payment"
export * from "./payment-collection"
export * from "./payment-provider"
export * from "./payment-session"
export * from "./price-list"
export * from "./product"
export * from "./product-category"
export * from "./product-collection"
export * from "./product-option"
export * from "./product-option-value"
export * from "./product-tag"
export * from "./product-tax-rate"
export * from "./product-type"
export * from "./product-type-tax-rate"
export * from "./product-variant"
export * from "./product-variant-inventory-item"
export * from "./product-variant-money-amount"
export * from "./publishable-api-key"
export * from "./publishable-api-key-sales-channel"
export * from "./refund"
export * from "./region"
export * from "./return"
export * from "./return-item"
export * from "./return-reason"
export * from "./sales-channel"
export * from "./sales-channel-location"
export * from "./shipping-method"
export * from "./shipping-method-tax-line"
export * from "./shipping-option"
export * from "./shipping-option-requirement"
export * from "./shipping-profile"
export * from "./shipping-tax-rate"
export * from "./staged-job"
export * from "./store"
export * from "./swap"
export * from "./tax-provider"
export * from "./tax-rate"
export * from "./tracking-link"
export * from "./user"