Commit Graph
100 Commits
Author SHA1 Message Date
Shahed Nasser 040b7b274e fix(medusa): use correct request / response types (#11170) 2025-01-29 11:51:30 +01:00
Shahed Nasser 1e6f47d662 docs: fix incorrect path in schedule syncing brands chapter (#11198) 2025-01-29 10:01:36 +02:00
Shahed Nasser f3ae297ee4 docs: change retentionTime from milliseconds to seconds (#11207) 2025-01-29 10:00:41 +02:00
Shahed Nasser a539907ff9 docs: add section on plugin keywords (#11187) 2025-01-28 11:07:52 +02:00
Shahed Nasser a37a9c8023 docs: fix sidebar navigation in API reference (#11179) 2025-01-28 09:02:53 +02:00
Shahed Nasser 12b69049ef docs: add section in update chapter for plugin projects (#11185) 2025-01-27 18:58:09 +02:00
Shahed Nasser 0154c0495d docs: fix tables design + update icons package (#11184) 2025-01-27 18:57:52 +02:00
Shahed Nasser dd487f02e1 docs-util: fix issue with creating StoreProductType OAS schema (#11180) 2025-01-27 17:33:46 +02:00
Shahed Nasser 4ccb489dbe docs: generate references manually for 2.4.0 (#11171) 2025-01-27 17:00:42 +02:00
Shahed Nasser c26ef84cae docs: added plugins documentation (#10989)
(Should be merged after the next release)

Closes DX-1294
2025-01-27 09:32:53 +00:00
Shahed Nasser a135c83f69 docs: update links to MikroORM docs following update (#11096)
* docs: update links to MikroORM docs following update

* update lock file
2025-01-27 11:12:37 +02:00
Shahed Nasser c8fc5edadd docs: add documentation for DataTable (#11095)
* docs: add documentation for DataTable

* update package versions
2025-01-27 11:04:46 +02:00
Shahed Nasser b0a2699e01 docs: fix tanstack query version (#11162) 2025-01-27 09:48:03 +02:00
Shahed Nasser 9462f00f8d docs: add updates documentation (#11146)
- Add chapter on updating Medusa
- Add section in UI docs about updating UI packages in standalone applications

Closes #10927
Closes DX-1282
2025-01-27 07:27:37 +00:00
Shahed Nasser 1d7eeb53ae docs: fix current sidebar not found (#11155) 2025-01-25 18:51:05 +02:00
Shahed Nasser f803157943 docs: generate sidebar for main docs (#11139) 2025-01-24 19:20:02 +02:00
Shahed Nasser 8038a917ee docs: fix sidebar items not showing if they have same title in API reference (#11122) 2025-01-24 18:54:21 +02:00
Shahed Nasser dc3a4b5c40 docs: add troubleshooting for cloudflare s3 (#11143) 2025-01-24 18:51:43 +02:00
Shahed Nasser cdfde0dfac docs: document workflow retention (#11138) 2025-01-24 14:34:24 +02:00
Shahed Nasser 36a08ac133 docs: clarify condition / variable manipulation restriction for workflows and steps (#11125) 2025-01-23 19:29:59 +02:00
Shahed Nasser 97280cd928 docs-util: fix incorrect workflow extracted in OAS (#11120) 2025-01-23 19:21:16 +02:00
Shahed Nasser 2fe98c9712 docs: add a note about installing tanstack query as a dev dependency (#11123) 2025-01-23 19:16:52 +02:00
Shahed Nasser b418fb129a docs: update list of routes accepting additional data (#11119) 2025-01-23 18:12:15 +02:00
Shahed Nasser c4eb36b837 docs: added note in API reference clarifying what schemas are (#11116)
* docs: added note in API reference clarifying what schemas are

* add yarn lock
2025-01-23 17:02:25 +02:00
Shahed Nasser 75ae707e4d chore(ui): add tsdocs for DataTable components (#11087)
Add TSDocs for `DataTable` components to generate better docs for their props
2025-01-22 17:12:44 +00:00
Shahed Nasser 2d0e50624f fix(core-flows): change some types to interfaces (#11061) 2025-01-22 10:29:31 +02:00
Shahed Nasser cd758067d4 fix(create-medusa-app): fix database name from input not used in setup (#11071) 2025-01-21 12:35:46 +02:00
Shahed Nasser 45b47bf813 fix(medusa): use correct request and response types for batch location levels route (#11055)
Use HTTP types for request / response types of the new batch location levels route
2025-01-20 17:03:07 +00:00
Shahed Nasser 24a952a83a docs: fix types with arguments not showing correct properties (#11062) 2025-01-20 18:38:40 +02:00
Shahed Nasser 0d18d5854a docs: fixes for core workflows reference (#11056)
* docs: fix step input / output description not showing

* fix generated example for array types

* show workflow summary in diagram

* fix workflow node width

* hide undefined types
2025-01-20 17:34:02 +02:00
Shahed Nasser af350c3a8b docs: add search to workflows reference (#11054)
* docs: add search to workflows reference

* fix error
2025-01-20 17:02:29 +02:00
Shahed Nasser e4487341b6 chore(core-flows): general fixes to core-flows TSDocs (#11046) 2025-01-20 11:11:37 +02:00
Shahed Nasser d089852ce3 docs: improve content of workflows reference overview page (#11045) 2025-01-20 10:54:32 +02:00
Shahed Nasser 2a5f2a5387 fix(cli): fix command description for plugin:db:generate (#11022) 2025-01-18 10:49:23 -05:00
Shahed Nasser 45847fef19 docs: generate references for v2.3.0 (#11035) 2025-01-17 19:05:02 +02:00
Shahed Nasser 2f7ec55f2e chore: generate types docs reference manually for 2.3.0 (#11034) 2025-01-17 18:39:29 +02:00
Shahed Nasser bff8c0bc93 chore: generate core-flows reference for 2.3.0 (#11028) 2025-01-17 18:17:18 +02:00
Shahed Nasser e3d5457b5c docs: document new migration script option for db:migrate (#10986)
* docs: document new migration script option for db:migrate

* update versions
2025-01-17 17:41:49 +02:00
Shahed Nasser f15fb4d4fa chore(framework): update the TSDocs for a plugin in the medusa config (#10991)
* chore(framework): update the TSDocs for a plugin in the medusa config

* change version
2025-01-17 17:41:05 +02:00
Shahed Nasser 8754c2afef docs: update payment docs after removing fields (#10992) 2025-01-17 17:40:52 +02:00
Shahed Nasser 544580e6a5 chore(core-flows,types): improve TSDocs for remaining workflows (#11021) 2025-01-17 16:13:00 +02:00
Shahed Nasser cbcca219e2 docs: fix select code blocks in UI docs (#11010) 2025-01-17 15:20:58 +02:00
Shahed Nasser c1cbd548e2 chore(core-flows, types): improve TSDocs of tax and region related workflows (#11018) 2025-01-17 15:17:32 +02:00
Shahed Nasser 5582bd2038 chore(core-flows,types): improve TSDocs of user-related workflows (#11017) 2025-01-17 13:41:02 +02:00
Shahed Nasser bae3ddcde0 chore(core-flows,types): update TSDocs related to promotion workflows (#11014) 2025-01-17 13:01:11 +02:00
Shahed Nasser 7be47354e1 fix(core-flows,medusa): use deleteRefundReasonsWorkflow in delete /admin/refund-reasons/:id (#11012) 2025-01-17 11:22:10 +02:00
Shahed Nasser c09d7e5ba8 chore(core-flows,types): improve TSDocs of inventory-related workflows (#11013) 2025-01-17 11:07:12 +02:00
Shahed Nasser 6b6026487d chore: fix manage customer groups of customer OAS (#11011)
* chore: fix manage customer groups of customer OAS

* fix validation error
2025-01-17 10:39:16 +02:00
Shahed Nasser effee5c8bb chore(js-sdk): update TSDocs of auth callback (#11005)
* chore(js-sdk): update TSDocs of auth callback

* generate doc
2025-01-16 20:13:01 +02:00
Shahed Nasser 32dd383e9a chore(core-flows,types): improve tsdocs of pricing-related workflows (#11000)
* chore(core-flows,types): improve tsdocs of pricing-related workflows

* fix build error
2025-01-16 20:12:45 +02:00
Shahed Nasser 8e7c13862d chore(core-flows): improve TSDocs for payment workflows / steps (#10998) 2025-01-16 20:12:25 +02:00
Shahed Nasser b79dc40bc9 chore(core-flows): improve TSDocs of customer and customer groups workflows / steps (#10993)
* improve customer tsdocs

* finished improving tsdocs

* fix build error
2025-01-16 15:29:59 +02:00
Shahed Nasser 52f6cfe922 chore(core-flows,types): improve tsdocs of fulfillment (#10995) 2025-01-16 15:05:01 +02:00
Shahed Nasser 8cd58b3092 chore(core-flows,types): improve TSDocs of cart workflows and steps (#10962)
* chore(core-flows,types): improve TSDocs of cart workflows and steps

* fix build errors

* fix build error

* fix errors
2025-01-16 09:44:52 +02:00
Shahed Nasser 62d543e691 docs: fixes to database transaction docs (#10978) 2025-01-15 19:46:59 +02:00
Shahed Nasser ff739045fa chore(core-flows,types): improve TSDocs of order workflows (#10983) 2025-01-15 19:46:31 +02:00
Shahed Nasser 8c2b4a5951 chore(core-flows,types): improve TSDocs of product workflows (#10966) 2025-01-15 19:46:03 +02:00
Shahed Nasser 044af3f211 docs-util: add exception for workflow examples modification + show summary instead of comment (#10963)
* docs-util: add exception for workflow examples modification + show summary instead of comment

* add currency and country code in example

* add common IDs
2025-01-14 18:47:56 +02:00
Shahed Nasser cf62a0a43c docs: handle step tooltip bug in safari (#10954) 2025-01-14 12:08:59 +02:00
Shahed Nasser fa5d1b65fd docs: small typo fix (#10956) 2025-01-14 12:08:38 +02:00
Shahed Nasser 98e77fad89 docs-util: reorder workflow execution examples (#10955)
* docs-util: reorder workflow execution examples

* reorder again

* add examples header
2025-01-14 11:52:50 +02:00
Shahed Nasser 2a2b387bc3 docs: add additional data description in generated references (#10944) 2025-01-13 20:47:37 +02:00
Shahed Nasser 1b86c17b72 docs-util: remove duplicate union children (#10942) 2025-01-13 19:48:51 +02:00
Shahed Nasser d9ea65dfc4 chore(docs): generate references following latest workflows reference changes (#10943) 2025-01-13 19:48:33 +02:00
Shahed Nasser 60dc8f69c7 chore(core-flows,types): improve tsdocs of workflows [1] (#10940) 2025-01-13 18:09:55 +02:00
Shahed Nasser 4250c292eb docs: fix authentication callback descriptions to include all query parameters (#10932) 2025-01-13 15:12:06 +02:00
Shahed Nasser 55ff7e4dcd docs: add a note about promotion types support in Medusa Admin (#10933) 2025-01-13 15:11:45 +02:00
Shahed Nasser 2a9ca1d1e1 docs: fixes to workflow reference tooling (#10931) 2025-01-13 13:35:04 +02:00
Shahed Nasser 253b642418 docs: fix validation in restaurant-delivery marketplace recipe (#10925) 2025-01-13 11:24:21 +02:00
Shahed Nasser db338e4b5a chore(core-flows,types): add tsdocs for create cart workflow (#10928) 2025-01-13 11:23:58 +02:00
Shahed Nasser c5915451b8 docs-util: add examples generator for workflows and steps (#10914)
* initial changes

* docs-util: generate examples for workflows and steps
2025-01-10 19:16:43 +02:00
Shahed Nasser e82645ba55 docs: typo fixes in execute workflow section (#10911) 2025-01-10 18:20:13 +02:00
Shahed Nasser a126f40bbe docs: DX improvements to a workflow / step reference page (#10906) 2025-01-10 13:47:08 +02:00
Shahed Nasser a607b8e800 docs-util: fix hook input type showing as __type (#10905) 2025-01-10 10:25:17 +02:00
Shahed Nasser ff725090bb fix(types): add missing inventory_items to input of createProductsWorkflow (#10892)
The `createProductsWorkflow` allows passing an `inventory_items` property to assign the inventory items of a product variant, and we even pass it in the `/admin/products` API route when creating a variant, but the workflow's input type doesn't include that property. This PR adds it to the workflow's input type.
2025-01-10 01:23:29 +00:00
Shahed Nasser 44706ef03b docs: add workflow and js sdk reference pages for commerce modules (#10898)
* docs: add workflow and js sdk reference pages for commerce modules

* resolve build errors
2025-01-09 18:19:40 +02:00
Shahed Nasser 1ade80c375 docs: fix colon in api key header (#10893) 2025-01-09 13:38:24 +02:00
Shahed Nasser 3ee15f3b85 docs: add inventory kit conceptual guide (#10891) 2025-01-09 11:59:52 +02:00
Shahed Nasser bd73716bb6 docs-util: add warning on request body change (#10881) 2025-01-08 21:40:46 +02:00
Shahed Nasser 46f987e351 docs-util: fix parsing when function if it has three parameters (#10878)
* docs-util: fix parsing when step when it has three parameters

* fix condition
2025-01-08 16:48:20 +02:00
Shahed Nasser a0e944a7a8 docs: general fixes and additions (#10876) 2025-01-08 16:09:48 +02:00
Shahed Nasser 9427f1e4af docs: added llms.txt (#10873) 2025-01-08 12:27:55 +02:00
Shahed Nasser 8e7d895aa2 docs: update recipes following 2.2 release (#10868) 2025-01-07 17:07:51 +02:00
Shahed Nasser 60fd1cbc6c docs: document dependencies for auth provider (#10865)
* docs: document dependencies for auth provider

* fixes

* document overriding callback url
2025-01-07 16:42:45 +02:00
Shahed Nasser edcff0ed16 docs-util: fixes to OAS generator + generate OAS (#10867) 2025-01-07 16:35:55 +02:00
Shahed Nasser ff3df907ce docs: document create-medusa-app new project name argument (#10834) 2025-01-07 15:02:55 +02:00
Shahed Nasser 936954e0b4 docs: fix divider in API reference + clean up layout (#10861)
* docs: fix divider in API reference + clean up layout

* fix build error
2025-01-07 14:59:39 +02:00
Shahed Nasser 38223e5104 docs: rename remoteLink and remoteQueryConfig (#10836)
* docs: rename remoteLink and remoteQueryConfig

* change version number
2025-01-07 14:43:12 +02:00
Shahed Nasser f8c20e5ee4 docs: document registering user with existing email (#10859) 2025-01-07 12:39:16 +02:00
Shahed Nasser 632600ee11 fix(create-medusa-app): add default storefront url to auth CORS (#10853)
* fix(create-medusa-app): add default storefront url to auth CORS

* add docs cors to store / admin
2025-01-07 11:01:37 +02:00
Shahed Nasser a989c50051 chore: fix version number in tsdocs (#10856) 2025-01-07 10:52:44 +02:00
Shahed Nasser 4c0546a8e9 docs: update storefront development snippets for next.js 15 compatibility (#10843) 2025-01-07 09:02:18 +02:00
Shahed Nasser 9490c265b2 docs: update next.js storefront snippets (#10840) 2025-01-06 16:35:56 +02:00
Shahed Nasser 3253e19b36 chore(ui): general updates and fixes to TSDocs and types (#10753) 2025-01-06 14:22:27 +02:00
Shahed Nasser c440068d49 chore: small tsdoc changes for remoteLink and remoteQueryConfig (#10837) 2025-01-06 14:01:46 +02:00
Shahed Nasser 8224466dd7 docs: fix storefront sections in digital product recipe (#10833) 2025-01-06 13:12:12 +02:00
Shahed Nasser 152a94e1e1 feat(create-medusa-app): improve by adding depth to clone commands (#10812)
Improve command by passing `--depth 1` to decrease download size + improve for slow speed.

Closes TRI-742
2025-01-05 13:24:57 +00:00
Shahed Nasser 18b385aff7 docs: handle product deletion in digital products recipe (#10811) 2025-01-03 17:02:56 +02:00
Shahed Nasser 54e1e70d78 docs: fix cross-project link for Card components (#10794) 2025-01-02 12:51:53 +02:00
Shahed Nasser 0594f37d59 docs: fix highlights in checkout storefront guide (#10793) 2025-01-02 11:37:15 +02:00