Commit Graph
100 Commits
Author SHA1 Message Date
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
Shahed Nasser 36019b7242 chore: fix links to contribution guidelines (#10792) 2025-01-02 10:45:38 +02:00
Shahed Nasser 8e27af552f docs: fix selected variant in storefront guide (#10785) 2025-01-02 09:37:23 +02:00
Shahed Nasser a0a94d5030 docs: fix code tabs in production (#10784) 2024-12-31 16:08:04 +02:00
Shahed Nasser 6780ea9f13 docs: document missing events in reference (#10779) 2024-12-31 12:44:38 +02:00
Shahed Nasser 1e6d56bc18 feat(create-medusa-app): allow passing project name on command line (#10755)
Allow passing the project name on the command line:

```bash
npx create-medusa-app@latest my-project
```
2024-12-29 09:41:15 +00:00
Shahed Nasser 1c355dac36 docs: update and fix UI props docs (#10754) 2024-12-27 14:53:46 +02:00
Shahed Nasser 8839970295 docs: allow scroll with keys (#10752) 2024-12-27 11:12:23 +02:00
Shahed Nasser 65d0a300ce docs: document how to calculate shipping prices in storefront (#10748) 2024-12-27 09:22:35 +02:00
Shahed Nasser 91ebf6d61c docs-util: add publishable api key header parameter to store routes OAS (#10747)
* docs-util: add publishable api key header parameter to store routes OAS

* fix oas
2024-12-26 16:27:55 +02:00
Shahed Nasser b9e7090842 docs: fix and improve details on sending authenticated requests with API token (#10744)
* docs: fix and improve details on sending authenticated requests with API token

* fix security schema
2024-12-26 14:26:57 +02:00
Shahed Nasser ce51c36ecf chore: improve payment provider tsdocs + generate reference (#10742) 2024-12-26 14:11:52 +02:00
Shahed Nasser ee50e67a96 docs: add JS SDK to commerce modules sidebars (#10740) 2024-12-26 13:33:33 +02:00
Shahed Nasser 688e1e60a5 chore(js-sdk): add tags to js-sdk (#10739) 2024-12-26 11:18:02 +02:00
Shahed Nasser ebca8fed28 docs: revise commerce modules overview pages (#10738)
* revise API Key Module overview

* revise auth module

* support ref sidebar items

* remove examples

* revise cart module

* revise currency

* revise customer module

* revise fulfillment module

* revise inventory module

* revise order module

* revise payment

* revise pricing module

* revise product module

* revise promotion module

* revise region module

* revise sales channel module

* revise stock location module

* revise store module

* revise tax module

* revise user module

* lint content + fix snippets
2024-12-26 10:32:16 +02:00
Shahed Nasser 699bb6dc24 fix(core-flows): export updateTaxRegionsStep (#10732)
Export `updateTaxRegionsStep` to ensure it's included in generated references
2024-12-25 09:08:09 +00:00
Shahed Nasser 97baa56d71 docs: add workflow / step tags (#10731) 2024-12-25 11:04:55 +02:00
Shahed Nasser bff031ba8f docs: fix multiple typos in customization chapters (#10727) 2024-12-24 17:29:07 +02:00
Shahed Nasser 8441d2ab9d docs: improve link docs for commerce modules (#10726) 2024-12-24 17:19:39 +02:00
Shahed Nasser 041baafd38 docs: split admin widget zone to pages (#10719) 2024-12-24 12:29:41 +02:00
Shahed Nasser fd1afa8bc9 docs: split events reference across modules (#10711)
* docs: split events reference across modules

* add lint exceptions
2024-12-24 09:54:51 +02:00
Shahed Nasser a4335f2a47 docs: fix typo in extend core flow (#10709)
* docs: fix typo in extend core flow

* small fixes
2024-12-23 18:10:31 +02:00
Shahed Nasser 13ddf27c68 fix(medusa,types,js-sdk): fix request query parameter types for store product routes (#10707)
* fix(medusa,types): fix request query parameter types for store product routes

* fix test errors
2024-12-23 18:10:08 +02:00
Shahed Nasser be9b19eb0f docs: split commerce modules sidebars (#10705) 2024-12-23 18:09:53 +02:00
Shahed Nasser 9a05888538 docs-util: fix query params not retrieved correctly for some routes (#10708) 2024-12-23 17:43:28 +02:00
Shahed Nasser c804ae575b docs-util: fix links in references to current page (#10703) 2024-12-23 16:27:01 +02:00
Shahed Nasser c2c24f40f2 docs: fix typo in CmsModuleService (#10702) 2024-12-23 16:26:47 +02:00
Shahed Nasser 870cb6e88c docs: update typedoc, convert packages to esm, generate references (#10699) 2024-12-23 15:20:09 +02:00
Shahed Nasser 3a0c69fbe0 fix(fulfillment): export schema types (#10700)
Export `ServiceZoneSchema` and `GeoZoneSchema` so that we can infer types correctly in references
2024-12-23 12:58:43 +00:00
Shahed Nasser a399781b9b docs: integrate shipstation guide (#10623)
* first draft

* finalized first draft + added link to sidebar

* fix lint errors

* type changes

* updates to createFulfillment

* updates

* more updates

* add package weight

* added note about package

* fix up order items fulfillment

* add meta image

* address comment
2024-12-23 10:20:19 +02:00
Shahed Nasser 8650e6178e docs: remove duplicate parsed tag items (#10676) 2024-12-19 19:33:23 +02:00
Shahed Nasser 024c55d995 docs: add tags manually to doc pages (#10675) 2024-12-19 18:55:56 +02:00
Shahed Nasser 65007c49f6 docs: support generating sidebar items with tags (#10672)
* docs: support generating sidebar items with tags

* small fix

* fix dependencies

* test

* test fix

* test fix

* test fix

* test fix

* another fix

* revert change

* fix for resources
2024-12-19 18:24:36 +02:00
Shahed Nasser 16ae192456 docs: add tags package to generate tags (#10666)
* initial changes

* finalize implementation

* run generator on prep

* remove tags package from book

* optimization attempt

* test transpile

* test transpile

* rename utils

* rename directory

* add vercel ignore

* add tags to book
2024-12-19 13:15:42 +02:00
Shahed Nasser fec24aa7eb chore: improve tsdocs of fulfillment provider (#10649)
* initial changes

* small changes
2024-12-19 10:04:12 +02:00
Shahed Nasser 9d85e663b8 fix(core-flows): use useQueryGraphStep instead of useQueryStep (#10643)
Replace usage of `useQueryStep` with `useGraphQueryStep` and remove `useQueryStep`, as it's not exported by the package and seems to be a duplicate of `useGraphQueryStep`
2024-12-18 17:18:51 +00:00
Shahed Nasser 570c85538b chore: fix redocly circular dependencies (#10642) 2024-12-17 19:45:57 +02:00
Shahed Nasser 1232a43fce fix(core-flows): export getItemTaxLinesStep (#10640) 2024-12-17 19:31:55 +02:00
Shahed Nasser 0f5d640736 docs: generate references manually for v2.1.2 (#10639)
* docs: manually generate references for v2.1.2

* more changes
2024-12-17 19:20:44 +02:00
Shahed Nasser ee62083c52 docs-util: infer resolved resources in workflow + steps (#10637) 2024-12-17 19:03:00 +02:00
Shahed Nasser 8ded7fd781 docs: document float property (for v2.1.2) (#10575) 2024-12-17 17:13:17 +02:00
Shahed Nasser 2a73d0ac0d docs-util: support @tags comments (#10627)
* support tags in tsdocs + add them in frontmatter

* fixes
2024-12-17 13:07:59 +02:00
Shahed Nasser 612eb78c9e docs: fix expanding of custom relations in customer and product category routes (#10620) 2024-12-16 18:46:57 +02:00
Shahed Nasser e8b7035ba0 docs: add example of Table component with pagination (#10621) 2024-12-16 18:46:36 +02:00
Shahed Nasser 6758d6acb0 docs: add stripe events to provider guide (#10618) 2024-12-16 17:33:55 +02:00
Shahed Nasser 078dcf6554 docs: remove unnecessary log (#10619) 2024-12-16 17:33:07 +02:00
Shahed Nasser 5a9f1b52f4 docs: small wording fix (#10616) 2024-12-16 15:21:45 +02:00
Shahed Nasser f78b410b96 docs: add customize stripe integration in next.js guide (#10583) 2024-12-16 14:58:40 +02:00
Shahed Nasser 7c773fc108 docs: add pivotTable in digital product recipe (#10605) 2024-12-13 19:54:31 +02:00
Shahed Nasser 03803283d6 chore: fix docs freshness check action (#10592) 2024-12-13 09:40:59 +02:00
Shahed Nasser 54118941ef docs-util: support @version tag (#10591) 2024-12-13 09:40:47 +02:00
Shahed Nasser 78d8698a24 docs: document alternatives for conditional operators (#10588)
* docs: document alternatives for conditional operators

* more operators

* fix lint errors
2024-12-12 18:10:29 +02:00
Shahed Nasser ec5c7cf63f docs: add section on updating medusa (#10589) 2024-12-12 18:10:12 +02:00
Shahed Nasser eec450276d docs: improve examples in module link direction (#10590) 2024-12-12 17:59:47 +02:00
Shahed Nasser bbed7af027 docs: document many-to-many with extra columns (#10586) 2024-12-12 17:32:49 +02:00
Shahed Nasser 7f669b8c5f chore: small tsdoc update to dml float property. (#10576) 2024-12-12 15:32:22 +02:00
Shahed Nasser 96648523e0 docs: updates to contribution guidelines (#10578) 2024-12-12 14:47:17 +02:00
Shahed Nasser d070c09185 docs: add documentation on sending requests to custom routes with JS SDK (#10582) 2024-12-12 14:47:00 +02:00
Shahed Nasser 65ad05f74c docs: clarify that stripe module provider is available in application (#10577) 2024-12-12 13:20:00 +02:00
Shahed Nasser bf6d14cb54 docs: fix imports in createBrandStep (#10567) 2024-12-12 10:10:01 +02:00
Shahed Nasser cccce65ef9 docs: fix bugs in API reference (#10557) 2024-12-11 18:32:58 +02:00
Shahed Nasser 91cd9aad47 Merge pull request #10555 from medusajs/chore/tsdocs-docs-util-fixes 2024-12-11 17:53:14 +02:00
Shahed Nasser c3b2b4b438 chore: fixes to tsdocs + docs-util related to providers 2024-12-11 17:27:32 +02:00
Shahed Nasser 2ac6fd82d9 Merge pull request #10548 from medusajs/docs/revise-architectural-modules 2024-12-11 13:15:09 +02:00
Shahed Nasser e64c4c8592 Merge pull request #10545 from medusajs/docs/revise-recipe-examples
docs: revise recipe examples
2024-12-11 13:14:48 +02:00
Shahed Nasser 01aba4b3c0 Merge branch 'develop' into docs/revise-recipe-examples 2024-12-11 12:41:02 +02:00
Shahed Nasser 588d6f9157 fix broken links 2024-12-11 12:40:32 +02:00
Shahed Nasser d289665de9 Merge branch 'develop' into docs/revise-architectural-modules 2024-12-11 12:37:14 +02:00
Shahed Nasser 9acd0f72a6 docs: revise architectural modules documentation 2024-12-11 12:36:16 +02:00
Shahed Nasser 6eb3798510 Merge pull request #10546 from medusajs/docs/fix-module-isolation-typo 2024-12-11 12:35:46 +02:00
Shahed Nasser 1e04f90d93 docs: fix typo in code in module isolation documentation 2024-12-11 12:10:24 +02:00
Shahed Nasser 3cc1b99830 docs: revise recipe examples 2024-12-11 12:07:31 +02:00
Shahed Nasser fd77809158 Merge pull request #10543 from medusajs/docs/when-then-name
* docs: document when-then name

* update when-then blocks across docs

* fix lint errors
2024-12-11 12:06:36 +02:00
Shahed Nasser 35a8224497 fix lint errors 2024-12-11 11:20:07 +02:00