@medusajs/types 3.0.0-snapshot-20250410105645 → 3.0.0-snapshot-20251104004624
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics/index.d.ts +5 -0
- package/dist/analytics/index.d.ts.map +1 -0
- package/dist/analytics/index.js +21 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/analytics/mutations.d.ts +71 -0
- package/dist/analytics/mutations.d.ts.map +1 -0
- package/dist/{index-data/sotrage-provider.js → analytics/mutations.js} +1 -1
- package/dist/analytics/mutations.js.map +1 -0
- package/dist/analytics/provider.d.ts +41 -0
- package/dist/analytics/provider.d.ts.map +1 -0
- package/dist/analytics/provider.js +3 -0
- package/dist/analytics/provider.js.map +1 -0
- package/dist/analytics/providers/index.d.ts +3 -0
- package/dist/analytics/providers/index.d.ts.map +1 -0
- package/dist/analytics/providers/index.js +19 -0
- package/dist/analytics/providers/index.js.map +1 -0
- package/dist/analytics/providers/local.d.ts +3 -0
- package/dist/analytics/providers/local.d.ts.map +1 -0
- package/dist/analytics/providers/local.js +3 -0
- package/dist/analytics/providers/local.js.map +1 -0
- package/dist/analytics/providers/posthog.d.ts +11 -0
- package/dist/analytics/providers/posthog.d.ts.map +1 -0
- package/dist/analytics/providers/posthog.js +3 -0
- package/dist/analytics/providers/posthog.js.map +1 -0
- package/dist/analytics/service.d.ts +51 -0
- package/dist/analytics/service.d.ts.map +1 -0
- package/dist/analytics/service.js +3 -0
- package/dist/analytics/service.js.map +1 -0
- package/dist/auth/provider.d.ts +1 -7
- package/dist/auth/provider.d.ts.map +1 -1
- package/dist/auth/service.d.ts +50 -0
- package/dist/auth/service.d.ts.map +1 -1
- package/dist/bundles.d.ts +3 -0
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +21 -8
- package/dist/bundles.js.map +1 -1
- package/dist/caching/index.d.ts +532 -0
- package/dist/caching/index.d.ts.map +1 -0
- package/dist/caching/index.js +3 -0
- package/dist/caching/index.js.map +1 -0
- package/dist/cart/common.d.ts +5 -1
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/cart/mutations.d.ts +5 -1
- package/dist/cart/mutations.d.ts.map +1 -1
- package/dist/cart/mutations.js.map +1 -1
- package/dist/cart/service.d.ts +70 -0
- package/dist/cart/service.d.ts.map +1 -1
- package/dist/cart/workflows.d.ts +25 -1
- package/dist/cart/workflows.d.ts.map +1 -1
- package/dist/common/common.d.ts +10 -0
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-file.d.ts +8 -0
- package/dist/common/config-file.d.ts.map +1 -0
- package/dist/common/config-file.js +3 -0
- package/dist/common/config-file.js.map +1 -0
- package/dist/common/config-module.d.ts +230 -70
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/common/index.d.ts +1 -0
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +1 -0
- package/dist/common/index.js.map +1 -1
- package/dist/common/medusa-container.d.ts +1 -1
- package/dist/common/medusa-container.d.ts.map +1 -1
- package/dist/customer/common.d.ts +2 -2
- package/dist/customer/mutations.d.ts +2 -2
- package/dist/customer/service.d.ts +56 -0
- package/dist/customer/service.d.ts.map +1 -1
- package/dist/dal/index.d.ts +1 -1
- package/dist/dal/index.d.ts.map +1 -1
- package/dist/dal/repository-service.d.ts +1 -1
- package/dist/dal/repository-service.d.ts.map +1 -1
- package/dist/event-bus/common.d.ts +4 -0
- package/dist/event-bus/common.d.ts.map +1 -1
- package/dist/event-bus/event-bus-module.d.ts +32 -2
- package/dist/event-bus/event-bus-module.d.ts.map +1 -1
- package/dist/file/common.d.ts +19 -0
- package/dist/file/common.d.ts.map +1 -1
- package/dist/file/mutations.d.ts +17 -2
- package/dist/file/mutations.d.ts.map +1 -1
- package/dist/file/provider.d.ts +67 -5
- package/dist/file/provider.d.ts.map +1 -1
- package/dist/file/service.d.ts +80 -9
- package/dist/file/service.d.ts.map +1 -1
- package/dist/fulfillment/common/address.d.ts +1 -1
- package/dist/fulfillment/common/geo-zone.d.ts +2 -2
- package/dist/fulfillment/common/order.d.ts +1 -1
- package/dist/fulfillment/common/shipping-option.d.ts +1 -1
- package/dist/fulfillment/mutations/fulfillment-address.d.ts +1 -1
- package/dist/fulfillment/mutations/geo-zone.d.ts +6 -6
- package/dist/fulfillment/mutations/shipping-option-type.d.ts +7 -6
- package/dist/fulfillment/mutations/shipping-option-type.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts +2 -2
- package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
- package/dist/fulfillment/provider.d.ts +1 -0
- package/dist/fulfillment/provider.d.ts.map +1 -1
- package/dist/fulfillment/service.d.ts +325 -3
- package/dist/fulfillment/service.d.ts.map +1 -1
- package/dist/fulfillment/workflows.d.ts +26 -0
- package/dist/fulfillment/workflows.d.ts.map +1 -1
- package/dist/http/api-key/admin/payloads.d.ts +3 -0
- package/dist/http/api-key/admin/payloads.d.ts.map +1 -1
- package/dist/http/campaign/admin/payloads.d.ts +16 -31
- package/dist/http/campaign/admin/payloads.d.ts.map +1 -1
- package/dist/http/campaign/admin/responses.d.ts +10 -0
- package/dist/http/campaign/admin/responses.d.ts.map +1 -1
- package/dist/http/cart/common.d.ts +58 -20
- package/dist/http/cart/common.d.ts.map +1 -1
- package/dist/http/cart/store/payloads.d.ts +3 -1
- package/dist/http/cart/store/payloads.d.ts.map +1 -1
- package/dist/http/claim/admin/payloads.d.ts +6 -2
- package/dist/http/claim/admin/payloads.d.ts.map +1 -1
- package/dist/http/claim/admin/queries.d.ts +37 -0
- package/dist/http/claim/admin/queries.d.ts.map +1 -1
- package/dist/http/collection/store/queries.d.ts +4 -2
- package/dist/http/collection/store/queries.d.ts.map +1 -1
- package/dist/http/common/request.d.ts +4 -0
- package/dist/http/common/request.d.ts.map +1 -1
- package/dist/http/common/response.d.ts +7 -0
- package/dist/http/common/response.d.ts.map +1 -1
- package/dist/http/customer/admin/queries.d.ts +2 -1
- package/dist/http/customer/admin/queries.d.ts.map +1 -1
- package/dist/http/customer/common.d.ts +4 -4
- package/dist/http/exchange/admin/payloads.d.ts +48 -20
- package/dist/http/exchange/admin/payloads.d.ts.map +1 -1
- package/dist/http/exchange/admin/payloads.js +0 -7
- package/dist/http/exchange/admin/payloads.js.map +1 -1
- package/dist/http/exchange/admin/queries.d.ts +42 -2
- package/dist/http/exchange/admin/queries.d.ts.map +1 -1
- package/dist/http/file/admin/payloads.d.ts +18 -0
- package/dist/http/file/admin/payloads.d.ts.map +1 -1
- package/dist/http/file/admin/responses.d.ts +27 -0
- package/dist/http/file/admin/responses.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/entitites.d.ts +1 -1
- package/dist/http/fulfillment/admin/index.d.ts +0 -1
- package/dist/http/fulfillment/admin/index.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/index.js +0 -1
- package/dist/http/fulfillment/admin/index.js.map +1 -1
- package/dist/http/fulfillment/admin/payloads.d.ts +1 -1
- package/dist/http/fulfillment/store/index.d.ts +99 -0
- package/dist/http/fulfillment/store/index.d.ts.map +1 -1
- package/dist/http/fulfillment-provider/admin/queries.d.ts +1 -1
- package/dist/http/fulfillment-set/admin/entities.d.ts +1 -1
- package/dist/http/fulfillment-set/admin/index.d.ts +1 -0
- package/dist/http/fulfillment-set/admin/index.d.ts.map +1 -1
- package/dist/http/fulfillment-set/admin/index.js +1 -0
- package/dist/http/fulfillment-set/admin/index.js.map +1 -1
- package/dist/http/fulfillment-set/admin/payloads.d.ts +6 -6
- package/dist/http/index/admin/payload.d.ts +4 -0
- package/dist/http/index/admin/payload.d.ts.map +1 -0
- package/dist/http/index/admin/payload.js +3 -0
- package/dist/http/index/admin/payload.js.map +1 -0
- package/dist/http/index/admin/responses.d.ts +5 -0
- package/dist/http/index/admin/responses.d.ts.map +1 -0
- package/dist/http/index/admin/responses.js +3 -0
- package/dist/http/index/admin/responses.js.map +1 -0
- package/dist/http/index/index.d.ts +3 -0
- package/dist/http/index/index.d.ts.map +1 -0
- package/dist/http/index/index.js +19 -0
- package/dist/http/index/index.js.map +1 -0
- package/dist/http/index.d.ts +4 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +4 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/inventory/admin/queries.d.ts +1 -1
- package/dist/http/inventory/admin/queries.d.ts.map +1 -1
- package/dist/http/order/admin/payload.d.ts +28 -1
- package/dist/http/order/admin/payload.d.ts.map +1 -1
- package/dist/http/order/admin/queries.d.ts +24 -8
- package/dist/http/order/admin/queries.d.ts.map +1 -1
- package/dist/http/order/common.d.ts +18 -2
- package/dist/http/order/common.d.ts.map +1 -1
- package/dist/http/payment/admin/entities.d.ts +1 -3
- package/dist/http/payment/admin/entities.d.ts.map +1 -1
- package/dist/http/payment/admin/payloads.d.ts +4 -9
- package/dist/http/payment/admin/payloads.d.ts.map +1 -1
- package/dist/http/payment/admin/queries.d.ts +1 -1
- package/dist/http/payment/admin/queries.d.ts.map +1 -1
- package/dist/http/payment/admin/responses.d.ts +2 -2
- package/dist/http/payment/admin/responses.d.ts.map +1 -1
- package/dist/http/payment/common.d.ts +2 -27
- package/dist/http/payment/common.d.ts.map +1 -1
- package/dist/http/payment/store/queries.d.ts +2 -1
- package/dist/http/payment/store/queries.d.ts.map +1 -1
- package/dist/http/price-list/admin/payloads.d.ts +3 -3
- package/dist/http/price-list/admin/payloads.d.ts.map +1 -1
- package/dist/http/product/admin/entitites.d.ts +16 -0
- package/dist/http/product/admin/entitites.d.ts.map +1 -1
- package/dist/http/product/admin/payloads.d.ts +67 -0
- package/dist/http/product/admin/payloads.d.ts.map +1 -1
- package/dist/http/product/admin/queries.d.ts +25 -1
- package/dist/http/product/admin/queries.d.ts.map +1 -1
- package/dist/http/product/admin/responses.d.ts +22 -0
- package/dist/http/product/admin/responses.d.ts.map +1 -1
- package/dist/http/product/common.d.ts +5 -1
- package/dist/http/product/common.d.ts.map +1 -1
- package/dist/http/product/store/queries.d.ts +3 -3
- package/dist/http/product/store/queries.d.ts.map +1 -1
- package/dist/http/product/store/responses.d.ts +13 -1
- package/dist/http/product/store/responses.d.ts.map +1 -1
- package/dist/http/promotion/admin/payloads.d.ts +8 -0
- package/dist/http/promotion/admin/payloads.d.ts.map +1 -1
- package/dist/http/promotion/admin/queries.d.ts +34 -5
- package/dist/http/promotion/admin/queries.d.ts.map +1 -1
- package/dist/http/promotion/common.d.ts +1 -0
- package/dist/http/promotion/common.d.ts.map +1 -1
- package/dist/http/refund-reason/admin/entities.d.ts +4 -0
- package/dist/http/refund-reason/admin/entities.d.ts.map +1 -0
- package/dist/http/refund-reason/admin/entities.js +3 -0
- package/dist/http/refund-reason/admin/entities.js.map +1 -0
- package/dist/http/refund-reason/admin/index.d.ts +5 -0
- package/dist/http/refund-reason/admin/index.d.ts.map +1 -0
- package/dist/http/refund-reason/admin/index.js +21 -0
- package/dist/http/refund-reason/admin/index.js.map +1 -0
- package/dist/http/refund-reason/admin/payloads.d.ts +30 -0
- package/dist/http/refund-reason/admin/payloads.d.ts.map +1 -0
- package/dist/http/refund-reason/admin/payloads.js +3 -0
- package/dist/http/refund-reason/admin/payloads.js.map +1 -0
- package/dist/http/refund-reason/admin/queries.d.ts +8 -0
- package/dist/http/refund-reason/admin/queries.d.ts.map +1 -0
- package/dist/http/refund-reason/admin/queries.js.map +1 -0
- package/dist/http/refund-reason/admin/responses.d.ts +18 -0
- package/dist/http/refund-reason/admin/responses.d.ts.map +1 -0
- package/dist/http/refund-reason/admin/responses.js +3 -0
- package/dist/http/refund-reason/admin/responses.js.map +1 -0
- package/dist/http/refund-reason/common.d.ts +65 -0
- package/dist/http/refund-reason/common.d.ts.map +1 -0
- package/dist/http/refund-reason/common.js +3 -0
- package/dist/http/refund-reason/common.js.map +1 -0
- package/dist/http/refund-reason/index.d.ts +2 -0
- package/dist/http/refund-reason/index.d.ts.map +1 -0
- package/dist/http/refund-reason/index.js +18 -0
- package/dist/http/refund-reason/index.js.map +1 -0
- package/dist/http/region/store/queries.d.ts +2 -1
- package/dist/http/region/store/queries.d.ts.map +1 -1
- package/dist/http/reservation/admin/queries.d.ts +8 -8
- package/dist/http/reservation/admin/queries.d.ts.map +1 -1
- package/dist/http/return/admin/payloads.d.ts +20 -0
- package/dist/http/return/admin/payloads.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/payloads.d.ts +53 -22
- package/dist/http/shipping-option/admin/payloads.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/queries.d.ts +31 -1
- package/dist/http/shipping-option/admin/queries.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/responses.d.ts +16 -1
- package/dist/http/shipping-option/admin/responses.d.ts.map +1 -1
- package/dist/http/shipping-option/store/responses.d.ts +2 -2
- package/dist/http/shipping-option/store/responses.d.ts.map +1 -1
- package/dist/http/stock-locations/admin/payloads.d.ts +1 -1
- package/dist/http/tax-provider/admin/entities.d.ts +11 -0
- package/dist/http/tax-provider/admin/entities.d.ts.map +1 -0
- package/dist/http/tax-provider/admin/entities.js +3 -0
- package/dist/http/tax-provider/admin/entities.js.map +1 -0
- package/dist/http/tax-provider/admin/index.d.ts +4 -0
- package/dist/http/tax-provider/admin/index.d.ts.map +1 -0
- package/dist/http/tax-provider/admin/index.js +20 -0
- package/dist/http/tax-provider/admin/index.js.map +1 -0
- package/dist/http/tax-provider/admin/queries.d.ts +13 -0
- package/dist/http/tax-provider/admin/queries.d.ts.map +1 -0
- package/dist/http/tax-provider/admin/queries.js +3 -0
- package/dist/http/tax-provider/admin/queries.js.map +1 -0
- package/dist/http/tax-provider/admin/responses.d.ts +9 -0
- package/dist/http/tax-provider/admin/responses.d.ts.map +1 -0
- package/dist/http/tax-provider/admin/responses.js +3 -0
- package/dist/http/tax-provider/admin/responses.js.map +1 -0
- package/dist/http/tax-provider/index.d.ts +2 -0
- package/dist/http/tax-provider/index.d.ts.map +1 -0
- package/dist/http/tax-provider/index.js +18 -0
- package/dist/http/tax-provider/index.js.map +1 -0
- package/dist/http/tax-rate/admin/payloads.d.ts +1 -2
- package/dist/http/tax-rate/admin/payloads.d.ts.map +1 -1
- package/dist/http/tax-region/admin/entities.d.ts +6 -2
- package/dist/http/tax-region/admin/entities.d.ts.map +1 -1
- package/dist/http/tax-region/admin/payloads.d.ts +22 -1
- package/dist/http/tax-region/admin/payloads.d.ts.map +1 -1
- package/dist/http/tax-region/admin/queries.d.ts +1 -1
- package/dist/http/view-configuration/admin/columns.d.ts +72 -0
- package/dist/http/view-configuration/admin/columns.d.ts.map +1 -0
- package/dist/http/view-configuration/admin/columns.js +3 -0
- package/dist/http/view-configuration/admin/columns.js.map +1 -0
- package/dist/http/view-configuration/admin/index.d.ts +5 -0
- package/dist/http/view-configuration/admin/index.d.ts.map +1 -0
- package/dist/http/view-configuration/admin/index.js +21 -0
- package/dist/http/view-configuration/admin/index.js.map +1 -0
- package/dist/http/view-configuration/admin/payloads.d.ts +103 -0
- package/dist/http/view-configuration/admin/payloads.d.ts.map +1 -0
- package/dist/http/view-configuration/admin/payloads.js +3 -0
- package/dist/http/view-configuration/admin/payloads.js.map +1 -0
- package/dist/http/view-configuration/admin/queries.d.ts +35 -0
- package/dist/http/view-configuration/admin/queries.d.ts.map +1 -0
- package/dist/http/view-configuration/admin/queries.js +3 -0
- package/dist/http/view-configuration/admin/queries.js.map +1 -0
- package/dist/http/view-configuration/admin/responses.d.ts +78 -0
- package/dist/http/view-configuration/admin/responses.d.ts.map +1 -0
- package/dist/http/view-configuration/admin/responses.js +3 -0
- package/dist/http/view-configuration/admin/responses.js.map +1 -0
- package/dist/http/view-configuration/index.d.ts +2 -0
- package/dist/http/view-configuration/index.d.ts.map +1 -0
- package/dist/http/view-configuration/index.js +18 -0
- package/dist/http/view-configuration/index.js.map +1 -0
- package/dist/http/workflow-execution/admin/entities.d.ts +16 -1
- package/dist/http/workflow-execution/admin/entities.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/queries.d.ts +4 -0
- package/dist/http/workflow-execution/admin/queries.d.ts.map +1 -1
- package/dist/index-data/common.d.ts +11 -0
- package/dist/index-data/common.d.ts.map +1 -1
- package/dist/index-data/index-operator-map.d.ts +14 -10
- package/dist/index-data/index-operator-map.d.ts.map +1 -1
- package/dist/index-data/index.d.ts +1 -1
- package/dist/index-data/index.js +1 -1
- package/dist/index-data/query-config/query-input-config-fields.d.ts +3 -1
- package/dist/index-data/query-config/query-input-config-fields.d.ts.map +1 -1
- package/dist/index-data/query-config/query-input-config-filters.d.ts +1 -1
- package/dist/index-data/query-config/query-input-config-filters.d.ts.map +1 -1
- package/dist/index-data/query-config/query-input-config.d.ts +50 -6
- package/dist/index-data/query-config/query-input-config.d.ts.map +1 -1
- package/dist/index-data/service.d.ts +24 -0
- package/dist/index-data/service.d.ts.map +1 -1
- package/dist/index-data/{sotrage-provider.d.ts → storage-provider.d.ts} +1 -1
- package/dist/index-data/{sotrage-provider.d.ts.map → storage-provider.d.ts.map} +1 -1
- package/dist/index-data/storage-provider.js +3 -0
- package/dist/index-data/storage-provider.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/inventory/service.d.ts +63 -0
- package/dist/inventory/service.d.ts.map +1 -1
- package/dist/joiner/index.d.ts +43 -0
- package/dist/joiner/index.d.ts.map +1 -1
- package/dist/link-modules/service.d.ts +1 -1
- package/dist/link-modules/service.d.ts.map +1 -1
- package/dist/logger/index.d.ts +16 -13
- package/dist/logger/index.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +5 -0
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/modules-sdk/remote-query-object-from-string.d.ts +50 -3
- package/dist/modules-sdk/remote-query-object-from-string.d.ts.map +1 -1
- package/dist/modules-sdk/remote-query.d.ts +3 -5
- package/dist/modules-sdk/remote-query.d.ts.map +1 -1
- package/dist/modules-sdk/to-remote-query.d.ts +13 -3
- package/dist/modules-sdk/to-remote-query.d.ts.map +1 -1
- package/dist/notification/common.d.ts +1 -1
- package/dist/notification/mutations.d.ts +6 -2
- package/dist/notification/mutations.d.ts.map +1 -1
- package/dist/notification/service.d.ts +21 -0
- package/dist/notification/service.d.ts.map +1 -1
- package/dist/order/common.d.ts +23 -30
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +18 -14
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +186 -4
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/common.d.ts +4 -0
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/payment/mutations.d.ts +17 -1
- package/dist/payment/mutations.d.ts.map +1 -1
- package/dist/payment/provider.d.ts +67 -10
- package/dist/payment/provider.d.ts.map +1 -1
- package/dist/payment/service.d.ts +69 -3
- package/dist/payment/service.d.ts.map +1 -1
- package/dist/pricing/common/price-preference.d.ts +4 -4
- package/dist/pricing/common/price-preference.d.ts.map +1 -1
- package/dist/pricing/common/price-rule.d.ts +8 -4
- package/dist/pricing/common/price-rule.d.ts.map +1 -1
- package/dist/pricing/service.d.ts +98 -2
- package/dist/pricing/service.d.ts.map +1 -1
- package/dist/product/common.d.ts +30 -14
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product/service.d.ts +214 -5
- package/dist/product/service.d.ts.map +1 -1
- package/dist/promotion/common/campaign-budget.d.ts +22 -1
- package/dist/promotion/common/campaign-budget.d.ts.map +1 -1
- package/dist/promotion/common/campaing-budget-usage.d.ts +58 -0
- package/dist/promotion/common/campaing-budget-usage.d.ts.map +1 -0
- package/dist/promotion/common/campaing-budget-usage.js +3 -0
- package/dist/promotion/common/campaing-budget-usage.js.map +1 -0
- package/dist/promotion/common/compute-actions.d.ts +29 -1
- package/dist/promotion/common/compute-actions.d.ts.map +1 -1
- package/dist/promotion/common/index.d.ts +1 -0
- package/dist/promotion/common/index.d.ts.map +1 -1
- package/dist/promotion/common/index.js +1 -0
- package/dist/promotion/common/index.js.map +1 -1
- package/dist/promotion/common/promotion.d.ts +12 -0
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/promotion/mutations.d.ts +10 -0
- package/dist/promotion/mutations.d.ts.map +1 -1
- package/dist/promotion/service.d.ts +61 -4
- package/dist/promotion/service.d.ts.map +1 -1
- package/dist/region/service.d.ts +42 -0
- package/dist/region/service.d.ts.map +1 -1
- package/dist/settings/common.d.ts +151 -0
- package/dist/settings/common.d.ts.map +1 -0
- package/dist/settings/common.js +3 -0
- package/dist/settings/common.js.map +1 -0
- package/dist/settings/index.d.ts +4 -0
- package/dist/settings/index.d.ts.map +1 -0
- package/dist/settings/index.js +20 -0
- package/dist/settings/index.js.map +1 -0
- package/dist/settings/mutations.d.ts +121 -0
- package/dist/settings/mutations.d.ts.map +1 -0
- package/dist/settings/mutations.js +3 -0
- package/dist/settings/mutations.js.map +1 -0
- package/dist/settings/service.d.ts +25 -0
- package/dist/settings/service.d.ts.map +1 -0
- package/dist/settings/service.js +3 -0
- package/dist/settings/service.js.map +1 -0
- package/dist/shared-context.d.ts +13 -0
- package/dist/shared-context.d.ts.map +1 -1
- package/dist/stock-location/common.d.ts +4 -4
- package/dist/stock-location/service.d.ts +14 -0
- package/dist/stock-location/service.d.ts.map +1 -1
- package/dist/tax/common.d.ts +31 -3
- package/dist/tax/common.d.ts.map +1 -1
- package/dist/tax/mutations.d.ts +39 -2
- package/dist/tax/mutations.d.ts.map +1 -1
- package/dist/tax/provider.d.ts +46 -12
- package/dist/tax/provider.d.ts.map +1 -1
- package/dist/tax/service.d.ts +109 -5
- package/dist/tax/service.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/workflow/fulfillment/create-fulfillment.d.ts +1 -1
- package/dist/workflow/fulfillment/create-shipping-options.d.ts +9 -2
- package/dist/workflow/fulfillment/create-shipping-options.d.ts.map +1 -1
- package/dist/workflow/fulfillment/update-shipping-options.d.ts +5 -1
- package/dist/workflow/fulfillment/update-shipping-options.d.ts.map +1 -1
- package/dist/workflow/index.js +17 -7
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/order/begin-order-edit.d.ts +3 -0
- package/dist/workflow/order/begin-order-edit.d.ts.map +1 -1
- package/dist/workflow/order/request-item-return.d.ts +8 -0
- package/dist/workflow/order/request-item-return.d.ts.map +1 -1
- package/dist/workflow/order/request-transfer.d.ts +16 -0
- package/dist/workflow/order/request-transfer.d.ts.map +1 -1
- package/dist/workflows-sdk/common.d.ts +8 -4
- package/dist/workflows-sdk/common.d.ts.map +1 -1
- package/dist/workflows-sdk/service.d.ts +4 -0
- package/dist/workflows-sdk/service.d.ts.map +1 -1
- package/package.json +5 -11
- package/dist/http/fulfillment/admin/queries.d.ts +0 -7
- package/dist/http/fulfillment/admin/queries.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/queries.js.map +0 -1
- package/dist/index-data/sotrage-provider.js.map +0 -1
- /package/dist/http/{fulfillment → refund-reason}/admin/queries.js +0 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { Secret, SignOptions, VerifyOptions } from "jsonwebtoken";
|
|
1
2
|
import { ExternalModuleDeclaration, InternalModuleDeclaration } from "../modules-sdk";
|
|
2
3
|
import type { RedisOptions } from "ioredis";
|
|
3
4
|
import { ConnectionOptions } from "node:tls";
|
|
4
5
|
import type { InlineConfig } from "vite";
|
|
6
|
+
import type { Logger } from "../logger";
|
|
5
7
|
/**
|
|
6
8
|
* @interface
|
|
7
9
|
*
|
|
@@ -13,7 +15,7 @@ export interface AdminOptions {
|
|
|
13
15
|
* in both development and production environments. The default value is `false`.
|
|
14
16
|
*
|
|
15
17
|
* @example
|
|
16
|
-
* ```js title="medusa-config.
|
|
18
|
+
* ```js title="medusa-config.ts"
|
|
17
19
|
* module.exports = defineConfig({
|
|
18
20
|
* admin: {
|
|
19
21
|
* disable: process.env.ADMIN_DISABLED === "true" ||
|
|
@@ -34,7 +36,7 @@ export interface AdminOptions {
|
|
|
34
36
|
* - `/`
|
|
35
37
|
*
|
|
36
38
|
* @example
|
|
37
|
-
* ```
|
|
39
|
+
* ```ts title="medusa-config.ts"
|
|
38
40
|
* module.exports = defineConfig({
|
|
39
41
|
* admin: {
|
|
40
42
|
* path: process.env.ADMIN_PATH || `/app`,
|
|
@@ -48,7 +50,7 @@ export interface AdminOptions {
|
|
|
48
50
|
* The URL of your Medusa application. Defaults to the browser origin. This is useful to set when running the admin on a separate domain.
|
|
49
51
|
*
|
|
50
52
|
* @example
|
|
51
|
-
* ```js title="medusa-config.
|
|
53
|
+
* ```js title="medusa-config.ts"
|
|
52
54
|
* module.exports = defineConfig({
|
|
53
55
|
* admin: {
|
|
54
56
|
* backendUrl: process.env.MEDUSA_BACKEND_URL ||
|
|
@@ -64,7 +66,7 @@ export interface AdminOptions {
|
|
|
64
66
|
* to provide to customers to complete any processes
|
|
65
67
|
*
|
|
66
68
|
* @example
|
|
67
|
-
* ```js title="medusa-config.
|
|
69
|
+
* ```js title="medusa-config.ts"
|
|
68
70
|
* module.exports = defineConfig({
|
|
69
71
|
* admin: {
|
|
70
72
|
* storefrontUrl: process.env.MEDUSA_STOREFRONT_URL ||
|
|
@@ -75,6 +77,11 @@ export interface AdminOptions {
|
|
|
75
77
|
* ```
|
|
76
78
|
*/
|
|
77
79
|
storefrontUrl?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The directory where the admin build is output. This is where the build process places the generated files.
|
|
82
|
+
* The default value is `./build`.
|
|
83
|
+
*/
|
|
84
|
+
outDir?: string;
|
|
78
85
|
/**
|
|
79
86
|
* Configure the Vite configuration for the admin dashboard. This function receives the default Vite configuration
|
|
80
87
|
* and returns the modified configuration. The default value is `undefined`.
|
|
@@ -88,7 +95,7 @@ export interface AdminOptions {
|
|
|
88
95
|
*
|
|
89
96
|
* Options to pass to `express-session`.
|
|
90
97
|
*/
|
|
91
|
-
type SessionOptions = {
|
|
98
|
+
export type SessionOptions = {
|
|
92
99
|
/**
|
|
93
100
|
* The name of the session ID cookie to set in the response (and read from in the request). The default value is `connect.sid`.
|
|
94
101
|
* Refer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details.
|
|
@@ -119,6 +126,50 @@ type SessionOptions = {
|
|
|
119
126
|
* Refer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details.
|
|
120
127
|
*/
|
|
121
128
|
ttl?: number;
|
|
129
|
+
/**
|
|
130
|
+
* Specify the options for storing session data to dynamoDB. Make
|
|
131
|
+
* sure to install the following dependencies first.
|
|
132
|
+
*
|
|
133
|
+
* - @aws-sdk/client-dynamodb@^3.218.0
|
|
134
|
+
* - connect-dynamodb@^3.0.5
|
|
135
|
+
*/
|
|
136
|
+
dynamodbOptions?: {
|
|
137
|
+
clientOptions?: {
|
|
138
|
+
endpoint?: string;
|
|
139
|
+
};
|
|
140
|
+
table?: string;
|
|
141
|
+
/** Defaults to 'sess:' */
|
|
142
|
+
prefix?: string;
|
|
143
|
+
/** Defaults to 'id' */
|
|
144
|
+
hashKey?: string;
|
|
145
|
+
readCapacityUnits?: number;
|
|
146
|
+
writeCapacityUnits?: number;
|
|
147
|
+
specialKeys?: {
|
|
148
|
+
name: string;
|
|
149
|
+
type: string;
|
|
150
|
+
}[];
|
|
151
|
+
skipThrowMissingSpecialKeys?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Disable initialization.
|
|
154
|
+
* Useful if the table already exists or if you want to skip existence checks in a serverless environment such as AWS Lambda.
|
|
155
|
+
*/
|
|
156
|
+
initialized?: boolean;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* @interface
|
|
161
|
+
*
|
|
162
|
+
* Options to pass to `express-session`.
|
|
163
|
+
*/
|
|
164
|
+
export type CookieOptions = Record<string, any> & {
|
|
165
|
+
secure?: boolean;
|
|
166
|
+
sameSite?: "lax" | "strict" | "none";
|
|
167
|
+
maxAge?: number;
|
|
168
|
+
httpOnly?: boolean;
|
|
169
|
+
priority?: "low" | "medium" | "high";
|
|
170
|
+
domain?: string;
|
|
171
|
+
path?: string;
|
|
172
|
+
signed?: boolean;
|
|
122
173
|
};
|
|
123
174
|
/**
|
|
124
175
|
* @interface
|
|
@@ -146,6 +197,37 @@ export type HttpCompressionOptions = {
|
|
|
146
197
|
*/
|
|
147
198
|
threshold?: number | string;
|
|
148
199
|
};
|
|
200
|
+
/**
|
|
201
|
+
* @interface
|
|
202
|
+
*
|
|
203
|
+
* Medusa Cloud configurations.
|
|
204
|
+
*/
|
|
205
|
+
export type MedusaCloudOptions = {
|
|
206
|
+
/**
|
|
207
|
+
* The environment handle of the Medusa Cloud environment.
|
|
208
|
+
*/
|
|
209
|
+
environmentHandle?: string;
|
|
210
|
+
/**
|
|
211
|
+
* The sandbox handle of the Medusa Cloud sandbox.
|
|
212
|
+
*/
|
|
213
|
+
sandboxHandle?: string;
|
|
214
|
+
/**
|
|
215
|
+
* The API key used to access Medusa Cloud services.
|
|
216
|
+
*/
|
|
217
|
+
apiKey?: string;
|
|
218
|
+
/**
|
|
219
|
+
* The webhook secret used to verify webhooks.
|
|
220
|
+
*/
|
|
221
|
+
webhookSecret?: string;
|
|
222
|
+
/**
|
|
223
|
+
* The endpoint of the Medusa Cloud payment service.
|
|
224
|
+
*/
|
|
225
|
+
paymentsEndpoint?: string;
|
|
226
|
+
/**
|
|
227
|
+
* The endpoint of the Medusa Cloud email service.
|
|
228
|
+
*/
|
|
229
|
+
emailsEndpoint?: string;
|
|
230
|
+
};
|
|
149
231
|
/**
|
|
150
232
|
* @interface
|
|
151
233
|
*
|
|
@@ -159,7 +241,7 @@ export type ProjectConfigOptions = {
|
|
|
159
241
|
* [PostgreSQL's documentation](https://www.postgresql.org/docs/current/sql-createdatabase.html).
|
|
160
242
|
*
|
|
161
243
|
* @example
|
|
162
|
-
* ```js title="medusa-config.
|
|
244
|
+
* ```js title="medusa-config.ts"
|
|
163
245
|
* module.exports = defineConfig({
|
|
164
246
|
* projectConfig: {
|
|
165
247
|
* databaseName: process.env.DATABASE_NAME ||
|
|
@@ -195,9 +277,9 @@ export type ProjectConfigOptions = {
|
|
|
195
277
|
* DATABASE_URL=postgres://postgres@localhost/medusa-store
|
|
196
278
|
* ```
|
|
197
279
|
*
|
|
198
|
-
* Then, use the value in `medusa-config.
|
|
280
|
+
* Then, use the value in `medusa-config.ts`:
|
|
199
281
|
*
|
|
200
|
-
* ```js title="medusa-config.
|
|
282
|
+
* ```js title="medusa-config.ts"
|
|
201
283
|
* module.exports = defineConfig({
|
|
202
284
|
* projectConfig: {
|
|
203
285
|
* databaseUrl: process.env.DATABASE_URL,
|
|
@@ -211,7 +293,7 @@ export type ProjectConfigOptions = {
|
|
|
211
293
|
/**
|
|
212
294
|
* The database schema to connect to. This is not required to provide if you’re using the default schema, which is `public`.
|
|
213
295
|
*
|
|
214
|
-
* ```js title="medusa-config.
|
|
296
|
+
* ```js title="medusa-config.ts"
|
|
215
297
|
* module.exports = defineConfig({
|
|
216
298
|
* projectConfig: {
|
|
217
299
|
* databaseSchema: process.env.DATABASE_SCHEMA ||
|
|
@@ -227,7 +309,7 @@ export type ProjectConfigOptions = {
|
|
|
227
309
|
* This configuration specifies whether database messages should be logged.
|
|
228
310
|
*
|
|
229
311
|
* @example
|
|
230
|
-
* ```js title="medusa-config.
|
|
312
|
+
* ```js title="medusa-config.ts"
|
|
231
313
|
* module.exports = defineConfig({
|
|
232
314
|
* projectConfig: {
|
|
233
315
|
* databaseLogging: false
|
|
@@ -252,7 +334,7 @@ export type ProjectConfigOptions = {
|
|
|
252
334
|
* :::
|
|
253
335
|
*
|
|
254
336
|
* @example
|
|
255
|
-
* ```js title="medusa-config.
|
|
337
|
+
* ```js title="medusa-config.ts"
|
|
256
338
|
* module.exports = defineConfig({
|
|
257
339
|
* projectConfig: {
|
|
258
340
|
* databaseDriverOptions: process.env.NODE_ENV !== "development" ?
|
|
@@ -289,7 +371,7 @@ export type ProjectConfigOptions = {
|
|
|
289
371
|
* For a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.
|
|
290
372
|
*
|
|
291
373
|
* @example
|
|
292
|
-
* ```js title="medusa-config.
|
|
374
|
+
* ```js title="medusa-config.ts"
|
|
293
375
|
* module.exports = defineConfig({
|
|
294
376
|
* projectConfig: {
|
|
295
377
|
* redisUrl: process.env.REDIS_URL ||
|
|
@@ -307,7 +389,7 @@ export type ProjectConfigOptions = {
|
|
|
307
389
|
* If this configuration option is provided, it is prepended to `sess:`.
|
|
308
390
|
*
|
|
309
391
|
* @example
|
|
310
|
-
* ```js title="medusa-config.
|
|
392
|
+
* ```js title="medusa-config.ts"
|
|
311
393
|
* module.exports = defineConfig({
|
|
312
394
|
* projectConfig: {
|
|
313
395
|
* redisPrefix: process.env.REDIS_URL || "medusa:",
|
|
@@ -323,7 +405,7 @@ export type ProjectConfigOptions = {
|
|
|
323
405
|
* for the list of available options.
|
|
324
406
|
*
|
|
325
407
|
* @example
|
|
326
|
-
* ```js title="medusa-config.
|
|
408
|
+
* ```js title="medusa-config.ts"
|
|
327
409
|
* module.exports = defineConfig({
|
|
328
410
|
* projectConfig: {
|
|
329
411
|
* redisOptions: {
|
|
@@ -341,7 +423,7 @@ export type ProjectConfigOptions = {
|
|
|
341
423
|
* This configuration defines additional options to pass to [express-session](https://www.npmjs.com/package/express-session), which is used to store the Medusa server's session.
|
|
342
424
|
*
|
|
343
425
|
* @example
|
|
344
|
-
* ```js title="medusa-config.
|
|
426
|
+
* ```js title="medusa-config.ts"
|
|
345
427
|
* module.exports = defineConfig({
|
|
346
428
|
* projectConfig: {
|
|
347
429
|
* sessionOptions: {
|
|
@@ -354,11 +436,12 @@ export type ProjectConfigOptions = {
|
|
|
354
436
|
* ```
|
|
355
437
|
*/
|
|
356
438
|
sessionOptions?: SessionOptions;
|
|
439
|
+
cookieOptions?: CookieOptions;
|
|
357
440
|
/**
|
|
358
441
|
* Configure the number of staged jobs that are polled from the database. Default is `1000`.
|
|
359
442
|
*
|
|
360
443
|
* @example
|
|
361
|
-
* ```js title="medusa-config.
|
|
444
|
+
* ```js title="medusa-config.ts"
|
|
362
445
|
* module.exports = defineConfig({
|
|
363
446
|
* projectConfig: {
|
|
364
447
|
* jobsBatchSize: 100
|
|
@@ -395,7 +478,7 @@ export type ProjectConfigOptions = {
|
|
|
395
478
|
* 2. Another having the `workerMode` configuration set to `worker`.
|
|
396
479
|
*
|
|
397
480
|
* @example
|
|
398
|
-
* ```js title="medusa-config.
|
|
481
|
+
* ```js title="medusa-config.ts"
|
|
399
482
|
* module.exports = defineConfig({
|
|
400
483
|
* projectConfig: {
|
|
401
484
|
* workerMode: process.env.WORKER_MODE || "shared"
|
|
@@ -410,7 +493,7 @@ export type ProjectConfigOptions = {
|
|
|
410
493
|
* This property configures the application's http-specific settings.
|
|
411
494
|
*
|
|
412
495
|
* @example
|
|
413
|
-
* ```js title="medusa-config.
|
|
496
|
+
* ```js title="medusa-config.ts"
|
|
414
497
|
* module.exports = defineConfig({
|
|
415
498
|
* projectConfig: {
|
|
416
499
|
* http: {
|
|
@@ -433,7 +516,7 @@ export type ProjectConfigOptions = {
|
|
|
433
516
|
* error is thrown and the application crashes.
|
|
434
517
|
*
|
|
435
518
|
* @example
|
|
436
|
-
* ```js title="medusa-config.
|
|
519
|
+
* ```js title="medusa-config.ts"
|
|
437
520
|
* module.exports = defineConfig({
|
|
438
521
|
* projectConfig: {
|
|
439
522
|
* http: {
|
|
@@ -445,14 +528,73 @@ export type ProjectConfigOptions = {
|
|
|
445
528
|
* })
|
|
446
529
|
* ```
|
|
447
530
|
*/
|
|
448
|
-
jwtSecret?:
|
|
531
|
+
jwtSecret?: Secret;
|
|
532
|
+
/**
|
|
533
|
+
* The public key used to verify the JWT token in combination with the JWT secret and the JWT options.
|
|
534
|
+
* Only used when the JWT secret is a secret key for asymetric validation.
|
|
535
|
+
*
|
|
536
|
+
* @example
|
|
537
|
+
* ```js title="medusa-config.ts"
|
|
538
|
+
* module.exports = defineConfig({
|
|
539
|
+
* projectConfig: {
|
|
540
|
+
* http: {
|
|
541
|
+
* jwtPublicKey: "public-key"
|
|
542
|
+
* }
|
|
543
|
+
* // ...
|
|
544
|
+
* },
|
|
545
|
+
* // ...
|
|
546
|
+
* })
|
|
547
|
+
* ```
|
|
548
|
+
*/
|
|
549
|
+
jwtPublicKey?: Secret;
|
|
550
|
+
/**
|
|
551
|
+
* Options for the JWT token when using asymetric signing private/public key. Will be used for validation if `jwtVerifyOptions` is not provided.
|
|
552
|
+
*
|
|
553
|
+
* @example
|
|
554
|
+
* ```js title="medusa-config.ts"
|
|
555
|
+
* module.exports = defineConfig({
|
|
556
|
+
* projectConfig: {
|
|
557
|
+
* http: {
|
|
558
|
+
* jwtOptions: {
|
|
559
|
+
* algorithm: "RS256",
|
|
560
|
+
* expiresIn: "1h",
|
|
561
|
+
* issuer: "medusa",
|
|
562
|
+
* keyid: "medusa",
|
|
563
|
+
* }
|
|
564
|
+
* }
|
|
565
|
+
* // ...
|
|
566
|
+
* },
|
|
567
|
+
* // ...
|
|
568
|
+
* })
|
|
569
|
+
* ```
|
|
570
|
+
*/
|
|
571
|
+
jwtOptions?: SignOptions;
|
|
572
|
+
/**
|
|
573
|
+
* Options for the JWT token when using asymetric validation private/public key.
|
|
574
|
+
*
|
|
575
|
+
* @example
|
|
576
|
+
* ```js title="medusa-config.ts"
|
|
577
|
+
* module.exports = defineConfig({
|
|
578
|
+
* projectConfig: {
|
|
579
|
+
* http: {
|
|
580
|
+
* jwtVerifyOptions: {
|
|
581
|
+
* // ...
|
|
582
|
+
* }
|
|
583
|
+
* }
|
|
584
|
+
* // ...
|
|
585
|
+
* },
|
|
586
|
+
* // ...
|
|
587
|
+
* })
|
|
588
|
+
* ```
|
|
589
|
+
*/
|
|
590
|
+
jwtVerifyOptions?: VerifyOptions;
|
|
449
591
|
/**
|
|
450
592
|
* The expiration time for the JWT token. Its format is based off the [ms package](https://github.com/vercel/ms).
|
|
451
593
|
*
|
|
452
594
|
* If not provided, the default value is `24h`.
|
|
453
595
|
*
|
|
454
596
|
* @example
|
|
455
|
-
* ```js title="medusa-config.
|
|
597
|
+
* ```js title="medusa-config.ts"
|
|
456
598
|
* module.exports = defineConfig({
|
|
457
599
|
* projectConfig: {
|
|
458
600
|
* http: {
|
|
@@ -472,7 +614,7 @@ export type ProjectConfigOptions = {
|
|
|
472
614
|
* the application crashes.
|
|
473
615
|
*
|
|
474
616
|
* @example
|
|
475
|
-
* ```js title="medusa-config.
|
|
617
|
+
* ```js title="medusa-config.ts"
|
|
476
618
|
* module.exports = defineConfig({
|
|
477
619
|
* projectConfig: {
|
|
478
620
|
* http: {
|
|
@@ -509,9 +651,9 @@ export type ProjectConfigOptions = {
|
|
|
509
651
|
* AUTH_CORS=/http:\/\/.+/
|
|
510
652
|
* ```
|
|
511
653
|
*
|
|
512
|
-
* Then, set the configuration in `medusa-config.
|
|
654
|
+
* Then, set the configuration in `medusa-config.ts`:
|
|
513
655
|
*
|
|
514
|
-
* ```js title="medusa-config.
|
|
656
|
+
* ```js title="medusa-config.ts"
|
|
515
657
|
* module.exports = defineConfig({
|
|
516
658
|
* projectConfig: {
|
|
517
659
|
* http: {
|
|
@@ -523,9 +665,9 @@ export type ProjectConfigOptions = {
|
|
|
523
665
|
* })
|
|
524
666
|
* ```
|
|
525
667
|
*
|
|
526
|
-
* If you’re adding the value directly within `medusa-config.
|
|
668
|
+
* If you’re adding the value directly within `medusa-config.ts`, make sure to add an extra escaping `/` for every backslash in the pattern. For example:
|
|
527
669
|
*
|
|
528
|
-
* ```js title="medusa-config.
|
|
670
|
+
* ```js title="medusa-config.ts"
|
|
529
671
|
* module.exports = defineConfig({
|
|
530
672
|
* projectConfig: {
|
|
531
673
|
* http: {
|
|
@@ -547,7 +689,7 @@ export type ProjectConfigOptions = {
|
|
|
547
689
|
* Learn more in the [API Reference](https://docs.medusajs.com/api/store#http-compression).
|
|
548
690
|
*
|
|
549
691
|
* @example
|
|
550
|
-
* ```js title="medusa-config.
|
|
692
|
+
* ```js title="medusa-config.ts"
|
|
551
693
|
* module.exports = defineConfig({
|
|
552
694
|
* projectConfig: {
|
|
553
695
|
* http: {
|
|
@@ -589,9 +731,9 @@ export type ProjectConfigOptions = {
|
|
|
589
731
|
* STORE_CORS=/http:\/\/.+/
|
|
590
732
|
* ```
|
|
591
733
|
*
|
|
592
|
-
* Then, set the configuration in `medusa-config.
|
|
734
|
+
* Then, set the configuration in `medusa-config.ts`:
|
|
593
735
|
*
|
|
594
|
-
* ```js title="medusa-config.
|
|
736
|
+
* ```js title="medusa-config.ts"
|
|
595
737
|
* module.exports = defineConfig({
|
|
596
738
|
* projectConfig: {
|
|
597
739
|
* http: {
|
|
@@ -603,9 +745,9 @@ export type ProjectConfigOptions = {
|
|
|
603
745
|
* })
|
|
604
746
|
* ```
|
|
605
747
|
*
|
|
606
|
-
* If you’re adding the value directly within `medusa-config.
|
|
748
|
+
* If you’re adding the value directly within `medusa-config.ts`, make sure to add an extra escaping `/` for every backslash in the pattern. For example:
|
|
607
749
|
*
|
|
608
|
-
* ```js title="medusa-config.
|
|
750
|
+
* ```js title="medusa-config.ts"
|
|
609
751
|
* module.exports = defineConfig({
|
|
610
752
|
* projectConfig: {
|
|
611
753
|
* http: {
|
|
@@ -642,9 +784,9 @@ export type ProjectConfigOptions = {
|
|
|
642
784
|
* ADMIN_CORS=/http:\/\/.+/
|
|
643
785
|
* ```
|
|
644
786
|
*
|
|
645
|
-
* Then, set the configuration in `medusa-config.
|
|
787
|
+
* Then, set the configuration in `medusa-config.ts`:
|
|
646
788
|
*
|
|
647
|
-
* ```js title="medusa-config.
|
|
789
|
+
* ```js title="medusa-config.ts"
|
|
648
790
|
* module.exports = defineConfig({
|
|
649
791
|
* projectConfig: {
|
|
650
792
|
* http: {
|
|
@@ -656,9 +798,9 @@ export type ProjectConfigOptions = {
|
|
|
656
798
|
* })
|
|
657
799
|
* ```
|
|
658
800
|
*
|
|
659
|
-
* If you’re adding the value directly within `medusa-config.
|
|
801
|
+
* If you’re adding the value directly within `medusa-config.ts`, make sure to add an extra escaping `/` for every backslash in the pattern. For example:
|
|
660
802
|
*
|
|
661
|
-
* ```js title="medusa-config.
|
|
803
|
+
* ```js title="medusa-config.ts"
|
|
662
804
|
* module.exports = defineConfig({
|
|
663
805
|
* projectConfig: {
|
|
664
806
|
* http: {
|
|
@@ -680,9 +822,9 @@ export type ProjectConfigOptions = {
|
|
|
680
822
|
* @example
|
|
681
823
|
* Some example values of common use cases:
|
|
682
824
|
*
|
|
683
|
-
* Then, set the configuration in `medusa-config.
|
|
825
|
+
* Then, set the configuration in `medusa-config.ts`:
|
|
684
826
|
*
|
|
685
|
-
* ```js title="medusa-config.
|
|
827
|
+
* ```js title="medusa-config.ts"
|
|
686
828
|
* module.exports = defineConfig({
|
|
687
829
|
* projectConfig: {
|
|
688
830
|
* http: {
|
|
@@ -704,7 +846,7 @@ export type ProjectConfigOptions = {
|
|
|
704
846
|
*
|
|
705
847
|
* @example
|
|
706
848
|
*
|
|
707
|
-
* ```js title="medusa-config.
|
|
849
|
+
* ```js title="medusa-config.ts"
|
|
708
850
|
* module.exports = defineConfig({
|
|
709
851
|
* projectConfig: {
|
|
710
852
|
* http: {
|
|
@@ -718,24 +860,36 @@ export type ProjectConfigOptions = {
|
|
|
718
860
|
store?: string[];
|
|
719
861
|
};
|
|
720
862
|
};
|
|
863
|
+
/**
|
|
864
|
+
* This property holds configurations for running in Medusa Cloud.
|
|
865
|
+
* It gets automatically populated in the cloud, and is not needed outside of it.
|
|
866
|
+
*/
|
|
867
|
+
cloud?: MedusaCloudOptions;
|
|
721
868
|
};
|
|
722
869
|
/**
|
|
723
870
|
* @interface
|
|
724
871
|
*
|
|
725
|
-
* The configurations for your Medusa application are in `medusa-config.
|
|
872
|
+
* The configurations for your Medusa application are set in `medusa-config.ts` located in the root of your Medusa project. The configurations include configurations for database, modules, and more.
|
|
726
873
|
*
|
|
727
|
-
*
|
|
874
|
+
* :::note
|
|
875
|
+
*
|
|
876
|
+
* Some Medusa configurations are set through environment variables, which you can find in [this documentation](https://docs.medusajs.com/learn/fundamentals/environment-variables#predefined-medusa-environment-variables).
|
|
877
|
+
*
|
|
878
|
+
* :::
|
|
879
|
+
*
|
|
880
|
+
* `medusa-config.ts` exports the value returned by the `defineConfig` utility function imported from `@medusajs/framework/utils`.
|
|
728
881
|
*
|
|
729
882
|
* `defineConfig` accepts as a parameter an object with the following properties:
|
|
730
883
|
*
|
|
731
884
|
* - {@link ConfigModule.projectConfig | projectConfig} (required): An object that holds general configurations related to the Medusa application, such as database or CORS configurations.
|
|
885
|
+
* - {@link ConfigModule.plugins | plugins}: An array of strings or objects that hold the configurations of the plugins installed in the Medusa application.
|
|
732
886
|
* - {@link ConfigModule.admin | admin}: An object that holds admin-related configurations.
|
|
733
887
|
* - {@link ConfigModule.modules | modules}: An object that configures the Medusa application's modules.
|
|
734
888
|
* - {@link ConfigModule.featureFlags | featureFlags}: An object that enables or disables features guarded by a feature flag.
|
|
735
889
|
*
|
|
736
890
|
* For example:
|
|
737
891
|
*
|
|
738
|
-
* ```
|
|
892
|
+
* ```ts title="medusa-config.ts"
|
|
739
893
|
* module.exports = defineConfig({
|
|
740
894
|
* projectConfig: {
|
|
741
895
|
* // ...
|
|
@@ -756,7 +910,7 @@ export type ProjectConfigOptions = {
|
|
|
756
910
|
*
|
|
757
911
|
* ## Environment Variables
|
|
758
912
|
*
|
|
759
|
-
* It's highly recommended to store the values of configurations in environment variables, then reference them within `medusa-config.
|
|
913
|
+
* It's highly recommended to store the values of configurations in environment variables, then reference them within `medusa-config.ts`.
|
|
760
914
|
*
|
|
761
915
|
* During development, you can set your environment variables in the `.env` file at the root of your Medusa application project. In production,
|
|
762
916
|
* setting the environment variables depends on the hosting provider.
|
|
@@ -765,14 +919,14 @@ export type ProjectConfigOptions = {
|
|
|
765
919
|
*/
|
|
766
920
|
export type ConfigModule = {
|
|
767
921
|
/**
|
|
768
|
-
* This property holds essential configurations related to the Medusa application, such as database
|
|
922
|
+
* This property holds essential configurations related to the Medusa application, such as database, CORS configurations and Logger.
|
|
769
923
|
*/
|
|
770
924
|
projectConfig: ProjectConfigOptions;
|
|
771
925
|
/**
|
|
772
926
|
* This property holds configurations for the Medusa Admin dashboard.
|
|
773
927
|
*
|
|
774
928
|
* @example
|
|
775
|
-
* ```
|
|
929
|
+
* ```ts title="medusa-config.ts"
|
|
776
930
|
* module.exports = defineConfig({
|
|
777
931
|
* admin: {
|
|
778
932
|
* backendUrl: process.env.MEDUSA_BACKEND_URL ||
|
|
@@ -784,20 +938,22 @@ export type ConfigModule = {
|
|
|
784
938
|
*/
|
|
785
939
|
admin: AdminOptions;
|
|
786
940
|
/**
|
|
787
|
-
* On your Medusa
|
|
788
|
-
*
|
|
941
|
+
* On your Medusa server, you can use [Plugins](https://docs.medusajs.com/learn/fundamentals/plugins) to add re-usable Medusa customizations. Plugins
|
|
942
|
+
* can include modules, workflows, API Routes, and other customizations. Plugins are available starting from [Medusa v2.3.0](https://github.com/medusajs/medusa/releases/tag/v2.3.0).
|
|
789
943
|
*
|
|
790
|
-
* Aside from installing the plugin with NPM, you need to pass the plugin you installed into the `plugins` array defined in `medusa-config.
|
|
944
|
+
* Aside from installing the plugin with NPM, you need to pass the plugin you installed into the `plugins` array defined in `medusa-config.ts`.
|
|
791
945
|
*
|
|
792
946
|
* The items in the array can either be:
|
|
793
947
|
*
|
|
794
|
-
* - A string, which is the name of the plugin
|
|
948
|
+
* - A string, which is the name of the plugin's package as specified in the plugin's `package.json` file. You can pass a plugin as a string if it doesn’t require any options.
|
|
795
949
|
* - An object having the following properties:
|
|
796
|
-
* - `resolve`: The name of the plugin.
|
|
797
|
-
* - `options`: An object that includes
|
|
950
|
+
* - `resolve`: The name of the plugin's package as specified in the plugin's `package.json` file.
|
|
951
|
+
* - `options`: An object that includes options to be passed to the modules within the plugin. Learn more in [this documentation](https://docs.medusajs.com/learn/fundamentals/modules/options).
|
|
952
|
+
*
|
|
953
|
+
* Learn how to create a plugin in [this documentation](https://docs.medusajs.com/learn/fundamentals/plugins/create).
|
|
798
954
|
*
|
|
799
955
|
* @example
|
|
800
|
-
* ```
|
|
956
|
+
* ```ts title="medusa-config.ts"
|
|
801
957
|
* module.exports = {
|
|
802
958
|
* plugins: [
|
|
803
959
|
* `medusa-my-plugin-1`,
|
|
@@ -813,14 +969,16 @@ export type ConfigModule = {
|
|
|
813
969
|
* // ...
|
|
814
970
|
* }
|
|
815
971
|
* ```
|
|
816
|
-
*
|
|
817
|
-
* @ignore
|
|
818
|
-
*
|
|
819
|
-
* @privateRemarks
|
|
820
|
-
* Added the `@\ignore` tag for now so it's not generated in the main docs until we figure out what to do with plugins
|
|
821
972
|
*/
|
|
822
973
|
plugins: ({
|
|
974
|
+
/**
|
|
975
|
+
* The name of the plugin's package as specified in the plugin's `package.json` file.
|
|
976
|
+
*/
|
|
823
977
|
resolve: string;
|
|
978
|
+
/**
|
|
979
|
+
* An object that includes options to be passed to the modules within the plugin.
|
|
980
|
+
* Learn more in [this documentation](https://docs.medusajs.com/learn/fundamentals/modules/options).
|
|
981
|
+
*/
|
|
824
982
|
options: Record<string, unknown>;
|
|
825
983
|
} | string)[];
|
|
826
984
|
/**
|
|
@@ -828,26 +986,24 @@ export type ConfigModule = {
|
|
|
828
986
|
*
|
|
829
987
|
* :::note
|
|
830
988
|
*
|
|
831
|
-
* Medusa's
|
|
989
|
+
* Medusa's Commerce Modules are configured by default, so only
|
|
832
990
|
* add them to this property if you're changing their configurations or adding providers to a module.
|
|
833
991
|
*
|
|
834
992
|
* :::
|
|
835
993
|
*
|
|
836
|
-
*
|
|
994
|
+
* `modules` is an array of objects, each holding a module's registration configurations. Each object has the following properties:
|
|
837
995
|
*
|
|
838
|
-
* 1.
|
|
839
|
-
* 2.
|
|
840
|
-
* 1. `resolve`: a string indicating the path to the module relative to `src`, or the module's NPM package name. For example, `./modules/my-module`.
|
|
841
|
-
* 2. `options`: (optional) an object indicating the options to pass to the module.
|
|
996
|
+
* 1. `resolve`: a string indicating the path to the module relative to `src`, or the module's NPM package name. For example, `./modules/my-module`.
|
|
997
|
+
* 2. `options`: (optional) an object indicating the options to pass to the module.
|
|
842
998
|
*
|
|
843
999
|
* @example
|
|
844
|
-
* ```
|
|
1000
|
+
* ```ts title="medusa-config.ts"
|
|
845
1001
|
* module.exports = defineConfig({
|
|
846
|
-
* modules:
|
|
847
|
-
*
|
|
1002
|
+
* modules: [
|
|
1003
|
+
* {
|
|
848
1004
|
* resolve: "./modules/hello"
|
|
849
1005
|
* }
|
|
850
|
-
*
|
|
1006
|
+
* ]
|
|
851
1007
|
* // ...
|
|
852
1008
|
* })
|
|
853
1009
|
* ```
|
|
@@ -857,14 +1013,14 @@ export type ConfigModule = {
|
|
|
857
1013
|
* Some features in the Medusa application are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.
|
|
858
1014
|
*
|
|
859
1015
|
* You can enable a feature in your application by enabling its feature flag. Feature flags are enabled through either environment
|
|
860
|
-
* variables or through this configuration property exported in `medusa-config.
|
|
1016
|
+
* variables or through this configuration property exported in `medusa-config.ts`.
|
|
861
1017
|
*
|
|
862
1018
|
* The `featureFlags`'s value is an object. Its properties are the names of the feature flags, and their value is a boolean indicating whether the feature flag is enabled.
|
|
863
1019
|
*
|
|
864
|
-
* You can find available feature flags and their key name [here](https://github.com/medusajs/medusa/tree/develop/packages/medusa/src/
|
|
1020
|
+
* You can find available feature flags and their key name [here](https://github.com/medusajs/medusa/tree/develop/packages/medusa/src/feature-flags).
|
|
865
1021
|
*
|
|
866
1022
|
* @example
|
|
867
|
-
* ```
|
|
1023
|
+
* ```ts title="medusa-config.ts"
|
|
868
1024
|
* module.exports = defineConfig({
|
|
869
1025
|
* featureFlags: {
|
|
870
1026
|
* analytics: true,
|
|
@@ -881,6 +1037,10 @@ export type ConfigModule = {
|
|
|
881
1037
|
* :::
|
|
882
1038
|
*/
|
|
883
1039
|
featureFlags: Record<string, boolean | string | Record<string, boolean>>;
|
|
1040
|
+
/**
|
|
1041
|
+
* The Logger instance to be used by the application.
|
|
1042
|
+
*/
|
|
1043
|
+
logger?: Logger;
|
|
884
1044
|
};
|
|
885
1045
|
type InternalModuleDeclarationOverride = InternalModuleDeclaration & {
|
|
886
1046
|
/**
|
|
@@ -910,7 +1070,7 @@ export type InputConfigModules = Partial<InternalModuleDeclarationOverride | Ext
|
|
|
910
1070
|
* The configuration accepted by the "defineConfig" helper
|
|
911
1071
|
*/
|
|
912
1072
|
export type InputConfig = Partial<Omit<ConfigModule, "admin" | "modules"> & {
|
|
913
|
-
admin
|
|
1073
|
+
admin?: Partial<ConfigModule["admin"]>;
|
|
914
1074
|
modules: InputConfigModules
|
|
915
1075
|
/**
|
|
916
1076
|
* @deprecated use the array instead
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACtE,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AACxC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAEvC;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;;;;;;;;;;;;;;OAkBG;IACH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