Commit Graph

1139 Commits

Author SHA1 Message Date
Obad Zafar
393ac8d885 docs: fix TypeScript errors in marketplace vendor tutorial (#12302)
The index.ts code example in "Create Workflow" section of the Marketplace Vendor Tutorial contains TypeScript errors that prevent successful compilation:

Missing transform import: The tutorial uses the transform function on line 33, but it's not imported from "@medusajs/framework/workflows-sdk"

TypeScript union type complexity error: When working with the useQueryGraphStep function, TypeScript throws "Expression produces a union type that is too complex to represent" error

Incorrect export name: On line 67, the export is export default createVendorAdminWorkflow but the workflow is defined as createVendorWorkflow (line 24)

These errors make it impossible for developers to follow the tutorial successfully without debugging TypeScript errors.

Closes #12301
2025-05-01 06:58:13 +00:00
Shahed Nasser
4a9ac0d4be docs: localization with contentful guide (#12202) 2025-04-30 13:27:31 +03:00
Obad Zafar
4f7fcd7597 docs: fix missing quotation mark in marketplace vendor tutorial curl request (#12315) 2025-04-29 15:45:05 +03:00
Shahed Nasser
f4fba0986c docs: fix incorrect note usage in some workflow references (#12317) 2025-04-29 10:49:28 +03:00
Shahed Nasser
c1e6b81972 docs: improve installation documentation with diagrams (#12312) 2025-04-28 19:43:28 +03:00
LennarX
f31013104b docs(algolia): rename instructed filename to fit (#12300)
The instructed filename now is the same as in the code-block below (`algolia-sync.ts`) and the instructions don't have naming conflicts (see next step which is instructing to create a file named `product-sync.ts`).
2025-04-28 19:19:06 +03:00
Shahed Nasser
56ded19bf9 docs: fix module name in product review guide (#12310) 2025-04-28 19:17:10 +03:00
Shahed Nasser
3c967e6753 docs: fix troubleshooting page (#12305) 2025-04-28 10:49:49 +03:00
Shahed Nasser
43d282da8b docs: general improvements and additions (#12296) 2025-04-25 19:00:45 +03:00
Alexander Lindkjær
e2a7dbb61b Update 6.3. Using TypeScript Aliases - Alias should run after build, not before (#12272)
https://docs.medusajs.com/learn/configurations/ts-aliases

`npm run resolve:aliases` should run after `medusa build` to change out the aliases in the build output. 

So instead of the current guide
`"build": "npm run resolve:aliases && medusa build"`

I should be 
`"build": "medusa build && npm run resolve:aliases"`
2025-04-25 15:26:06 +00:00
Shahed Nasser
cb92217d03 docs: improve resend guide (#12293)
* docs: improve resend guide

* fix lint error

* more improvements
2025-04-25 12:42:09 +03:00
Shahed Nasser
13071172b3 docs: added mark fulfillment delivered step in digital products recipe (#12290)
* docs: add fulfillment delivered step to digital products recipe

* generate llms

* small change
2025-04-24 19:08:05 +03:00
Shahed Nasser
35d7c143ea docs: improve documetation around error handling in workflows (#12288)
* docs: improve documetation around error handling in workflows

* regenerate
2025-04-24 18:41:28 +03:00
Shahed Nasser
8aed57d453 docs: add note to s3 guide (#12289) 2025-04-24 18:15:30 +03:00
Shahed Nasser
97daa5a41c docs: clarify ISO format for province codes (#12282)
* docs: clarify ISO format for province codes

* regenerate
2025-04-24 15:44:35 +03:00
Shahed Nasser
4946b67152 docs: regenerate core-flows reference + OAS for draft order updates (#12280)
* docs: regenerate core-flows reference for updates in draft orders

* generate OAS
2025-04-24 12:01:46 +03:00
Shahed Nasser
7d498227d1 docs: fix core flows reference not generating (#12274) 2025-04-23 19:46:54 +03:00
Shahed Nasser
54bae210b8 docs: improve database operations docs + added data model repository reference (#12273)
* some changes

* docs: improve database operations docs + add data model repository reference

* regenerate
2025-04-23 19:22:50 +03:00
Shahed Nasser
d9fcf8a621 docs: fix reference of draft orders JS SDK methods (#12271)
* docs: fix reference of draft orders JS SDK methods

* generate
2025-04-23 12:47:46 +03:00
github-actions[bot]
c7065fcd2b chore(docs): Updated API Reference (automated) (#12268)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-04-23 08:50:17 +00:00
github-actions[bot]
acff7887a2 chore(docs): Generated References (automated) (#12267)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-04-23 11:02:29 +03:00
Shahed Nasser
39523ba798 docs: fix badges and tables not showing in code tabs (#12261) 2025-04-23 09:59:08 +03:00
Shahed Nasser
dcb4788af9 docs: fix no lines code block example (#12259) 2025-04-22 19:03:44 +03:00
Shahed Nasser
567d7607cd docs: added a section on loader execution (#12260) 2025-04-22 18:56:01 +03:00
Rick Gao
38710c116e docs: Replace api_key_id with publishable_key_id (#12242)
<img width="1000" alt="image" src="https://github.com/user-attachments/assets/885395f0-0c74-4cf3-a39b-8d6d97ed0a9c" />
2025-04-21 13:32:03 +00:00
Ezequiel Schejtman
c8e8a39e6a docs: Fix typo "documenation" in env vars page.mdx (#12247) 2025-04-21 07:18:05 +00:00
Shahed Nasser
a8a7af46a6 docs: fix revalidate cache guide (#12243) 2025-04-18 19:21:38 +03:00
Shahed Nasser
f3cb8f2e03 docs: fix index.html.md causing 404 (#12241)
* docs: fix index.html.md causing 404

* update next.js

* test

* test

* test

* test

* fix revalidate

* test

* test

* test

* test

* test

* test

* test

* test

* clean up
2025-04-18 18:08:54 +03:00
Shahed Nasser
750b1e9bbf docs: improvements to admin, query, and read-only link docs (#12239)
* improve admin page

* improvemens to query and read-only link docs

* fix build error
2025-04-18 14:41:25 +03:00
Shahed Nasser
9167352778 docs: fix redirect infrastructure modules (#12238)
* docs: fix redirect infrastructure modules

* change middleware
2025-04-18 14:19:55 +03:00
Shahed Nasser
db0fe0fc91 docs: add LLM dropdown menu to documentation pages (#12235)
* docs: add LLM dropdown menu to documentation pages

* fix build errors
2025-04-18 13:18:27 +03:00
Shahed Nasser
a3aa5d7a66 dos: add docs on overriding allowed fields in routes (#12233) 2025-04-18 11:38:36 +03:00
Shahed Nasser
6b1d8cd3d4 docs: add some redirects from v1 to v2 docs (#12229)
* docs: add some redirects from v1 to v2 docs

* remove comment
2025-04-18 10:34:11 +03:00
Shahed Nasser
c8ec59e323 docs: updates to link to other modules docs (#12225) 2025-04-18 09:28:39 +03:00
Vallabh-Mahanta
6a9417a1bb docs: fix step name in long-running workflow documentation (#12215)
* docs: fix step name in long-running workflow documentation

Fixed inconsistency in the step name - updated 'set-step-failure-step' to 'setStepFailureStep' to match the exported function name.

Fixes #12143

* docs: fix step name in long-running workflow documentation

Changed the step ID from "setStepFailureStep" to "set-step-failure-step" as requested to follow kebab-case naming convention for step IDs.

Fixes #12143

* Update page.mdx

I think this is done. Sorry for inconvenience caused by me.

* Update page.mdx

Sorry for the inconvenience.

* Update page.mdx

Sorry for the inconvenience.

* Update page.mdx

---------

Co-authored-by: Your Name <your-email@example.com>
2025-04-17 19:08:52 +03:00
Shahed Nasser
8b5b96a83d docs-util: fix examples in workflow reference that have multiple code (#12223) 2025-04-17 18:47:09 +03:00
Shahed Nasser
f492a1a475 docs: expand on promotion rules (#12218)
* docs: expand on promotion rules

* generate txt
2025-04-17 18:29:57 +03:00
Shahed Nasser
c9fd0422c8 docs: document conditional shipping option prices + expand on price rules (#12217)
* docs: document conditional shipping option prices + expand on price rules

* fix errors
2025-04-17 17:52:10 +03:00
Shahed Nasser
9d27c0c194 docs: add new troubleshooting guides for Query and middlewares (#12214) 2025-04-17 14:18:07 +03:00
Shahed Nasser
eb73bdb478 docs: rename Architectural Modules to Infrastructure Modules (#12212)
* docs: rename Architectural Modules to Infrastructure Modules

* generate again
2025-04-17 13:20:43 +03:00
Shahed Nasser
9abcf7a83a docs: update introduction and homepage following Framework changes (#12211) 2025-04-17 11:40:56 +03:00
Shahed Nasser
42262d41a1 docs: capitalize use of Framework across docs (#12207)
* docs: capitalize use of Framework across docs

* generate llm
2025-04-17 10:40:26 +03:00
Shahed Nasser
b182bbb9a9 docs: add framework to navbar (#12206)
* support link submenu

* updated navbar

* small fix
2025-04-16 18:34:14 +03:00
Shahed Nasser
757ba6cd7f docs: add framework page (#12162)
* initial draft

* finalize page

* fix vale error

* changes to intro

* small fix

* added features list
2025-04-16 17:58:27 +03:00
Shahed Nasser
d98b560f26 docs: add a note to loyalty points guide (#12201) 2025-04-16 14:39:00 +03:00
Shahed Nasser
fe48f825f8 docs: add loyalty points guide (#12130)
* docs: add loyalty points guide

* remove og
2025-04-16 10:58:27 +03:00
Shahed Nasser
a12b5f7456 docs: changes to plugins page (#12190)
* docs: changes to plugins page

* text fix
2025-04-15 10:09:04 +03:00
Rohan
a29214c44d Update page.mdx (#12188)
while returning CartContext.Provider component, unsetCard was missing in the value object
2025-04-15 10:08:49 +03:00
Shahed Nasser
734f4fecbc docs: generate JS SDK reference with fixes (#12161) 2025-04-11 16:42:09 +03:00
Shahed Nasser
cd66cdd2bb docs: generate OAS manually for 2.7.0 (#12158)
* original changes

* changes

* fixes for delete operations

* generate oas
2025-04-11 16:41:39 +03:00