Commit Graph

8221 Commits

Author SHA1 Message Date
Shahed Nasser
2bfe936185 docs-util: support deprecated tag in OAS (#12339) 2025-05-01 11:59:48 +03:00
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
7cb85ea123 docs-util: fix hook examples not showing in generated references (#12334) 2025-04-30 18:46:39 +03:00
Frane Polić
8985998756 feat(core-flows, utils): add OrderEdit events (#12320)
* feat(core-flows, utils): add OrderEdit events

* fix: typo
2025-04-30 17:44:39 +02:00
Carlos R. L. Rodrigues
90c61d1898 fix(core-flows): add missing remove remote link (#12326)
* fix(core-flows): add missing remove remote link

* temp disable test
2025-04-30 17:43:37 +02:00
Shahed Nasser
4a9ac0d4be docs: localization with contentful guide (#12202) 2025-04-30 13:27:31 +03:00
Harminder Virk
ceb504db2c feat: add needed methods to the file module and providers (#12325) 2025-04-30 13:17:31 +05:30
AmbroziuBaban
3539066146 fix(dashboard): Admin Global Search broken for variants (#11877)
* fix(dashboard): Admin Global Search broken for variants

* Create small-nails-hang.md

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-30 09:35:29 +02:00
Obad Zafar
4f7fcd7597 docs: fix missing quotation mark in marketplace vendor tutorial curl request (#12315) 2025-04-29 15:45:05 +03:00
Frane Polić
4f6362b1cb fix(design-system): filter/sorting menu error (#12309) 2025-04-29 12:13:12 +02:00
Carlos R. L. Rodrigues
b868a4ef4d feat(index): add filterable fields to link definition (#11898)
* feat(index): add filterable fields to link definition

* rm comment

* break recursion

* validate read only links

* validate filterable

* gql schema array

* link parents

* isInverse

* push id when not present

* Fix ciruclar relationships and add tests to ensure proper behaviour (part 1)

* log and fallback to entity.alias

* cleanup and fixes

* cleanup and fixes

* cleanup and fixes

* fix get attributes

* gql type

* unit test

* array inference

* rm only

* package.json

* pacvkage.json

* fix link retrieval on duplicated entity type and aliases + tests

* link parents as array

* Match only parent entity

* rm comment

* remove hard coded schema

* extend types

* unit test

* test

* types

* pagination type

* type

* fix integration tests

* Improve performance of in selection

* use @@ to filter property

* escape jsonPath

* add Event Bus by default

* changeset

* rm postgres analyze

* estimate count

* new query

* parent aliases

* inner query w/ filter and sort relations

* address comments

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-29 12:10:31 +02:00
Shahed Nasser
8a3f639f01 chore(core-flows): fix note usage in TSDocs (#12318) 2025-04-29 10:49:56 +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
Harminder Virk
552dc52228 test: use shared as integration-tests level (#12278) 2025-04-28 18:41:19 +05:30
LennarX
5f4a859911 feat(apply-i18n-placeholders): extend schema, translate and use in .tsx (#12264)
This extends the `$schema.json` by the 4 placeholders, later used in `product-create-general-section.tsx`. The placeholders affected by this are for the title, subtitle, handle and description. Should be all on this page. There is no plain / hard-coded text left in there. The translations were made for each accordingly.
2025-04-28 10:31:03 +02:00
Shahed Nasser
05b43ecdb5 docs-util: add sidebar link validation in prep script (#12306) 2025-04-28 10:50:02 +03:00
Shahed Nasser
3c967e6753 docs: fix troubleshooting page (#12305) 2025-04-28 10:49:49 +03:00
Frane Polić
d7a273ff2d fix(core-flows): handle inventory kit items in mark-as-shipped/delivered flows (#12269)
* fix(core-flows): handle invetory kit items in mark-as-shipped and mark-as-delivered flows

* fix: typo

* chore: more assertion

* chore: fix comment

* Update packages/core/core-flows/src/order/workflows/create-shipment.ts

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>

* fix: undo comment

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-26 19:38:00 +02: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
69df003968 docs-util: enable internal resolve for workflows sdk reference (#12292) 2025-04-25 10:11:32 +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
Riqwan Thamir
db9483140a fix(medusa): Fix store return API (#12284)
what:

- fixes the middleware to point to the right API route
- adds a test to store return API
2025-04-24 13:25:22 +00: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
cb16f79b8f chore(types): claify province code format in TSDocs (#12283) 2025-04-24 13:53:26 +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
71a5dc448d chore(core-flows, types): add tsdocs for draft orders workflows (#12279) 2025-04-24 11:31:28 +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
876a14eb98 chore(js-sdk): fix TSDocs of draft orders in JS SDK (#12270) 2025-04-23 12:48:13 +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
Harminder Virk
cb53b8a529 feat: upgrade opentelemetry packages to support the latest release (#12266)
Fixes: FRMW-2947
2025-04-23 08:26:03 +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
github-actions[bot]
3a9c19d3c2 chore(docs): Update version in documentation (automated) (#12265)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-04-23 10:46:06 +03:00
olivermrbl
c53d25e442 chore: Release 2025-04-23 09:30:11 +02:00
olivermrbl
2fec5f4aa0 chore: Version packages 2025-04-23 09:27:02 +02: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
Harminder Virk
71a9a7210c fix: oas CLI to convert Windows paths to unix (#12254)
* fix: oas CLI to convert Windows paths to unix

* Create tidy-pigs-heal.md

* refactor: revert to isolate the issue

* refactor: add back the change with logs

* fix: remove external dependency
2025-04-22 14:41:58 +02:00
Frane Polić
ad74ba2ca4 fix(core-flows, link-modules): return fulfillment creation (#12227)
* fix: return fulfillment creation

* chore: changeset

* fix: link

* fix: cancel claim flow

* chore: test fulfillment creation as a part of return lifecycle test

* fix: exchanges cancle flow

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-22 14:33:46 +02:00
Bastien
d2dde19b73 feat(core-flows): emit updated event in update line item workflow (#12119)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-22 14:05:29 +02:00
Harminder Virk
c2fe3f1520 fix: steps to return undefined and still chain the config method (#12255)
Fixes: FRMW-2946
2025-04-22 10:57:15 +00:00