Commit Graph

226 Commits

Author SHA1 Message Date
Shahed Nasser
ac24749bd3 docs: generated references after collapse types improvement (#11889) 2025-03-18 16:48:43 +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
github-actions[bot]
7cf66bdbd2 chore(docs): Generated References (automated) (#11795) 2025-03-10 18:22:05 +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
9194385999 docs: fix tag for JS SDK draft order + other fixes (#11747) 2025-03-06 09:11:47 +02:00
github-actions[bot]
af613bbc4e chore(docs): Generated References (automated) (#11718)
Generated the following references:
- `cart`
- `cart_models`
- `core_flows`
- `fulfillment`
- `js_sdk`
- `medusa`
- `modules`
- `order`
- `payment`
- `payment_provider`
- `types`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-03-04 14:14:00 +00:00
github-actions[bot]
6294a71296 chore(docs): Updated API Reference (automated) (#11719)
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-03-04 14:10:22 +00:00
github-actions[bot]
8a36bd4034 chore(docs): Generated DML JSON files (automated) (#11717)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-03-04 15:51:20 +02:00
Shahed Nasser
c2e24b6cfd docs: update OAS of reset password routes (#11711) 2025-03-04 13:28:41 +02:00
Shahed Nasser
40a9cffb34 docs: add more clarification to reset password in API reference (#11695) 2025-03-03 18:09:03 +02:00
Shahed Nasser
82bcdc6271 docs: fix examples in workflows reference (#11688) 2025-03-03 12:20:40 +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
github-actions[bot]
41f070be9a chore(docs): Generated References (automated) (#11579)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-02-24 13:47:40 +02:00
github-actions[bot]
7897bead63 chore(docs): Updated API Reference (automated) (#11396)
* chore(docs): Generated API Reference (automated)

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-02-11 14:46:38 +02:00
github-actions[bot]
dc94e62a6a chore(docs): Generated References (automated) (#11395)
Generated the following references:
- `api_key`
- `auth`
- `cart`
- `core_flows`
- `currency`
- `customer`
- `fulfillment`
- `inventory_next`
- `js_sdk`
- `medusa`
- `medusa_config`
- `modules`
- `modules_sdk`
- `notification`
- `order`
- `payment`
- `payment_models`
- `payment_provider`
- `pricing`
- `product`
- `promotion`
- `region`
- `sales_channel`
- `stock_location_next`
- `store`
- `tax`
- `types`
- `user`
- `utils`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-02-11 12:02:30 +00:00
github-actions[bot]
f22c5fa6af chore(docs): Generated DML JSON files (automated) (#11394)
* chore(docs): Generated DML JSON files (automated)

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-02-11 13:40:36 +02:00
Shahed Nasser
3a6818e3c4 docs: generate OAS after cart promotion fixes (#11351) 2025-02-07 10:12:09 +02:00
Shahed Nasser
b61af03a63 docs: fix description of update cart OAS (#11278) 2025-02-03 14:34:26 +02:00
Shahed Nasser
386ce4b857 docs: fix incorrect hook details shown (#11225) 2025-01-30 12:40:14 +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
github-actions[bot]
3e81962503 chore(docs): Updated API Reference (automated) (#11167)
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-01-27 11:45:04 +00:00
github-actions[bot]
43aa993971 chore(docs): Generated DML JSON files (automated) (#11165)
* chore(docs): Generated DML JSON files (automated)

* changes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-01-27 13:40:47 +02:00
Shahed Nasser
97280cd928 docs-util: fix incorrect workflow extracted in OAS (#11120) 2025-01-23 19:21:16 +02:00
Carlos R. L. Rodrigues
cc73802ab3 chore(order): dml (#10292)
* ../../core/types/src/dml/index.ts

* ../../core/types/src/dml/index.ts

* fix: relationships mapping

* handle nullable foreign keys types

* handle nullable foreign keys types

* handle nullable foreign keys types

* continue to update product category repository

* fix all product category repositories issues

* fix product category service types

* fix product module service types

* fix product module service types

* fix repository template type

* refactor: use a singleton DMLToMikroORM factory instance

Since the MikroORM MetadataStorage is global, we will also have to turn DML
to MikroORM entities conversion use a global bucket as well

* refactor: update product module to use DML in tests

* wip: tests

* WIP product linkable fixes

* continue type fixing and start test fixing

* test: fix more tests

* fix repository

* fix pivot table computaion + fix mikro orm repository

* fix many to many management and configuration

* fix many to many management and configuration

* fix many to many management and configuration

* update product tag relation configuration

* Introduce experimental dml hooks to fix some issues with categories

* more fixes

* fix product tests

* add missing id prefixes

* fix product category handle management

* test: fix more failing tests

* test: make it all green

* test: fix breaking tests

* fix: build issues

* fix: build issues

* fix: more breaking tests

* refactor: fix issues after merge

* refactor: fix issues after merge

* refactor: surpress types error

* test: fix DML failing tests

* improve many to many inference + tests

* Wip fix columns from product entity

* remove product model before create hook and manage handle validation and transformation at the service level

* test: fix breaking unit tests

* fix: product module service to not update handle on product update

* fix define link and joiner config

* test: fix joiner config test

* test: fix joiner config test

* fix joiner config primary keys

* Fix joiner config builder

* Fix joiner config builder

* test: remove only modifier from test

* refactor: remove hooks usage from product collection

* refactor: remove hooks usage from product-option

* refactor: remove hooks usage for computing category handle

* refactor: remove hooks usage from productCategory model

* refactor: remove hooks from DML

* refactor: remove cruft

* order dml

* cleanup

* re add foerign key indexes

* wip

* chore: remove unused types

* wip

* changes

* rm raw

* autoincrement

* wip

* rel

* refactor: cleanup

* migration and models configuration adjustments

* cleanup

* number searchable

* fix random ordering

* fix

* test: fix product-category tests

* test: update breaking DML tests

* test: array assertion to not care about ordering

* fix: temporarily apply id ordering for products

* types

* wip

* WIP type improvements

* update order models

* partially fix types temporarely

* rel

* fix: recursive type issue

* improve type inference breaks

* improve type inference breaks

* update models

* rm nullable

* default value

* repository

* update default value handling

* fix unit tests

* WIP

* toMikroORM

* fix relations

* cascades

* fix

* experimental dml hooks

* rm migration

* serial

* nullable autoincrement

* fix model

* model changes

* fix one to one DML

* order test

* fix addresses

* fix unit tests

* Re align dml entity name inference

* update model table name config

* update model table name config

* revert

* update return relation

* WIP

* hasOne

* models

* fix

* model

* initial commit

* cart service

* order module

* utils unit test

* index engine

* changeset

* merge

* fix hasOne with fk

* update

* free text filter per entity

* tests

* prod category

* property string many to many

* fix big number

* link modules migration set names

* merge

* shipping option rules

* serializer

* unit test

* fix test mikro orm init

* fix test mikro orm init

* Maintain merge object properties

* fix test mikro orm init

* prevent unit test from connecting to db

* wip

* fix test

* fix test

* link test

* schema

* models

* auto increment

* hook

* model hooks

* order

* wip

* orm version

* request return field

* fix return configuration on order model

* workflows

* core flows

* unit test

* test

* base repo

* test

* base repo

* test fix

* inventory move

* locking inventory

* test

* free text fix

* rm timeout mock

* migrate fulfillment values

* v6.4.3

* cleanup

* link-modules update sql

* revert test

* remove fake timers

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
Co-authored-by: Harminder Virk <virk.officials@gmail.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-21 08:04:47 -05:00
Shahed Nasser
24a952a83a docs: fix types with arguments not showing correct properties (#11062) 2025-01-20 18:38:40 +02:00
github-actions[bot]
5b9cb5a2be chore(docs): Updated API Reference (automated) (#11053)
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-01-20 14:38:53 +00:00
github-actions[bot]
8dc8d648f9 chore(docs): Generated References (automated) (#11052)
Generated the following references:
- `core_flows`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-20 13:37:33 +00: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
github-actions[bot]
24441e48df chore(docs): Updated API Reference (automated) (#11030)
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-01-17 16:35:02 +00:00
Shahed Nasser
bff8c0bc93 chore: generate core-flows reference for 2.3.0 (#11028) 2025-01-17 18:17:18 +02:00
github-actions[bot]
e50d0ff369 chore(docs): Generated DML JSON files (automated) (#11026)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-01-17 18:07:05 +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
2a2b387bc3 docs: add additional data description in generated references (#10944) 2025-01-13 20:47:37 +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
4250c292eb docs: fix authentication callback descriptions to include all query parameters (#10932) 2025-01-13 15:12:06 +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
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
edcff0ed16 docs-util: fixes to OAS generator + generate OAS (#10867) 2025-01-07 16:35:55 +02:00
github-actions[bot]
5216ad2f15 chore(docs): Generated References (automated) (#10866)
Generated the following references:
- `auth`
- `auth_provider`
- `core_flows`
- `fulfillment`
- `fulfillment_provider`
- `js_sdk`
- `medusa`
- `modules`
- `modules_sdk`
- `order`
- `payment`
- `stock_location_next`
- `stock_location_next_models`
- `types`
- `utils`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-07 13:14:10 +00: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
97baa56d71 docs: add workflow / step tags (#10731) 2024-12-25 11:04:55 +02:00