Commit Graph

211 Commits

Author SHA1 Message Date
Shahed Nasser
69d22213f4 docs: add missing props to UI components (#13247) 2025-08-20 12:36:57 +03:00
Shahed Nasser
d1a1135328 docs: migrate UI docs (#13245)
* docs: create a new UI docs project (#13233)

* docs: create a new UI docs project

* fix installation errors

* docs: migrate UI docs content to new project (#13241)

* Fix content

* added examples for some components

* finish adding examples

* lint fix

* fix build errors

* delete empty files

* path fixes + refactor

* fix build error
2025-08-20 11:42:25 +03:00
Shahed Nasser
522fc12d7a docs: change from detecting version to since tag (#13127)
* update everything from version to since

* update events

* regenerate oas
2025-08-01 18:22:42 +03:00
Shahed Nasser
a48063ec26 docs: add link to manage metadata section in OAS and API reference (#13102) 2025-07-31 14:42:14 +03:00
Shahed Nasser
9bb4c0306b docs: fix to OAS generator following Zod update + generate API reference (#13030) 2025-07-24 14:36:28 +03:00
Shahed Nasser
b46bbfae12 docs: fix input type of some hooks in workflow reference (#12995) 2025-07-18 18:11:41 +03:00
Shahed Nasser
fc29fc66d2 chore: Fix freshness check script + update Linear SDK (#12991)
* chore: update Linear SDK in docs tools

* fix script

* use relative file path

* use relative file path
2025-07-18 15:56:02 +03:00
Shahed Nasser
a23bbc1cbb docs-util: throw when schema parsing fails (#12846) 2025-06-27 12:52:30 +03:00
Shahed Nasser
fcfd35a157 docs: sort events in reference alphabetically (#12845) 2025-06-27 11:56:36 +03:00
Shahed Nasser
2005188192 docs: fix step detection of useQueryGraphStep (#12842) 2025-06-26 19:02:27 +03:00
Shahed Nasser
7d95eb73d3 docs: update OAS for loyalty plugin (#12836)
* updates

* cleanup

* generate OAS

* update links
2025-06-26 17:22:18 +03:00
github-actions[bot]
7ac734ca21 chore(docs): Updated API Reference (automated) (#12826)
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-06-25 12:18:41 +00:00
Shahed Nasser
93cf79cb0f docs: add loyalty plugin routes to OAS (#12811)
* generated OAS

* remove unused schemas

* generated specs

* add cloud badge for routes

* add to loyalty plugin page

* allow clicking the tooltip
2025-06-24 19:17:55 +03:00
Shahed Nasser
8a88748982 docs: added cloud documentation project (#12711) 2025-06-12 11:29:14 +03:00
Shahed Nasser
009d00f27d docs: redesign table of content (#12647)
* implement toc

* added to projects

* fixes and adapt for references

* added product frontmatter

* remove action menu from 404 pages
2025-05-30 16:55:36 +03:00
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