Commit Graph

196 Commits

Author SHA1 Message Date
Shahed Nasser
40e73c6ea2 docs: fix broken links utility + uncaught broken links (#12637)
* fix broken links

* update broken links utility

* add missing payment evens

* generate llms

* fix segment link
2025-05-28 17:13:27 +03:00
Shahed Nasser
fb6167eed2 docs: fix loading in order reference pages (#12629) 2025-05-28 10:42:13 +03:00
Shahed Nasser
8303aed701 docs: add support for ignoring hooks (#12599) 2025-05-23 18:48:08 +03:00
Shahed Nasser
04e0b43ed8 docs: document analytics module (#12563) 2025-05-22 15:05:04 +03:00
Shahed Nasser
61d3bdde4a docs-util: extract feature flags in generated OAS (#12554) 2025-05-21 14:25:40 +03:00
Shahed Nasser
bda143673d docs: show hooks in when condition in workflows reference (#12552) 2025-05-21 13:00:15 +03:00
Shahed Nasser
397d353af6 docs: fix timeout in order-related workflows reference (#12533) 2025-05-19 17:30:21 +03:00
Shahed Nasser
b312a7e077 docs: add missing methods in guides and references (#12495)
* initial

* remove unused references
2025-05-15 14:22:23 +03:00
Shahed Nasser
30aa317ff1 docs-util: fix incorrect relations in data model references + other fixes (#12487)
* fix price model incorrect relations

* fix events that don't have workflows showing

* fix notification example
2025-05-15 10:47:45 +03:00
Shahed Nasser
e60d15ea84 docs: fix client side error in references (#12475) 2025-05-14 10:18:37 +03:00
github-actions[bot]
5c36bafc1d chore(docs): Generated References (automated) (#12460)
Generated the following references:
- `_index.mdx`
- `api_key`
- `api_key_models`
- `auth`
- `auth_models`
- `auth_provider`
- `cart`
- `cart_models`
- `core_flows`
- `currency`
- `currency_models`
- `customer`
- `customer_models`
- `events`
- `file`
- `file_service`
- `fulfillment`
- `fulfillment_models`
- `fulfillment_provider`
- `inventory_next`
- `inventory_next_models`
- `js_sdk`
- `locking`
- `medusa`
- `module_events`
- `modules`
- `modules_sdk`
- `notification`
- `notification_service`
- `order`
- `order_models`
- `payment`
- `payment_models`
- `payment_provider`
- `pricing`
- `pricing_models`
- `product`
- `product_models`
- `promotion`
- `promotion_models`
- `region`
- `region_models`
- `sales_channel`
- `sales_channel_models`
- `stock_location_next`
- `stock_location_next_models`
- `store`
- `store_models`
- `tax`
- `tax_models`
- `tax_provider`
- `types`
- `user`
- `user_models`
- `utils`
- `workflows`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-05-13 13:31:57 +00:00
Shahed Nasser
60b1fe0676 docs-util: fix dependencies passed to auth providers (#12445) 2025-05-12 11:00:55 +03:00
Shahed Nasser
30e620a43c docs: support deprecated in API reference (#12438) 2025-05-12 09:10:35 +03:00
Shahed Nasser
9c5f2d0467 docs-util: add note for providers (#12432) 2025-05-09 17:29:52 +03:00
Shahed Nasser
e09b2a4db5 docs: support version in events reference (#12422)
* docs: support version in events reference

* remove changes in events output

* remove events emitted in comments

* remove customer updated event

* check for emitEventStep usage

* fixes
2025-05-09 14:34:15 +03:00
Shahed Nasser
0af6e1f212 docs: add support for keywords in references (#12413) 2025-05-08 16:40:17 +03:00
Shahed Nasser
f81eb51b67 docs: add copy subscriber button (#12405)
* docs: add copy subscriber button

* re-generate

* fixes + update copy button
2025-05-08 12:48:44 +03:00
Shahed Nasser
262064fe96 docs: show events emitted in an API route in the API reference (#12392)
* docs: show events emitted in an API route in the API reference

* fix build error

* support version tag

* add missing property
2025-05-07 14:56:54 +03:00
Shahed Nasser
5d3f1d0118 docs-util: add events to generated OAS (#12390) 2025-05-07 10:44:02 +03:00
Shahed Nasser
91173f3052 docs-util: fix hook parameters not showing when using workflow input (#12382) 2025-05-06 18:34:19 +03:00
Shahed Nasser
ecf3556589 docs-util: add events to workflows reference (#12376) 2025-05-06 16:04:12 +03:00
Shahed Nasser
70a99a2434 docs: generate events reference (#12341)
* docs: generate events reference

* change link in navbar

* fix redirect
2025-05-01 19:39:53 +03:00
Shahed Nasser
91f5ac91a9 docs-util: add script to generate events info (#12340)
* docs-util: add script to generate events info

* add property and parent name to json
2025-05-01 14:44:24 +03:00
Shahed Nasser
2bfe936185 docs-util: support deprecated tag in OAS (#12339) 2025-05-01 11:59:48 +03:00
Shahed Nasser
7cb85ea123 docs-util: fix hook examples not showing in generated references (#12334) 2025-04-30 18:46:39 +03:00
Shahed Nasser
43d282da8b docs: general improvements and additions (#12296) 2025-04-25 19:00:45 +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
7d498227d1 docs: fix core flows reference not generating (#12274) 2025-04-23 19:46:54 +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
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
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
Shahed Nasser
fde85888bd docs-util: handle workflows with intersection hook types (#12099) 2025-04-07 14:00:08 +03:00
Shahed Nasser
82d774b395 docs-util: add a prefix for JS SDK examples in OAS (#11989) 2025-03-26 13:28:23 +02:00
Shahed Nasser
178e034561 docs-util: sort examples to show JS SDK first (#11986) 2025-03-25 19:25:34 +02:00
Shahed Nasser
83e063229b docs-utils: support routes that include global variables (#11976)
* docs-util: support urls that have variable names

* re-generate examples

* disable removing js sdk examples and replace with warning
2025-03-25 15:36:00 +02:00
Shahed Nasser
8a302130b3 docs-util: add JS SDK examples to generated OAS (#11935) 2025-03-25 11:11:48 +02:00
Shahed Nasser
df5ae50612 docs-util: add tool to generate mapping between JS SDK examples and routes (#11933)
* initial implementation

* finish implementation

* add js sdk key
2025-03-21 15:34:52 +02:00
Shahed Nasser
eb2aa8da3c docs-util: collapse types in references (#11888)
* docs-util: collapse types in references

* improve for arrays
2025-03-18 16:49:34 +02:00
Shahed Nasser
cb68a9e67b docs: added how-to guides for architectural modules (#11883)
* added initial how-tos

* finished changes

* generated sidebars
2025-03-18 09:49:19 +02:00
Shahed Nasser
28b0d08591 docs: add documentation for Locking Module (#11824)
* add locking docs

* fix main navbar

* added implementation example links

* generate refs

* update architecture

* fix vale error
2025-03-13 12:20:24 +02:00
Shahed Nasser
ac989a6ed1 moved configurations page 2025-03-11 10:59:29 +02:00
Shahed Nasser
87b041800a fixes + added new sidebars 2025-03-10 08:33:21 +02:00
Shahed Nasser
08ce70a368 docs-util: add exceptions for routes with custom auth middleware (#11755) 2025-03-06 13:05:50 +02:00
Shahed Nasser
e81deb49f8 docs-util: fix freshness check script (#11737)
* docs-util: fix freshness check script

* Update freshness-check.ts
2025-03-05 13:35:28 +02:00
Shahed Nasser
0eadcdd555 docs: updates to tax provider and other provider guides (#11626) 2025-02-26 16:13:05 +02:00
Shahed Nasser
731f118987 docs: fix types for provider docs not generated correctly (#11598) 2025-02-25 14:31:26 +02:00
Shahed Nasser
be566ca6fb docs: fix OAS generator + generate OAS (#11584) 2025-02-24 15:30:38 +02:00
Shahed Nasser
1077993aaa chore: improvements to provider docs (#11451) 2025-02-13 18:11:39 +02:00
Shahed Nasser
49bf934da3 docs-util: fix inline code escape in generated references (#11428) 2025-02-12 19:08:37 +02:00
Shahed Nasser
5c44811cb0 docs: document module providers in plugins (#11360)
* docs: document module providers in plugins

* small fixes

* add missing title
2025-02-07 14:17:14 +02:00