Shahed Nasser
9ea0783494
chore(core-flows): [4] export types and types, add basic TSDocs ( #8509 )
...
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.
PR 4/n
2024-08-08 14:11:52 +00:00
Carlos R. L. Rodrigues
3f5ddc5bce
chore: normalize packages version ( #8492 )
2024-08-08 13:52:05 +00:00
Shahed Nasser
73cc66905a
chore(core-flows): [1] export types and types, add basic TSDocs ( #8504 )
...
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.
PR 1/n
2024-08-08 13:15:44 +00:00
Shahed Nasser
fe200e0bb3
docs-util: added a namespaces plugin ( #8500 )
...
Added a namespaces plugin that allows generating namespaces and automatically adds reflections in a path pattern to the namespace.
This is particularly useful for the workflows reference, as workflows under the `**/packages/core/core-flows/**/workflows/**` path pattern are shown under a Workflows title, and steps under the path pattern `**/packages/core/core-flows/**/steps/**` are shown under a Steps title.
2024-08-08 13:03:42 +00:00
Oli Juhl
c21407afbe
fix(event-bus-redis): Consume job correct in worker ( #8444 )
...
* fix(event-bus-redis): Consume job correct in worker
* fix: Unit tests
* fix event passed to subscriber
* typo
2024-08-08 14:53:42 +02:00
Riqwan Thamir
85ed025705
feat(dashboard,js-sdk,medusa): add ability to add outbound items to claim ( #8502 )
...
what:
- user can add/remove/update outbound items to a claim
- adds API to query variants
Note: There are several paths that are not implemented yet correctly, but have some code lying around. Those will be tackled in the followup PRs
https://github.com/user-attachments/assets/cadb3f7a-982f-44c7-8d7e-9f4f26949f4f
RESOLVES CC-330
RESOLVES CC-296
2024-08-08 12:20:13 +00:00
Harminder Virk
9cd66bc842
feature: share execution context with hook handlers ( #8501 )
2024-08-08 17:18:07 +05:30
Harminder Virk
f831deaf74
cleanup: use WithAdditionalData helper everywhere ( #8499 )
2024-08-08 16:55:15 +05:30
Harminder Virk
08764e3965
feature: add workflows hooks to the order module ( #8496 )
2024-08-08 16:25:11 +05:30
github-actions[bot]
3259b9204c
chore(docs): Generated References ( #8495 )
...
Generated the following references:
- `modules`
- `order`
- `types`
2024-08-08 06:38:28 +00:00
Shahed Nasser
eb09a063dc
chore: fix actions generating docs ( #8486 )
...
* chore: fix actions generating docs
* add to vale tests
2024-08-08 09:22:55 +03:00
Carlos R. L. Rodrigues
0b6bcdd538
chore(core-flows): util to format inventory input ( #8483 )
2024-08-07 15:15:17 -03:00
Riqwan Thamir
d50161fa32
feat(adshboard,types,medusa): enable adding notes/return reason to inbound claims ( #8488 )
...
* wip: setup UI
* wip: rendering modal, adding claim items, create checks
* fix: make form work after merge
* fix: continuation of claim edit
* chore: ability to add and remove items to claim inbound
* chore: minor fixes
* chore: add toast messages on actions
* feat(adshboard,types,medusa): enable adding notes/return reason to inbound items
* chore: fix types in a bunch of places
* chore: add conditional for actions
* Update packages/admin-next/dashboard/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
---------
Co-authored-by: fPolic <mainacc.polic@gmail.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-08-07 19:32:07 +02:00
Carlos R. L. Rodrigues
c017be2a54
chore(utils): improve to handle util ( #8487 )
2024-08-07 11:33:19 -03:00
Riqwan Thamir
eb590417be
feat(core-flows,dashboard,medusa): ability to add and remove items to claim inbound ( #8480 )
...
* wip: setup UI
* wip: rendering modal, adding claim items, create checks
* fix: make form work after merge
* fix: continuation of claim edit
* chore: ability to add and remove items to claim inbound
* chore: minor fixes
---------
Co-authored-by: fPolic <mainacc.polic@gmail.com >
2024-08-07 15:27:04 +02:00
Riqwan Thamir
17567b9f0a
feat(dashboard): claims first implementation ( #8468 )
...
* wip: setup UI
* wip: rendering modal, adding claim items, create checks
* fix: make form work after merge
* fix: continuation of claim edit
---------
Co-authored-by: fPolic <mainacc.polic@gmail.com >
2024-08-07 13:40:31 +02:00
Carlos R. L. Rodrigues
1fb679e785
feat(core-flows): manage inventory reservation of claims and exchanges ( #8448 )
2024-08-07 07:49:58 -03:00
github-actions[bot]
3ac235e098
chore(docs): Generated References (automated) ( #8478 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com >
2024-08-07 12:38:54 +02:00
Harminder Virk
7695d30952
feature: add create and update cart hooks ( #8481 )
2024-08-07 16:00:37 +05:30
Oli Juhl
78eb457487
fix(core-flows): Allow return requests with no shipping ( #8472 )
...
Closes CC-265
2024-08-07 07:48:14 +00:00
Oli Juhl
1e0149ad08
fix(core-flows): Unsetting reason on return items ( #8470 )
2024-08-07 09:33:43 +02:00
Carlos R. L. Rodrigues
3d7dce2bec
fix(core-flows): copy line items attribute ( #8471 )
...
removing `requires_shipping` from variant won't be part of this PR
2024-08-06 18:58:08 +00:00
Christian
04044c984b
chore: update notifcations drawer design ( #8469 )
2024-08-06 18:51:06 +02:00
Christian
bbb891e5c1
feat: add claims/:id endpoint to admin api ( #8465 )
...
Closes [cc-291]
2024-08-06 14:53:40 +02:00
Stevche Radevski
4155d0354f
fix: Use a global reference to distributed transaction and scheduler ( #8462 )
...
* fix: Add storage cleanup on scheduled jobs
* fix: Use a global reference to distributed transaction and scheduler classes
2024-08-06 14:14:51 +02:00
Shahed Nasser
c870302400
docs-util: added workflows typedoc plugin ( #8463 )
...
* initial changes
* finish workflow plugin
* add comments
* remove todo
2024-08-06 14:23:24 +03:00
Riqwan Thamir
0ff5b975e7
feat(core-flows,payment,medusa,types): Refund reasons management API ( #8436 )
...
* feat(core-flows,payment,medusa,types): add ability to set and manage refund reasons
* fix(payment): validate total amount when refunding payment (#8437 )
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* feature: introduce additional_data to the product endpoints (#8405 )
* chore(docs): Generated References (#8440 )
Generated the following references:
- `product`
* chore: align payment database schema
* Update packages/core/core-flows/src/payment-collection/steps/create-refund-reasons.ts
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* chore: address review
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
Co-authored-by: Harminder Virk <virk.officials@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-08-06 11:47:42 +02:00
Harminder Virk
8fb079786d
feature: add hooks to campaigns ( #8450 )
2024-08-06 15:15:41 +05:30
Carlos R. L. Rodrigues
f415e6664c
feat(core-flows,order,medusa): exchange endpoints ( #8396 )
2024-08-06 06:28:27 -03:00
Carlos R. L. Rodrigues
5125d1328d
chore(medusa,core-flows): cart payment collection link ( #8457 )
2024-08-06 06:12:21 -03:00
Shahed Nasser
decd830474
docs: added a note about admin customizations as arrow functions ( #8387 )
2024-08-06 09:44:22 +02:00
Shahed Nasser
f04adaf0c1
chore: added and updated TSDocs of order module service ( #8246 )
...
- Added/updated TSDocs of the order module's service type + other related types.
- Renamed parameter names that were inconsistent / had typos
Note: found some minor inconsistencies in some of the method signatures. Will open a separate PR to resolve them.
Closes DOCS-783
2024-08-06 07:18:31 +00:00
Shahed Nasser
98f42e8995
feat(create-medusa-app, medusa): check Node.js version before installation. ( #8452 )
...
Check before installation with `create-medusa-app` and `medusa new` whether the current node version is >= 20. If not, exit with an error.
2024-08-06 07:15:17 +00:00
github-actions[bot]
413e29837c
chore(docs): Generated References ( #8461 )
...
Generated the following references:
- `medusa`
- `modules`
- `types`
2024-08-06 07:07:15 +00:00
Shahed Nasser
caf1bfd23b
docs: fixes to notification and file module guides ( #8451 )
2024-08-06 09:59:46 +03:00
Shahed Nasser
041019b319
docs: merge allOf in OAS to show all object types ( #8453 )
...
* docs: merge allOf in OAS to show all object types
* add case for non objects
2024-08-06 09:57:09 +03:00
Carlos R. L. Rodrigues
8700896ce6
fix(medusa): plus sign to space ( #8454 )
2024-08-06 08:01:39 +02:00
Carlos R. L. Rodrigues
0ec1d98c33
fix(order): return migration enum ( #8449 )
2024-08-05 11:55:35 +00:00
Shahed Nasser
a1f86fe415
chore(utils): add missing imports in notification TSDocs ( #8447 )
...
Add missing imports in the example snippet of the notification provider.
2024-08-05 11:15:55 +00:00
Stevche Radevski
5c09f0813d
fix: Upgrade bullmq and adjust to breaking changes in repeatable jobs ( #8446 )
2024-08-05 13:00:27 +02:00
Shahed Nasser
2682e2e324
docs: fix sidebar not updating when api reference path changes ( #8409 )
2024-08-05 13:20:53 +03:00
Shahed Nasser
8eb538ff8f
docs: added a section on sending requests to api routes in admin ( #8412 )
2024-08-05 13:20:34 +03:00
Shahed Nasser
b37e976b9a
chore(core-flows): add TSDocs to the emitEventStep ( #8413 )
2024-08-05 13:20:22 +03:00
Harminder Virk
0dab340013
feature: add hooks to customers modules workflows ( #8442 )
2024-08-05 15:16:32 +05:30
Shahed Nasser
e7965db071
docs: added a chapter on how to emit an event ( #8414 )
2024-08-05 11:39:47 +03:00
Shahed Nasser
bb4f002d0a
docs: fix node version in create-medusa-app reference ( #8443 )
...
* docs: fix node version in create-medusa-app reference
* change node version in cli reference
2024-08-05 11:10:55 +03:00
Viktor Bakurin
be8afcaa63
docs: fix ModuleRegistrationName import ( #8434 )
...
Closes #8433
2024-08-05 07:24:27 +00:00
Viktor Bakurin
8cb416e661
docs: fix deployment link ( #8431 )
...
Closes #8430
2024-08-05 07:24:05 +00:00
Viktor Bakurin
ec0a68ec88
docs: fix helloWorldLoader function definition ( #8429 )
...
- Make helloWorldLoader async to follow the type definition
Closes #8428
2024-08-05 07:23:49 +00:00
420coupe
a392b2be0c
Update page.mdx ( #8425 )
...
corrected example to use createNotifications vs create
2024-08-05 07:21:11 +00:00