Skip to content

Commit 471ab72

Browse files
chore(docs): Generated References (automated) (medusajs#14199)
Generated the following references: - `api_key_models` - `auth_models` - `auth_provider` - `caching` - `cart_models` - `core_flows` - `currency_models` - `customer_models` - `fulfillment_models` - `inventory_next_models` - `js_sdk` - `order_models` - `payment_models` - `pricing_models` - `product_models` - `promotion_models` - `region_models` - `sales_channel_models` - `stock_location_next_models` - `store_models` - `tax_models` - `types` - `user_models` --- > [!NOTE] > Regenerates API reference pages across models, workflows/steps, and JS SDK, and updates generated Typedoc JSON and edit-dates script. > > - **Documentation**: > - **Models References**: Regenerated pages under `apps/resources/references/*_models/variables` for `api_key`, `auth`, `cart`, `currency`, `customer`, `fulfillment`, `inventory_next`, `order`, `payment`, `pricing`, `product`, `promotion`, `region`, `sales_channel`, `stock_location_next`, `store`, `tax`, `user`. > - **Core Flows**: Added/updated `Workflows_*` and `Steps_*` reference pages across modules including `Api_Key`, `Auth`, `Cart`, `Common`, `Customer`, `Customer_Group`, `Defaults`, `Draft_Order`, `File`, `Fulfillment`, `Inventory`, `Invite`, `Line_Item`, `Order`, `Payment`, `Payment_Collection`, `Price_List`, `Pricing`, `Product`, `Product_Category`, `Promotion`, `Region`, `Reservation`, `Return_Reason`, `Sales_Channel`, `Settings`, `Shipping_Options`, `Shipping_Profile`, `Stock_Location`, `Store`, `Tax`, `User`. > - **JS SDK**: Added `js_sdk.admin.Admin.order` property and `admin.Order.updateOrderChange` method references. > - **Types**: Added `types/CachingTypes.interfaces.ICachingModuleService` reference. > - **Generated Assets**: > - Updated `utils/generated/typedoc-json-output/0-medusa.json` and `0-types.json`. > - Updated `apps/resources/generated/edit-dates.mjs`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 796f722. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> Co-authored-by: Oli Juhl <[email protected]>
1 parent b3bcfb7 commit 471ab72

File tree

500 files changed

+21457
-21438
lines changed
  • www
    • apps/resources
      • generated
      • references
        • api_key_models/variables/api_key_models.ApiKey
        • auth_models/variables
        • auth_provider/classes/auth_provider.AbstractAuthModuleProvider
        • caching/interfaces/caching.ICachingModuleService
        • cart_models/variables
        • core_flows
          • Api_Key/Workflows_Api_Key/functions
            • core_flows.Api_Key.Workflows_Api_Key.createApiKeysWorkflow
            • core_flows.Api_Key.Workflows_Api_Key.deleteApiKeysWorkflow
            • core_flows.Api_Key.Workflows_Api_Key.linkSalesChannelsToApiKeyWorkflow
            • core_flows.Api_Key.Workflows_Api_Key.revokeApiKeysWorkflow
            • core_flows.Api_Key.Workflows_Api_Key.updateApiKeysWorkflow
          • Auth/Workflows_Auth/functions/core_flows.Auth.Workflows_Auth.generateResetPasswordTokenWorkflow
          • Cart
            • Steps_Cart/functions
              • core_flows.Cart.Steps_Cart.createCartsStep
              • core_flows.Cart.Steps_Cart.retrieveCartStep
              • core_flows.Cart.Steps_Cart.updateCartPromotionsStep
            • Workflows_Cart/functions
              • core_flows.Cart.Workflows_Cart.addShippingMethodToCartWorkflow
              • core_flows.Cart.Workflows_Cart.addToCartWorkflow
              • core_flows.Cart.Workflows_Cart.completeCartWorkflow
              • core_flows.Cart.Workflows_Cart.confirmVariantInventoryWorkflow
              • core_flows.Cart.Workflows_Cart.createCartCreditLinesWorkflow
              • core_flows.Cart.Workflows_Cart.createCartWorkflow
              • core_flows.Cart.Workflows_Cart.createPaymentCollectionForCartWorkflow
              • core_flows.Cart.Workflows_Cart.deleteCartCreditLinesWorkflow
              • core_flows.Cart.Workflows_Cart.listShippingOptionsForCartWithPricingWorkflow
              • core_flows.Cart.Workflows_Cart.listShippingOptionsForCartWorkflow
              • core_flows.Cart.Workflows_Cart.refreshCartItemsWorkflow
              • core_flows.Cart.Workflows_Cart.refreshCartShippingMethodsWorkflow
              • core_flows.Cart.Workflows_Cart.refreshPaymentCollectionForCartWorkflow
              • core_flows.Cart.Workflows_Cart.refundPaymentAndRecreatePaymentSessionWorkflow
              • core_flows.Cart.Workflows_Cart.transferCartCustomerWorkflow
              • core_flows.Cart.Workflows_Cart.updateCartPromotionsWorkflow
              • core_flows.Cart.Workflows_Cart.updateCartWorkflow
              • core_flows.Cart.Workflows_Cart.updateLineItemInCartWorkflow
              • core_flows.Cart.Workflows_Cart.updateTaxLinesWorkflow
          • Common/Workflows_Common/functions
            • core_flows.Common.Workflows_Common.batchLinksWorkflow
            • core_flows.Common.Workflows_Common.createLinksWorkflow
            • core_flows.Common.Workflows_Common.dismissLinksWorkflow
            • core_flows.Common.Workflows_Common.updateLinksWorkflow
          • Customer_Group
            • Steps_Customer_Group/functions/core_flows.Customer_Group.Steps_Customer_Group.createCustomerGroupsStep
            • Workflows_Customer_Group/functions
              • core_flows.Customer_Group.Workflows_Customer_Group.createCustomerGroupsWorkflow
              • core_flows.Customer_Group.Workflows_Customer_Group.deleteCustomerGroupsWorkflow
              • core_flows.Customer_Group.Workflows_Customer_Group.linkCustomerGroupsToCustomerWorkflow
              • core_flows.Customer_Group.Workflows_Customer_Group.linkCustomersToCustomerGroupWorkflow
              • core_flows.Customer_Group.Workflows_Customer_Group.updateCustomerGroupsWorkflow
          • Customer/Workflows_Customer/functions
            • core_flows.Customer.Workflows_Customer.createCustomerAccountWorkflow
            • core_flows.Customer.Workflows_Customer.createCustomerAddressesWorkflow
            • core_flows.Customer.Workflows_Customer.createCustomersWorkflow
            • core_flows.Customer.Workflows_Customer.deleteCustomerAddressesWorkflow
            • core_flows.Customer.Workflows_Customer.deleteCustomersWorkflow
            • core_flows.Customer.Workflows_Customer.removeCustomerAccountWorkflow
            • core_flows.Customer.Workflows_Customer.updateCustomerAddressesWorkflow
            • core_flows.Customer.Workflows_Customer.updateCustomersWorkflow
          • Defaults/Workflows_Defaults/functions/core_flows.Defaults.Workflows_Defaults.createDefaultsWorkflow
          • Draft_Order/Workflows_Draft_Order/functions
            • core_flows.Draft_Order.Workflows_Draft_Order.addDraftOrderItemsWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.addDraftOrderPromotionWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.addDraftOrderShippingMethodsWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.beginDraftOrderEditWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.cancelDraftOrderEditWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.computeDraftOrderAdjustmentsWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.confirmDraftOrderEditWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.convertDraftOrderStep
            • core_flows.Draft_Order.Workflows_Draft_Order.convertDraftOrderWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.deleteDraftOrdersWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.removeDraftOrderActionItemWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.removeDraftOrderActionShippingMethodWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.removeDraftOrderPromotionsWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.removeDraftOrderShippingMethodWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.requestDraftOrderEditWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.updateDraftOrderActionItemWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.updateDraftOrderActionShippingMethodWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.updateDraftOrderItemWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.updateDraftOrderShippingMethodWorkflow
            • core_flows.Draft_Order.Workflows_Draft_Order.updateDraftOrderWorkflow
          • File/Workflows_File/functions
            • core_flows.File.Workflows_File.deleteFilesWorkflow
            • core_flows.File.Workflows_File.uploadFilesWorkflow
          • Fulfillment
            • Steps_Fulfillment/functions
              • core_flows.Fulfillment.Steps_Fulfillment.createFulfillmentSets
              • core_flows.Fulfillment.Steps_Fulfillment.createServiceZonesStep
              • core_flows.Fulfillment.Steps_Fulfillment.createShippingOptionRulesStep
              • core_flows.Fulfillment.Steps_Fulfillment.createShippingOptionsPriceSetsStep
              • core_flows.Fulfillment.Steps_Fulfillment.createShippingProfilesStep
              • core_flows.Fulfillment.Steps_Fulfillment.deleteShippingOptionRulesStep
            • Workflows_Fulfillment/functions
              • core_flows.Fulfillment.Workflows_Fulfillment.batchShippingOptionRulesWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.calculateShippingOptionsPricesWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.cancelFulfillmentWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.createFulfillmentWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.createReturnFulfillmentWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.createServiceZonesWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.createShipmentWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.createShippingOptionsWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.createShippingProfilesWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.deleteFulfillmentSetsWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.deleteServiceZonesWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.deleteShippingOptionsWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.markFulfillmentAsDeliveredWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.updateFulfillmentWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.updateServiceZonesWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.updateShippingOptionsWorkflow
              • core_flows.Fulfillment.Workflows_Fulfillment.updateShippingProfilesWorkflow
          • Inventory
            • Steps_Inventory/functions
              • core_flows.Inventory.Steps_Inventory.updateInventoryItemsStep
              • core_flows.Inventory.Steps_Inventory.validateInventoryDeleteStep
            • Workflows_Inventory/functions
              • core_flows.Inventory.Workflows_Inventory.batchInventoryItemLevelsWorkflow
              • core_flows.Inventory.Workflows_Inventory.bulkCreateDeleteLevelsWorkflow
              • core_flows.Inventory.Workflows_Inventory.createInventoryItemsWorkflow
              • core_flows.Inventory.Workflows_Inventory.createInventoryLevelsWorkflow
              • core_flows.Inventory.Workflows_Inventory.deleteInventoryItemWorkflow
              • core_flows.Inventory.Workflows_Inventory.deleteInventoryLevelsWorkflow
              • core_flows.Inventory.Workflows_Inventory.updateInventoryItemsWorkflow
              • core_flows.Inventory.Workflows_Inventory.updateInventoryLevelsWorkflow
          • Invite/Workflows_Invite/functions
            • core_flows.Invite.Workflows_Invite.acceptInviteWorkflow
            • core_flows.Invite.Workflows_Invite.createInvitesWorkflow
            • core_flows.Invite.Workflows_Invite.deleteInvitesWorkflow
            • core_flows.Invite.Workflows_Invite.refreshInviteTokensWorkflow
          • Line_Item/Workflows_Line_Item/functions/core_flows.Line_Item.Workflows_Line_Item.deleteLineItemsWorkflow
          • Order
            • Steps_Order/functions
              • core_flows.Order.Steps_Order.addOrderTransactionStep
              • core_flows.Order.Steps_Order.cancelOrderChangeStep
              • core_flows.Order.Steps_Order.declineOrderChangeStep
              • core_flows.Order.Steps_Order.deleteClaimsStep
              • core_flows.Order.Steps_Order.deleteExchangesStep
              • core_flows.Order.Steps_Order.deleteOrderChangeActionsStep
              • core_flows.Order.Steps_Order.deleteOrderChangesStep
              • core_flows.Order.Steps_Order.deleteOrderLineItems
              • core_flows.Order.Steps_Order.deleteOrderShippingMethods
              • core_flows.Order.Steps_Order.deleteReturnsStep
              • core_flows.Order.Steps_Order.updateOrderChangeActionsStep
              • core_flows.Order.Steps_Order.updateOrderChangesStep
              • core_flows.Order.Steps_Order.updateOrderShippingMethodsStep
              • core_flows.Order.Steps_Order.updateReturnsStep
            • Workflows_Order/functions
              • core_flows.Order.Workflows_Order.acceptOrderTransferWorkflow
              • core_flows.Order.Workflows_Order.addOrderLineItemsWorkflow
              • core_flows.Order.Workflows_Order.archiveOrderWorkflow
              • core_flows.Order.Workflows_Order.beginClaimOrderWorkflow
              • core_flows.Order.Workflows_Order.beginExchangeOrderWorkflow
              • core_flows.Order.Workflows_Order.beginOrderEditOrderWorkflow
              • core_flows.Order.Workflows_Order.beginReceiveReturnWorkflow
              • core_flows.Order.Workflows_Order.beginReturnOrderWorkflow
              • core_flows.Order.Workflows_Order.cancelBeginOrderClaimWorkflow
              • core_flows.Order.Workflows_Order.cancelBeginOrderEditWorkflow
              • core_flows.Order.Workflows_Order.cancelBeginOrderExchangeWorkflow
              • core_flows.Order.Workflows_Order.cancelOrderChangeWorkflow
              • core_flows.Order.Workflows_Order.cancelOrderClaimWorkflow
              • core_flows.Order.Workflows_Order.cancelOrderExchangeWorkflow
              • core_flows.Order.Workflows_Order.cancelOrderFulfillmentWorkflow
              • core_flows.Order.Workflows_Order.cancelOrderTransferRequestWorkflow
              • core_flows.Order.Workflows_Order.cancelOrderWorkflow
              • core_flows.Order.Workflows_Order.cancelReturnReceiveWorkflow
              • core_flows.Order.Workflows_Order.cancelReturnRequestWorkflow
              • core_flows.Order.Workflows_Order.cancelReturnWorkflow
              • core_flows.Order.Workflows_Order.completeOrderWorkflow
              • core_flows.Order.Workflows_Order.computeAdjustmentsForPreviewWorkflow
              • core_flows.Order.Workflows_Order.confirmClaimRequestWorkflow
              • core_flows.Order.Workflows_Order.confirmExchangeRequestWorkflow
              • core_flows.Order.Workflows_Order.confirmOrderEditRequestWorkflow
              • core_flows.Order.Workflows_Order.confirmReturnReceiveWorkflow
              • core_flows.Order.Workflows_Order.confirmReturnRequestWorkflow
              • core_flows.Order.Workflows_Order.createAndCompleteReturnOrderWorkflow
              • core_flows.Order.Workflows_Order.createClaimShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.createExchangeShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.createOrUpdateOrderPaymentCollectionWorkflow
              • core_flows.Order.Workflows_Order.createOrderChangeActionsWorkflow
              • core_flows.Order.Workflows_Order.createOrderChangeWorkflow
              • core_flows.Order.Workflows_Order.createOrderCreditLinesWorkflow
              • core_flows.Order.Workflows_Order.createOrderEditShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.createOrderFulfillmentWorkflow
              • core_flows.Order.Workflows_Order.createOrderPaymentCollectionWorkflow
              • core_flows.Order.Workflows_Order.createOrderShipmentWorkflow
              • core_flows.Order.Workflows_Order.createOrderWorkflow
              • core_flows.Order.Workflows_Order.createOrdersWorkflow
              • core_flows.Order.Workflows_Order.createReturnShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.declineOrderChangeWorkflow
              • core_flows.Order.Workflows_Order.declineOrderTransferRequestWorkflow
              • core_flows.Order.Workflows_Order.deleteOrderChangeActionsWorkflow
              • core_flows.Order.Workflows_Order.deleteOrderChangeWorkflow
              • core_flows.Order.Workflows_Order.deleteOrderPaymentCollections
              • core_flows.Order.Workflows_Order.dismissItemReturnRequestWorkflow
              • core_flows.Order.Workflows_Order.fetchShippingOptionForOrderWorkflow
              • core_flows.Order.Workflows_Order.getOrderDetailWorkflow
              • core_flows.Order.Workflows_Order.getOrdersListWorkflow
              • core_flows.Order.Workflows_Order.listShippingOptionsForOrderWorkflow
              • core_flows.Order.Workflows_Order.markOrderFulfillmentAsDeliveredWorkflow
              • core_flows.Order.Workflows_Order.markPaymentCollectionAsPaid
              • core_flows.Order.Workflows_Order.maybeRefreshShippingMethodsWorkflow
              • core_flows.Order.Workflows_Order.onCarryPromotionsFlagSet
              • core_flows.Order.Workflows_Order.orderClaimAddNewItemWorkflow
              • core_flows.Order.Workflows_Order.orderClaimItemWorkflow
              • core_flows.Order.Workflows_Order.orderClaimRequestItemReturnWorkflow
              • core_flows.Order.Workflows_Order.orderEditAddNewItemWorkflow
              • core_flows.Order.Workflows_Order.orderEditUpdateItemQuantityWorkflow
              • core_flows.Order.Workflows_Order.orderExchangeAddNewItemWorkflow
              • core_flows.Order.Workflows_Order.orderExchangeRequestItemReturnWorkflow
              • core_flows.Order.Workflows_Order.receiveAndCompleteReturnOrderWorkflow
              • core_flows.Order.Workflows_Order.receiveItemReturnRequestWorkflow
              • core_flows.Order.Workflows_Order.removeAddItemClaimActionWorkflow
              • core_flows.Order.Workflows_Order.removeClaimShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.removeExchangeShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.removeItemClaimActionWorkflow
              • core_flows.Order.Workflows_Order.removeItemExchangeActionWorkflow
              • core_flows.Order.Workflows_Order.removeItemOrderEditActionWorkflow
              • core_flows.Order.Workflows_Order.removeItemReceiveReturnActionWorkflow
              • core_flows.Order.Workflows_Order.removeItemReturnActionWorkflow
              • core_flows.Order.Workflows_Order.removeOrderEditShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.removeReturnShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.requestItemReturnWorkflow
              • core_flows.Order.Workflows_Order.requestOrderEditRequestWorkflow
              • core_flows.Order.Workflows_Order.requestOrderTransferWorkflow
              • core_flows.Order.Workflows_Order.throwUnlessStatusIsNotPaid
              • core_flows.Order.Workflows_Order.updateClaimAddItemWorkflow
              • core_flows.Order.Workflows_Order.updateClaimItemWorkflow
              • core_flows.Order.Workflows_Order.updateClaimShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.updateExchangeAddItemWorkflow
              • core_flows.Order.Workflows_Order.updateExchangeShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.updateOrderChangeActionsWorkflow
              • core_flows.Order.Workflows_Order.updateOrderChangeWorkflow
              • core_flows.Order.Workflows_Order.updateOrderChangesWorkflow
              • core_flows.Order.Workflows_Order.updateOrderEditAddItemWorkflow
              • core_flows.Order.Workflows_Order.updateOrderEditItemQuantityWorkflow
              • core_flows.Order.Workflows_Order.updateOrderEditShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.updateOrderTaxLinesWorkflow
              • core_flows.Order.Workflows_Order.updateOrderWorkflow
              • core_flows.Order.Workflows_Order.updateReceiveItemReturnRequestWorkflow
              • core_flows.Order.Workflows_Order.updateRequestItemReturnWorkflow
              • core_flows.Order.Workflows_Order.updateReturnShippingMethodWorkflow
              • core_flows.Order.Workflows_Order.updateReturnWorkflow
              • core_flows.Order.Workflows_Order.validateOrderCreditLinesStep
          • Payment_Collection
            • Steps_Payment_Collection/functions
              • core_flows.Payment_Collection.Steps_Payment_Collection.createPaymentSessionStep
              • core_flows.Payment_Collection.Steps_Payment_Collection.deletePaymentSessionsStep
              • core_flows.Payment_Collection.Steps_Payment_Collection.updateRefundReasonsStep
            • Workflows_Payment_Collection/functions
              • core_flows.Payment_Collection.Workflows_Payment_Collection.createPaymentSessionsWorkflow
              • core_flows.Payment_Collection.Workflows_Payment_Collection.createRefundReasonsWorkflow
              • core_flows.Payment_Collection.Workflows_Payment_Collection.deletePaymentSessionsWorkflow
              • core_flows.Payment_Collection.Workflows_Payment_Collection.deleteRefundReasonsWorkflow
              • core_flows.Payment_Collection.Workflows_Payment_Collection.updateRefundReasonsWorkflow
          • Payment
            • Steps_Payment/functions/core_flows.Payment.Steps_Payment.refundPaymentsStep
            • Workflows_Payment/functions
              • core_flows.Payment.Workflows_Payment.capturePaymentWorkflow
              • core_flows.Payment.Workflows_Payment.processPaymentWorkflow
              • core_flows.Payment.Workflows_Payment.refundPaymentWorkflow
              • core_flows.Payment.Workflows_Payment.refundPaymentsWorkflow
              • core_flows.Payment.Workflows_Payment.validateRefundPaymentExceedsCapturedAmountStep
          • Price_List
            • Steps_Price_List/functions/core_flows.Price_List.Steps_Price_List.validatePriceListsStep
            • Workflows_Price_List/functions
              • core_flows.Price_List.Workflows_Price_List.batchPriceListPricesWorkflow
              • core_flows.Price_List.Workflows_Price_List.createPriceListPricesWorkflow
              • core_flows.Price_List.Workflows_Price_List.createPriceListsWorkflow
              • core_flows.Price_List.Workflows_Price_List.deletePriceListsWorkflow
              • core_flows.Price_List.Workflows_Price_List.removePriceListPricesWorkflow
              • core_flows.Price_List.Workflows_Price_List.updatePriceListPricesWorkflow
              • core_flows.Price_List.Workflows_Price_List.updatePriceListsWorkflow
          • Pricing/Workflows_Pricing/functions
            • core_flows.Pricing.Workflows_Pricing.createPricePreferencesWorkflow
            • core_flows.Pricing.Workflows_Pricing.deletePricePreferencesWorkflow
            • core_flows.Pricing.Workflows_Pricing.updatePricePreferencesWorkflow
          • Product_Category/Workflows_Product_Category/functions
            • core_flows.Product_Category.Workflows_Product_Category.createProductCategoriesWorkflow
            • core_flows.Product_Category.Workflows_Product_Category.deleteProductCategoriesWorkflow
            • core_flows.Product_Category.Workflows_Product_Category.updateProductCategoriesWorkflow
          • Product
            • Steps_Product/functions/core_flows.Product.Steps_Product.createCollectionsStep
            • Workflows_Product/functions
              • core_flows.Product.Workflows_Product.batchImageVariantsWorkflow
              • core_flows.Product.Workflows_Product.batchLinkProductsToCategoryWorkflow
              • core_flows.Product.Workflows_Product.batchLinkProductsToCollectionWorkflow
              • core_flows.Product.Workflows_Product.batchProductVariantsWorkflow
              • core_flows.Product.Workflows_Product.batchProductsWorkflow
              • core_flows.Product.Workflows_Product.batchVariantImagesWorkflow
              • core_flows.Product.Workflows_Product.createCollectionsWorkflow
              • core_flows.Product.Workflows_Product.createProductOptionsWorkflow
              • core_flows.Product.Workflows_Product.createProductTagsWorkflow
              • core_flows.Product.Workflows_Product.createProductTypesWorkflow
              • core_flows.Product.Workflows_Product.createProductVariantsWorkflow
              • core_flows.Product.Workflows_Product.createProductsWorkflow
              • core_flows.Product.Workflows_Product.deleteCollectionsWorkflow
              • core_flows.Product.Workflows_Product.deleteProductOptionsWorkflow
              • core_flows.Product.Workflows_Product.deleteProductTagsWorkflow
              • core_flows.Product.Workflows_Product.deleteProductTypesWorkflow
              • core_flows.Product.Workflows_Product.deleteProductVariantsWorkflow
              • core_flows.Product.Workflows_Product.deleteProductsWorkflow
              • core_flows.Product.Workflows_Product.exportProductsWorkflow
              • core_flows.Product.Workflows_Product.importProductsAsChunksWorkflow
              • core_flows.Product.Workflows_Product.importProductsWorkflow
              • core_flows.Product.Workflows_Product.updateCollectionsWorkflow
              • core_flows.Product.Workflows_Product.updateProductOptionsWorkflow
              • core_flows.Product.Workflows_Product.updateProductTagsWorkflow
              • core_flows.Product.Workflows_Product.updateProductTypesWorkflow
              • core_flows.Product.Workflows_Product.updateProductVariantsWorkflow
              • core_flows.Product.Workflows_Product.updateProductsWorkflow
              • core_flows.Product.Workflows_Product.upsertVariantPricesWorkflow
          • Promotion/Workflows_Promotion/functions
            • core_flows.Promotion.Workflows_Promotion.addOrRemoveCampaignPromotionsWorkflow
            • core_flows.Promotion.Workflows_Promotion.batchPromotionRulesWorkflow
            • core_flows.Promotion.Workflows_Promotion.createCampaignsWorkflow
            • core_flows.Promotion.Workflows_Promotion.createPromotionRulesWorkflow
            • core_flows.Promotion.Workflows_Promotion.createPromotionsWorkflow
            • core_flows.Promotion.Workflows_Promotion.deleteCampaignsWorkflow
            • core_flows.Promotion.Workflows_Promotion.deletePromotionRulesWorkflow
            • core_flows.Promotion.Workflows_Promotion.deletePromotionsWorkflow
            • core_flows.Promotion.Workflows_Promotion.updateCampaignsWorkflow
            • core_flows.Promotion.Workflows_Promotion.updatePromotionRulesWorkflow
            • core_flows.Promotion.Workflows_Promotion.updatePromotionsStatusWorkflow
            • core_flows.Promotion.Workflows_Promotion.updatePromotionsValidationStep
            • core_flows.Promotion.Workflows_Promotion.updatePromotionsWorkflow
          • Region/Workflows_Region/functions
            • core_flows.Region.Workflows_Region.createRegionsWorkflow
            • core_flows.Region.Workflows_Region.deleteRegionsWorkflow
            • core_flows.Region.Workflows_Region.updateRegionsWorkflow
          • Reservation/Workflows_Reservation/functions
            • core_flows.Reservation.Workflows_Reservation.createReservationsWorkflow
            • core_flows.Reservation.Workflows_Reservation.deleteReservationsByLineItemsWorkflow
            • core_flows.Reservation.Workflows_Reservation.deleteReservationsWorkflow
            • core_flows.Reservation.Workflows_Reservation.updateReservationsWorkflow
          • Return_Reason/Workflows_Return_Reason/functions
            • core_flows.Return_Reason.Workflows_Return_Reason.createReturnReasonsWorkflow
            • core_flows.Return_Reason.Workflows_Return_Reason.deleteReturnReasonsWorkflow
            • core_flows.Return_Reason.Workflows_Return_Reason.updateReturnReasonsWorkflow
          • Sales_Channel/Workflows_Sales_Channel/functions
            • core_flows.Sales_Channel.Workflows_Sales_Channel.createSalesChannelsWorkflow
            • core_flows.Sales_Channel.Workflows_Sales_Channel.deleteSalesChannelsWorkflow
            • core_flows.Sales_Channel.Workflows_Sales_Channel.linkProductsToSalesChannelWorkflow
            • core_flows.Sales_Channel.Workflows_Sales_Channel.updateSalesChannelsWorkflow
          • Settings
            • Steps_Settings/functions
              • core_flows.Settings.Steps_Settings.setActiveViewConfigurationStep
              • core_flows.Settings.Steps_Settings.updateViewConfigurationStep
            • Workflows_Settings/functions
              • core_flows.Settings.Workflows_Settings.createViewConfigurationWorkflow
              • core_flows.Settings.Workflows_Settings.updateViewConfigurationWorkflow
          • Shipping_Options/Workflows_Shipping_Options/functions
            • core_flows.Shipping_Options.Workflows_Shipping_Options.createShippingOptionTypesWorkflow
            • core_flows.Shipping_Options.Workflows_Shipping_Options.deleteShippingOptionTypesWorkflow
            • core_flows.Shipping_Options.Workflows_Shipping_Options.updateShippingOptionTypesWorkflow
          • Shipping_Profile/Workflows_Shipping_Profile/functions/core_flows.Shipping_Profile.Workflows_Shipping_Profile.deleteShippingProfileWorkflow
          • Stock_Location
            • Steps_Stock_Location/functions/core_flows.Stock_Location.Steps_Stock_Location.createStockLocations
            • Workflows_Stock_Location/functions
              • core_flows.Stock_Location.Workflows_Stock_Location.createLocationFulfillmentSetWorkflow
              • core_flows.Stock_Location.Workflows_Stock_Location.createStockLocationsWorkflow
              • core_flows.Stock_Location.Workflows_Stock_Location.deleteStockLocationsWorkflow
              • core_flows.Stock_Location.Workflows_Stock_Location.linkSalesChannelsToStockLocationWorkflow
              • core_flows.Stock_Location.Workflows_Stock_Location.updateStockLocationsWorkflow
          • Store/Workflows_Store/functions
            • core_flows.Store.Workflows_Store.createStoresWorkflow
            • core_flows.Store.Workflows_Store.deleteStoresWorkflow
            • core_flows.Store.Workflows_Store.updateStoresWorkflow
          • Tax/Workflows_Tax/functions
            • core_flows.Tax.Workflows_Tax.createTaxRateRulesWorkflow
            • core_flows.Tax.Workflows_Tax.createTaxRatesWorkflow
            • core_flows.Tax.Workflows_Tax.createTaxRegionsWorkflow
            • core_flows.Tax.Workflows_Tax.deleteTaxRateRulesWorkflow
            • core_flows.Tax.Workflows_Tax.deleteTaxRatesWorkflow
            • core_flows.Tax.Workflows_Tax.deleteTaxRegionsWorkflow
            • core_flows.Tax.Workflows_Tax.setTaxRateRulesWorkflow
            • core_flows.Tax.Workflows_Tax.updateTaxRatesWorkflow
            • core_flows.Tax.Workflows_Tax.updateTaxRegionsWorkflow
          • User/Workflows_User/functions
            • core_flows.User.Workflows_User.createUserAccountWorkflow
            • core_flows.User.Workflows_User.createUsersWorkflow
            • core_flows.User.Workflows_User.deleteUsersWorkflow
            • core_flows.User.Workflows_User.removeUserAccountWorkflow
            • core_flows.User.Workflows_User.updateUsersWorkflow
        • currency_models/variables/currency_models.Currency
        • customer_models/variables
        • fulfillment_models
          • types
            • fulfillment_models.GeoZoneSchema
            • fulfillment_models.ServiceZoneSchema
          • variables
            • fulfillment_models.FulfillmentAddress
            • fulfillment_models.FulfillmentItem
            • fulfillment_models.FulfillmentLabel
            • fulfillment_models.FulfillmentProvider
            • fulfillment_models.FulfillmentSet
            • fulfillment_models.Fulfillment
            • fulfillment_models.GeoZone
            • fulfillment_models.ServiceZone
            • fulfillment_models.ShippingOptionRule
            • fulfillment_models.ShippingOptionType
            • fulfillment_models.ShippingOption
            • fulfillment_models.ShippingProfile
        • inventory_next_models/variables
          • inventory_next_models.InventoryItem
          • inventory_next_models.InventoryLevel
          • inventory_next_models.ReservationItem
        • js_sdk/admin
          • Admin/properties/js_sdk.admin.Admin.order
          • Order/methods/js_sdk.admin.Order.updateOrderChange
        • order_models/variables
        • payment_models/variables
        • pricing_models/variables
        • product_models/variables
        • promotion_models/variables
        • region_models/variables
        • sales_channel_models/variables/sales_channel_models.SalesChannel
        • stock_location_next_models/variables
          • stock_location_next_models.StockLocationAddress
          • stock_location_next_models.StockLocation
        • store_models/variables
        • tax_models/variables
        • types/CachingTypes/interfaces/types.CachingTypes.ICachingModuleService
        • user_models/variables
    • utils/generated/typedoc-json-output

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

500 files changed

+21457
-21438
lines changed

www/apps/resources/generated/edit-dates.mjs

Lines changed: 438 additions & 438 deletions
Large diffs are not rendered by default.

www/apps/resources/references/api_key_models/variables/api_key_models.ApiKey/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ import { TypeList } from "docs-ui"
1010

1111
This documentation provides a reference to the ApiKey data model. It belongs to the API Key Module.
1212

13-
<SourceCodeLink link="https://github.com/medusajs/medusa/blob/e4513fab88f5ba7d5c078d3e251e04b104268a56/packages/modules/api-key/src/models/api-key.ts#L3" />
13+
<SourceCodeLink link="https://github.com/medusajs/medusa/blob/da5d0e3a1430979ab9cda7f239ea7066ded1f7ab/packages/modules/api-key/src/models/api-key.ts#L3" />
1414

1515
<TypeList types={[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the API key.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"token","type":"`TextProperty`","description":"The token of the API key","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"salt","type":"`TextProperty`","description":"Salt used to create the API key token.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"redacted","type":"`TextProperty`","description":"The redacted form of the api key's token. this is useful when showing portion of the token.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`TextProperty`","description":"The title of the API key","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"EnumProperty&#60;[\"publishable\", \"secret\"]&#62;","description":"The type of the API key. Can be `secret` or `publishable`.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`TextProperty`","description":"The ID of the user that created the API key","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_used_at","type":"`DateTimeProperty`","description":"The date the API key was last used.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"revoked_by","type":"`TextProperty`","description":"The ID of the user that revoked the API key","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"revoked_at","type":"`DateTimeProperty`","description":"The date the API key was revoked.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="ApiKey"/>

www/apps/resources/references/auth_models/variables/auth_models.AuthIdentity/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ import { TypeList } from "docs-ui"
1010

1111
This documentation provides a reference to the AuthIdentity data model. It belongs to the Auth Module.
1212

13-
<SourceCodeLink link="https://github.com/medusajs/medusa/blob/e4513fab88f5ba7d5c078d3e251e04b104268a56/packages/modules/auth/src/models/auth-identity.ts#L4" />
13+
<SourceCodeLink link="https://github.com/medusajs/medusa/blob/da5d0e3a1430979ab9cda7f239ea7066ded1f7ab/packages/modules/auth/src/models/auth-identity.ts#L4" />
1414

1515
<TypeList types={[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the auth identity.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_identities","type":"HasMany&#60;[ProviderIdentity](../auth_models.ProviderIdentity/page.mdx)&#62;","description":"The associated `ProviderIdentity` records.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the provider identity.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"entity_id","type":"`TextProperty`","description":"The entity ID of the provider identity","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"`TextProperty`","description":"The ID of the provider that created this identity.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"auth_identity","type":"BelongsTo&#60;[AuthIdentity](./page.mdx)&#62;","description":"The associated `AuthIdentity`.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the auth identity.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_identities","type":"HasMany&#60;[ProviderIdentity](../auth_models.ProviderIdentity/page.mdx)&#62;","description":"The associated `ProviderIdentity` records.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"app_metadata","type":"`JSONProperty`","description":"The app metadata of the auth identity","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"user_metadata","type":"`JSONProperty`","description":"The user metadata of the provider identity.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`JSONProperty`","description":"The provider metadata of the provider identity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"app_metadata","type":"`JSONProperty`","description":"The app metadata of the auth identity","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="AuthIdentity"/>

www/apps/resources/references/auth_models/variables/auth_models.ProviderIdentity/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ import { TypeList } from "docs-ui"
1010

1111
This documentation provides a reference to the ProviderIdentity data model. It belongs to the Auth Module.
1212

13-
<SourceCodeLink link="https://github.com/medusajs/medusa/blob/e4513fab88f5ba7d5c078d3e251e04b104268a56/packages/modules/auth/src/models/provider-identity.ts#L4" />
13+
<SourceCodeLink link="https://github.com/medusajs/medusa/blob/da5d0e3a1430979ab9cda7f239ea7066ded1f7ab/packages/modules/auth/src/models/provider-identity.ts#L4" />
1414

1515
<TypeList types={[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the provider identity.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"entity_id","type":"`TextProperty`","description":"The entity ID of the provider identity","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"`TextProperty`","description":"The ID of the provider that created this identity.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"auth_identity","type":"BelongsTo&#60;[AuthIdentity](../auth_models.AuthIdentity/page.mdx)&#62;","description":"The associated `AuthIdentity`.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the auth identity.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_identities","type":"HasMany&#60;[ProviderIdentity](./page.mdx)&#62;","description":"The associated `ProviderIdentity` records.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the provider identity.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"entity_id","type":"`TextProperty`","description":"The entity ID of the provider identity","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"`TextProperty`","description":"The ID of the provider that created this identity.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"auth_identity","type":"BelongsTo&#60;[AuthIdentity](../auth_models.AuthIdentity/page.mdx)&#62;","description":"The associated `AuthIdentity`.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"user_metadata","type":"`JSONProperty`","description":"The user metadata of the provider identity.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`JSONProperty`","description":"The provider metadata of the provider identity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"app_metadata","type":"`JSONProperty`","description":"The app metadata of the auth identity","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"user_metadata","type":"`JSONProperty`","description":"The user metadata of the provider identity.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`JSONProperty`","description":"The provider metadata of the provider identity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="ProviderIdentity"/>

www/apps/resources/references/auth_provider/classes/auth_provider.AbstractAuthModuleProvider/page.mdx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ class MyAuthProviderService extends AbstractAuthModuleProvider {
175175
// authentication is successful, retrieve the identity
176176
const authIdentity = await authIdentityProviderService.retrieve({
177177
entity_id: data.body.email, // email or some ID
178-
provider: this.provider
179178
})
180179

181180
return {
@@ -215,6 +214,16 @@ class MyAuthProviderService extends AbstractAuthModuleProvider {
215214
}
216215
}
217216

217+
// optional, useful for third-party providers that require a redirect URL
218+
// to continue the authentication flow
219+
// const stateKey = crypto.randomBytes(32).toString("hex")
220+
// const state = {
221+
// callback_url: body?.callback_url ?? this.config_.callbackUrl,
222+
// }
223+
224+
// verify this later in the `validateCallback` method
225+
// await authIdentityService.setState(stateKey, state)
226+
218227
return {
219228
success: true,
220229
location: "some-url.com"
@@ -385,6 +394,16 @@ class MyAuthProviderService extends AbstractAuthModuleProvider {
385394
authIdentityProviderService: AuthIdentityProviderService
386395
): Promise<AuthenticationResponse> {
387396
const isAuthenticated = false
397+
398+
// optional, useful for third-party providers that require a redirect URL
399+
// to continue the authentication flow
400+
// const stateKey = data.query?.state as string
401+
// const state = await authIdentityService.getState(stateKey)
402+
// if (!state) {
403+
// return { success: false, error: "No state provided, or session expired" }
404+
// }
405+
// // use callback URL with the third-party service
406+
// const callbackUrl = state.callback_url
388407
// TODO perform custom logic to authenticate the user
389408
// ...
390409

www/apps/resources/references/caching/interfaces/caching.ICachingModuleService/page.mdx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Items that were set with `options.autoInvalidate: false` are only cleared when y
6666
To invalidate cache by key:
6767

6868
```ts
69-
await cacheModuleService.clear({
69+
await cachingModuleService.clear({
7070
key: "products" // this key would typically be a hash
7171
})
7272
```
@@ -76,7 +76,7 @@ This example will clear the item with the key `products` regardless of its `opti
7676
To invalidate cache by tags:
7777

7878
```ts
79-
await cacheModuleService.clear({
79+
await cachingModuleService.clear({
8080
tags: ["Product:list:*"]
8181
})
8282
```
@@ -86,7 +86,7 @@ This example will clear all items with the tag `Product:list:*` regardless of th
8686
To invalidate only the cache data that were set to automatically invalidate:
8787

8888
```ts
89-
await cacheModuleService.clear({
89+
await cachingModuleService.clear({
9090
tags: ["Product:list:*"],
9191
options: { autoInvalidate: true }
9292
})
@@ -105,7 +105,7 @@ To clear items that were set with `options.autoInvalidate: false`, you must call
105105
To invalidate cache from specific providers:
106106

107107
```ts
108-
await cacheModuleService.clear({
108+
await cachingModuleService.clear({
109109
key: "products",
110110
providers: ["caching-redis", "caching-memcached"]
111111
})
@@ -130,7 +130,7 @@ This method computes a cache key based on the input object. It's useful to gener
130130
### Example
131131

132132
```ts
133-
const key = await cacheModuleService.computeKey({
133+
const key = await cachingModuleService.computeKey({
134134
id: "prod_123",
135135
title: "Product 123"
136136
})
@@ -154,7 +154,7 @@ This method computes cache tags based on the input object. It's useful to genera
154154
### Example
155155

156156
```ts
157-
const tags = await cacheModuleService.computeTags({
157+
const tags = await cachingModuleService.computeTags({
158158
products: [{ id: "prod_123" }, { id: "prod_456" }],
159159
}, {
160160
operation: "updated"
@@ -181,23 +181,23 @@ This method retrieves data from the cache. If neither `key` nor `tags` are provi
181181
To retrieve by key:
182182

183183
```ts
184-
const data = await cacheModuleService.get({
184+
const data = await cachingModuleService.get({
185185
key: "products", // this key would typically be a hash
186186
}) as { id: string; title: string; }
187187
```
188188

189189
To retrieve by tags:
190190

191191
```ts
192-
const data = await cacheModuleService.get({
192+
const data = await cachingModuleService.get({
193193
tags: ["Product:list:*"],
194194
}) as { id: string; title: string; }[]
195195
```
196196

197197
To retrieve by key from specific providers:
198198

199199
```ts
200-
const data = await cacheModuleService.get({
200+
const data = await cachingModuleService.get({
201201
key: "products", // this key would typically be a hash
202202
providers: ["caching-redis", "caching-memcached"]
203203
}) as { id: string; title: string; }
@@ -226,8 +226,8 @@ To store with key:
226226

227227
```ts
228228
const data = { id: "prod_123", title: "Product 123" }
229-
const key = await cacheModuleService.computeKey(data)
230-
await cacheModuleService.set({
229+
const key = await cachingModuleService.computeKey(data)
230+
await cachingModuleService.set({
231231
key,
232232
data
233233
})
@@ -243,8 +243,8 @@ Tags should follow [conventions](https://docs.medusajs.com/infrastructure-module
243243

244244
```ts
245245
const data = [{ id: "prod_123", title: "Product 123" }]
246-
const key = await cacheModuleService.computeKey(data)
247-
await cacheModuleService.set({
246+
const key = await cachingModuleService.computeKey(data)
247+
await cachingModuleService.set({
248248
key,
249249
data,
250250
tags: [`Product:${data[0].id}`, "Product:list:*"]
@@ -255,8 +255,8 @@ To disable auto-invalidation for the item:
255255

256256
```ts
257257
const data = [{ id: "prod_123", title: "Product 123" }]
258-
const key = await cacheModuleService.computeKey(data)
259-
await cacheModuleService.set({
258+
const key = await cachingModuleService.computeKey(data)
259+
await cachingModuleService.set({
260260
key,
261261
data,
262262
options: { autoInvalidate: false }
@@ -269,8 +269,8 @@ To store with specific providers:
269269

270270
```ts
271271
const data = { id: "prod_123", title: "Product 123" }
272-
const key = await cacheModuleService.computeKey(data)
273-
await cacheModuleService.set({
272+
const key = await cachingModuleService.computeKey(data)
273+
await cachingModuleService.set({
274274
key,
275275
data,
276276
providers: [

www/apps/resources/references/cart_models/variables/cart_models.Address/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ import { TypeList } from "docs-ui"
1010

1111
This documentation provides a reference to the Address data model. It belongs to the Cart Module.
1212

13-
<SourceCodeLink link="https://github.com/medusajs/medusa/blob/e4513fab88f5ba7d5c078d3e251e04b104268a56/packages/modules/cart/src/models/address.ts#L3" />
13+
<SourceCodeLink link="https://github.com/medusajs/medusa/blob/da5d0e3a1430979ab9cda7f239ea7066ded1f7ab/packages/modules/cart/src/models/address.ts#L3" />
1414

1515
<TypeList types={[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`TextProperty`","description":"The ID of the customer that the address belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`TextProperty`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`TextProperty`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`TextProperty`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`TextProperty`","description":"The first line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`TextProperty`","description":"The second line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`TextProperty`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`TextProperty`","description":"The ISO 2 country code of the address. For example, `us`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`TextProperty`","description":"The province of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`TextProperty`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`TextProperty`","description":"The phone of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`JSONProperty`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="Address"/>

www/apps/resources/references/cart_models/variables/cart_models.Cart/page.mdx

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

www/apps/resources/references/cart_models/variables/cart_models.CreditLine/page.mdx

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

www/apps/resources/references/cart_models/variables/cart_models.LineItem/page.mdx

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)