Commit Graph

1551 Commits

Author SHA1 Message Date
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
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
c26ef84cae docs: added plugins documentation (#10989)
(Should be merged after the next release)

Closes DX-1294
2025-01-27 09:32:53 +00:00
github-actions[bot]
0c5f21e893 chore(docs): Updated UI Reference (automated) (#11166)
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>
2025-01-27 09:28:56 +00:00
github-actions[bot]
2a82596bdf chore(docs): Update version in documentation (automated) (#11164)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-01-27 11:13:08 +02: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
Devdutta Bain
8d0b9f5c69 typo (#11128)
fixed typos for cart ids
2025-01-24 07:31:35 +00: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
Adrien de Peretti
9321920227 fix: Medusa package version should use ~ instead of ^ (#11077)
RESOLVES FRMW-2859
2025-01-22 15:15:30 +00: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
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
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
github-actions[bot]
c3976a312b chore(docs): Update version in documentation (automated) (#11051)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-01-20 15:21:25 +02:00
Eugene Pro
b278ee5ff1 docs: how to add new admin route under existing route (#10652)
* docs: how to add new admin route under existing route

* docs: update about defineRouteConfig

* docs: add new line

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

* docs: add new line

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-01-20 15:21:09 +02:00
Shahed Nasser
d089852ce3 docs: improve content of workflows reference overview page (#11045) 2025-01-20 10:54:32 +02:00
gharbi-mohamed-dev
66898124b1 docs: fix typo in admin translations guide (#11043) 2025-01-20 10:08:28 +02: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
github-actions[bot]
2c966490f4 chore(docs): Update version in documentation (automated) (#11025)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-01-17 18:05:52 +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
8754c2afef docs: update payment docs after removing fields (#10992) 2025-01-17 17:40:52 +02:00
Shahed Nasser
cbcca219e2 docs: fix select code blocks in UI docs (#11010) 2025-01-17 15:20:58 +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
62d543e691 docs: fixes to database transaction docs (#10978) 2025-01-15 19:46:59 +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