Commit Graph

7546 Commits

Author SHA1 Message Date
Stevche Radevski
05c8a67d8e feat: Add support for creating payment methods to payment module (#11063)
CLOSES CLO-407
2025-01-21 11:31:44 +00:00
Shahed Nasser
cd758067d4 fix(create-medusa-app): fix database name from input not used in setup (#11071) 2025-01-21 12:35:46 +02:00
Adrien de Peretti
13fe2f6776 fix(framework): migration scripts regexp (#11072)
FIXES FRMW-2879

**What**
The exclusion regexp was broken and instead use the ignore options of the glob sync function to properly ignore definition files
2025-01-21 09:34:57 +00:00
Kasper Fabricius Kristensen
d4e042e9ad fix(dashboard,js-sdk,types): Remove redundant body for markAsDelivered (#10964)
Resolves CMRC-623
2025-01-20 17:17:48 +00:00
Shahed Nasser
45b47bf813 fix(medusa): use correct request and response types for batch location levels route (#11055)
Use HTTP types for request / response types of the new batch location levels route
2025-01-20 17:03:07 +00:00
Shahed Nasser
24a952a83a docs: fix types with arguments not showing correct properties (#11062) 2025-01-20 18:38:40 +02:00
Stevche Radevski
a0fc612bf4 feat: Add translations for Macedonian (#11039)
I figured I should at least translate Medusa in my own language 😄 

I did some AI translation first, and did a quick round of obvious improvements. Can be made better but it's pretty good as-is.
2025-01-20 16:37:23 +00:00
Avia-Code
644c8b9d30 fix(dashboard): create sales channel toast type (#11019)
Fixes #11023
2025-01-20 16:04:49 +00: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
Kasper Fabricius Kristensen
147c0e5a35 feat(ui,dashboard): Add DataTable block (#10024)
**What**
- Adds opinionated DataTable block to `@medusajs/ui` 
- Adds new DataTable to `@medusajs/dashboard` that uses the above mentioned block as the primitive.

The PR also replaces the table on /customer-groups and the variants table on /products/:id with the new DataTable, to provide an example of it's usage. The previous DataTable component has been renamed to `_DataTable` and has been deprecated.

**Note**
This PR has a lot of LOC. 5,346 of these changes are the fr.json file, which wasn't formatted correctly before. When adding the new translations needed for this PR the file was formatted which caused each line to change to have the proper indentation.

Resolves CMRC-333
2025-01-20 13:26:12 +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
olivermrbl
402a5c3cd4 chore: Release 2025-01-20 07:41:38 -05:00
olivermrbl
57e9a7a5bf chore: Version packages 2025-01-20 07:41:15 -05:00
Harminder Virk
171088b47a fix: missing dependencies in the framework package (#11049)
In the framework package we are directly importing many uninstalled dependencies. The issue does not occur for transitive dependencies. However, the `glob` package is not a transitive dependency of any production dependency and hence it fails.

Fixes: #11044
Fixes: FRMW-2877
2025-01-20 11:51:44 +00:00
Shahed Nasser
e4487341b6 chore(core-flows): general fixes to core-flows TSDocs (#11046) 2025-01-20 11:11:37 +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
Frane Polić
123d2f45de feat(dashboard): invite UI tweaks (#10999) 2025-01-18 10:50:24 -05:00
Shahed Nasser
2a5f2a5387 fix(cli): fix command description for plugin:db:generate (#11022) 2025-01-18 10:49:23 -05:00
Frane Polić
c1385c7002 fix(core-flows): cart validate sales channel (#11024) 2025-01-18 10:48:58 -05: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
f15fb4d4fa chore(framework): update the TSDocs for a plugin in the medusa config (#10991)
* chore(framework): update the TSDocs for a plugin in the medusa config

* change version
2025-01-17 17:41:05 +02:00
Shahed Nasser
8754c2afef docs: update payment docs after removing fields (#10992) 2025-01-17 17:40:52 +02:00
olivermrbl
dd0417af6d chore: Release 2025-01-17 10:32:22 -05:00
olivermrbl
efe141f54b chore: Version packages 2025-01-17 10:29:04 -05:00
olivermrbl
5faf48b8c2 chore: Add missing minor changeset 2025-01-17 09:29:39 -05:00
Shahed Nasser
544580e6a5 chore(core-flows,types): improve TSDocs for remaining workflows (#11021) 2025-01-17 16:13:00 +02:00
Shahed Nasser
cbcca219e2 docs: fix select code blocks in UI docs (#11010) 2025-01-17 15:20:58 +02:00
Shahed Nasser
c1cbd548e2 chore(core-flows, types): improve TSDocs of tax and region related workflows (#11018) 2025-01-17 15:17:32 +02:00
Adrien de Peretti
0cfaab5bb1 Feat(medusa, cli): plugin db generate (#10988)
RESOLVES FRMW-2875

**What**
Allow to generate migration for plugins. Migration generation defer from project migration generation and therefore we choose to separate responsibility entirely.

The flow is fairly simple, the user run `npx medusa plugin:db:generate` and the script will scan for all available modules in the plugins, gather their models information and generate the appropriate migrations and snapshot (for later generation)

Co-authored-by: Harminder Virk <1706381+thetutlage@users.noreply.github.com>
2025-01-17 12:05:46 +00:00
Shahed Nasser
5582bd2038 chore(core-flows,types): improve TSDocs of user-related workflows (#11017) 2025-01-17 13:41:02 +02:00
Shahed Nasser
bae3ddcde0 chore(core-flows,types): update TSDocs related to promotion workflows (#11014) 2025-01-17 13:01:11 +02:00
Shahed Nasser
7be47354e1 fix(core-flows,medusa): use deleteRefundReasonsWorkflow in delete /admin/refund-reasons/:id (#11012) 2025-01-17 11:22:10 +02:00
Shahed Nasser
c09d7e5ba8 chore(core-flows,types): improve TSDocs of inventory-related workflows (#11013) 2025-01-17 11:07:12 +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
Frane Polić
911eefadbd fix(dashboard): delete user messages (#11004)
CLOSES CMRC-760
2025-01-16 19:20:46 +00:00
Riqwan Thamir
5eab9e7399 feat(promotion,dashboard,types,utils,medusa): Add statuses to promotions (#10950)
what:

- adds a status column to promotion table
- introduce active promotion query
- scope revert, register and compute actions to active promotions
- admin to create and update promotion with statuses

RESOLVES CMRC-845
RESOLVES CMRC-846
RESOLVES CMRC-847
RESOLVES CMRC-848
RESOLVES CMRC-849
RESOLVES CMRC-850
2025-01-16 19:17:22 +00: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
32dd383e9a chore(core-flows,types): improve tsdocs of pricing-related workflows (#11000)
* chore(core-flows,types): improve tsdocs of pricing-related workflows

* fix build error
2025-01-16 20:12:45 +02:00
Shahed Nasser
8e7c13862d chore(core-flows): improve TSDocs for payment workflows / steps (#10998) 2025-01-16 20:12:25 +02:00