Commit Graph

2301 Commits

Author SHA1 Message Date
Shahed Nasser
2087c8d155 docs: add best practices doc for third-party syncing (#14203)
* docs: add best practices doc for third-party syncing

* small fix
2025-12-03 15:47:41 +02:00
github-actions[bot]
471ab72ecb chore(docs): Generated References (automated) (#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 796f722aa33abd2033f488a33e0df81903b1b3f2. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup>


Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-12-03 12:01:29 +00:00
github-actions[bot]
b3bcfb7b49 chore(docs): Generated API Reference (automated) (#14200)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-12-03 12:11:56 +02:00
github-actions[bot]
dcaf6d2c61 chore(docs): Update version in documentation (automated) (#14198)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-12-03 10:35:06 +02:00
Shahed Nasser
fe3c28488c docs: improve CORS troubleshooting guide (#14194) 2025-12-03 08:45:21 +02:00
Shahed Nasser
00052b9e50 docs: track code copy + AI assistant event (#14193)
* docs: track code copy + AI assistant event

* add pathname to callback
2025-12-02 17:24:31 +02:00
Shahed Nasser
0158554020 docs: strapi integration guide (#14075) 2025-12-02 12:30:47 +02:00
Shahed Nasser
9372a17d1f docs: generate API reference for 2.12.0 (#14185) 2025-12-02 11:56:37 +02:00
github-actions[bot]
21f61ec160 chore(docs): Generated References (automated) (#14182)
Generated the following references:
- `api_key_models`
- `auth_models`
- `cart_models`
- `core_flows`
- `currency_models`
- `customer_models`
- `file`
- `file_service`
- `fulfillment`
- `fulfillment_models`
- `helper_steps`
- `inventory_next_models`
- `js_sdk`
- `module_events`
- `modules`
- `notification`
- `notification_service`
- `order`
- `order_models`
- `payment`
- `payment_models`
- `pricing_models`
- `product_models`
- `promotion`
- `promotion_models`
- `region_models`
- `sales_channel_models`
- `stock_location_next_models`
- `store_models`
- `tax_models`
- `types`
- `user_models`
- `utils`
- `workflows`


---

> [!NOTE]
> Regenerates documentation references with updated schemas/fields and source links, adds locking guidance to fulfillment delivery workflow, expands notification step IO, and tweaks examples/sample values.
> 
> - **Docs Generation**:
>   - Regenerated reference pages across `core_flows`, `fulfillment`, `inventory`, `order`, etc., with updated TypeList schemas and examples.
> - **Fulfillment Workflows/Steps**:
>   - Updated IO schemas (e.g., added `custom_display_id` on `OrderDTO`, `carry_over_promotions` on `OrderChangeDTO`).
>   - Added locking guidance and workflow steps (`acquireLockStep`/`releaseLockStep`) to `markFulfillmentAsDeliveredWorkflow` plus new note/tag.
>   - Refreshed example snippets and sample values.
> - **Notification Step** (`sendNotificationsStep`):
>   - Input expanded with `from`, `content`, `provider_data`, `attachments`; `template` now optional.
>   - Output includes `provider_data` and `attachments` fields.
> - **Order Steps/Workflows**:
>   - IO schemas updated to include `custom_display_id` and `carry_over_promotions` where applicable; added `ordering` on change actions.
>   - Example payloads adjusted (IDs, currencies, amounts).
> - **Meta**:
>   - Updated `<SourceCodeLink>` URLs to new commit hashes throughout.
> 
> <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit eeb0dac7b19d51860531a491208b2b3b853aa4db. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup>


Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-12-02 06:59:52 +00:00
github-actions[bot]
aba10608ae chore(docs): Updated UI Reference (automated) (#14181)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action


---

> [!NOTE]
> Bumps Medusa UI-related dependencies across apps/packages and updates DatePicker prop type metadata in UI specs.
> 
> - **Dependencies**:
>   - Upgrade `@medusajs/icons` to `2.12.0` across apps/packages.
>   - Upgrade `@medusajs/ui` to `4.0.28` in `apps/api-reference`, `apps/ui`, and `packages/docs-ui`.
>   - Upgrade `@medusajs/ui-preset` to `2.12.0` in `apps/ui` and `packages/tailwind`.
>   - Update `yarn.lock` accordingly.
> - **UI Reference**:
>   - Update `DatePicker` prop type metadata for `onBlur`, `onFocus`, `onKeyDown`, and `onKeyUp` in `apps/ui/specs/components/DatePicker/DatePicker.json`.
> 
> <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 222e08dc7d3aa920103aa9b35c50207dca4dd32f. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup>


Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-12-02 06:52:50 +00:00
github-actions[bot]
fa7bf50077 chore(docs): Generated DML JSON files (automated) (#14180)
This PR holds all generated DML JSON files for the upcoming release.


---

> [!NOTE]
> Updates generated DML JSONs with new fields and a renamed relation across fulfillment, notification, order, and promotion modules.
> 
> - **Fulfillment**:
>   - `ShippingOptionType`: rename `shipping_option` to `shipping_options` (expandable).
> - **Notification**:
>   - `Notification`: add `from` and `provider_data` fields.
> - **Order**:
>   - `OrderLineItemAdjustment`: add `version`.
>   - `Order`: add `custom_display_id`.
>   - `OrderChange`: add `carry_over_promotions` (since v2.12.0).
> - **Promotion**:
>   - `Promotion`: add `limit`, `used`, and `metadata` (since v2.12.0).
> 
> <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 4494c93c2d7bc05cfec47fb1b77f7c4c16383f2b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup>


Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-12-02 06:50:03 +00:00
github-actions[bot]
725b3991b2 chore(docs): Update version in documentation (automated) (#14179)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-12-02 08:43:28 +02:00
Shahed Nasser
223ccb4add docs: docs for next release (#14110) 2025-12-01 20:20:01 +02:00
Shahed Nasser
d9e3965a10 docs: fix highlights in digital products recipe (#14171) 2025-12-01 13:41:14 +02:00
Mouaz K. Allahham
05f21803bb docs: only two options to interact with Medusa application (#14162) 2025-12-01 12:49:52 +02:00
Shahed Nasser
815464e007 docs: clarify how links with cascade deletion are deleted (#14155)
* docs: clarify how links with cascade deletion are deleted

* small change
2025-12-01 09:01:50 +02:00
Shahed Nasser
1e2f40b623 docs: update recipes and tutorials to support locks and idempotency (#14151) 2025-12-01 09:01:25 +02:00
Adrien de Peretti
9d1f09ac7b chore(): Update posthog (#14144)
* chore(): Update posthog

* chore(): Update posthog
2025-11-27 13:24:15 +01:00
Shahed Nasser
ccc8588ea3 docs: mention managed inventory toggle in multi-part product user guide (#14142) 2025-11-27 10:57:51 +02:00
Shahed Nasser
fda7689ed2 docs: fixed keywords usage in some pages (#14140)
* docs: fixed keywords usage in some pages

* fix vale error

* fix vale error
2025-11-27 10:57:39 +02:00
Shahed Nasser
8c19061644 docs: handle product status change in MeiliSearch and Algolia guides (#14141)
* docs: handle product status change in MeiliSearch and Algolia guides

* added missing status field
2025-11-27 10:41:57 +02:00
Shahed Nasser
2cc42ca0ef docs: add guide on clearing cache (#14133)
* docs: add guide on clearing cache

* update llms
2025-11-26 18:00:45 +02:00
Shahed Nasser
c3cebdfe80 docs: fix events payloads (#14131) 2025-11-26 16:12:00 +02:00
Shahed Nasser
c1ede88a7e docs: document locks for nested workflows (#14130)
* docs: document locks for nested workflows

* smal text change

* fix build error
2025-11-26 15:36:58 +02:00
Shahed Nasser
76660fb6cc docs: add keywords to cloud, fixes to installation and Index Module docs (#14129)
* docs: add keywords to cloud, fixes to installation and Index Module docs

* fix vale error
2025-11-26 14:36:29 +02:00
Shahed Nasser
458dc9d22b docs: customer tiers tutorial (#14122)
* docs: customer tiers tutorial

* fix lint error
2025-11-26 10:07:28 +02:00
Shahed Nasser
22ca22a2f0 docs: fix callback validation for third-party authentication (#14109)
* docs: fix callback validation for third-party authentication

* address comment
2025-11-24 15:43:05 +02:00
Shahed Nasser
d6a9e36bf0 docs: updates to billing details (#14096)
* docs: updates to billing details

* fix installation errors
2025-11-24 09:34:52 +02:00
Shahed Nasser
b3f4ddc27c docs: fix filters in meilisearch and algolia guides (#14098) 2025-11-24 08:53:29 +02:00
Adrien de Peretti
beb91d88a2 chore(): Update glob package (#14083)
* chore(): Update glob package

* Create fresh-needles-wave.md
2025-11-19 21:53:32 +01:00
Shahed Nasser
4e1c474dfa docs: emails in cloud (#14040)
* docs: emails in cloud

* add notes to user guides

* small updates

* small change

* fix link

* addressed feedback
2025-11-17 10:54:01 +02:00
Shahed Nasser
2c61a413dc docs: add redis prerequisite for Caching Module (#14051)
* docs: add redis prerequisite for Caching Module

* fix vale error
2025-11-17 09:16:42 +02:00
Shahed Nasser
76fd6d1438 docs: fix required properties marked as optional in OAS with allOf schemas (#14062) 2025-11-14 16:45:48 +02:00
Shahed Nasser
20892aee87 docs: add a copy button to AI assistant answers (#14052) 2025-11-14 16:03:00 +02:00
Dhanush Reddy
178b1e2b47 fix some typos (#14017)
Co-authored-by: William Bouchard <46496014+willbouch@users.noreply.github.com>
2025-11-14 15:54:28 +02:00
khai-pi
b49a4451f0 docs: fix Node.js version text in installation page (#14015)
* Fix Node.js version text in installation page

Node.js version 20 is more stabler than v20+.
Issue found in Node.js version v25.1.0
https://github.com/medusajs/medusa/issues/14011

* Update www/apps/book/app/learn/installation/page.mdx

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-11-13 09:19:22 +02:00
Shahed Nasser
efed4d7346 docs: mobile app guide with react native and expo (#13982)
* docs: mobile app guide with react native and expo

* fix vale error
2025-11-12 12:48:52 +02:00
Shahed Nasser
66d4ba105e docs: generate OAS for 2.11.3 (#13973) 2025-11-12 09:24:54 +02:00
Shahed Nasser
dc6f253d31 docs: add JSON-LD schemas to docs (#14007) 2025-11-07 14:43:50 +02:00
Shahed Nasser
c9648cc9cc docs: added kapa logo + link to mcp server (#14005) 2025-11-07 13:05:25 +02:00
Shahed Nasser
3e9af09ccb docs: add missing middlewares in category images guide (#14001) 2025-11-07 12:03:12 +02:00
Shahed Nasser
9576ef3763 docs-utils: fix type error in react-docs-generator (#14002) 2025-11-07 12:02:56 +02:00
Shahed Nasser
6cd40c9f74 docs: fix broken links in OAS (#14000) 2025-11-07 10:48:37 +02:00
Shahed Nasser
01a5ce949e docs: fix command bar position outside modal in category images guide (#13987) 2025-11-06 19:19:43 +02:00
github-actions[bot]
423b6d94dc chore(docs): Updated UI Reference (automated) (#13968)
* chore(docs): Generated + Updated UI Reference (automated)

* fix react-docs-generator not resolving external types

* sort undefined

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-11-05 18:00:46 +02:00
github-actions[bot]
924d651188 chore(docs): Generated References (automated) (#13969)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-11-05 16:47:09 +02:00
github-actions[bot]
ed5e4a1ef8 chore(docs): Generated DML JSON files (automated) (#13967)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-11-05 14:53:47 +02:00
github-actions[bot]
8bb5bb0722 chore(docs): Update version in documentation (automated) (#13966)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-11-05 14:53:24 +02:00
Shahed Nasser
32f9c15b1b docs: refactor analytics + remove segment (#13954)
* docs: refactor analytics + remove segment

* small refactor of condition
2025-11-04 14:53:56 +02:00
Shahed Nasser
baec64d4f1 docs: added product rental tutorial (#13896)
* docs: added product rental guide

* fix lint errors

* fix build error

* fix vale errors

* gnerate
2025-11-04 13:12:41 +02:00