Commit Graph

5892 Commits

Author SHA1 Message Date
github-actions[bot]
cb33ec5cf1 chore(docs): Generated References (automated) (#8317)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-07-29 09:41:15 +02:00
github-actions[bot]
e40b4c6183 chore(docs): Generated API Reference (v2) (#8318)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-07-29 09:41:02 +02:00
Kasper Fabricius Kristensen
56f634da4b fix(dashboard): Fix CountrySelect (#8301)
Resolves CC-214
2024-07-27 15:27:13 +00:00
Carlos R. L. Rodrigues
d63ca00214 chore(core-flows): return fulfillment link (#8304) 2024-07-27 10:20:48 -03:00
Oli Juhl
feabe0e6c0 feat: update return request (#8302) 2024-07-26 19:41:21 +02:00
Shahed Nasser
a4eab3f37a docs: added a service factory reference (#8292)
Added a service factory reference of the generated methods and how to use them.

Since the types in the codebase are a bit complex, a generated reference won't provide a valuable result.

Instead, this reference is created manually and aims to cover common use cases, providing examples for them.

Closes DOCS-844
2024-07-26 14:40:56 +00:00
Riqwan Thamir
71411463b1 feat(core-flows,medusa): add endpoint to add/remove fulfillment providers to location (#8299)
what:

- add endpoint to add/remove fulfillment providers to location
- specs cleanup from previous PR

RESOLVES CC-259
2024-07-26 14:35:19 +00:00
Carlos R. L. Rodrigues
4eb7abbae8 fix(core-flows): update receive returned item (#8295)
FIXES: TRI-68
2024-07-26 13:11:26 +00:00
Riqwan Thamir
91c17651f1 feat(core-flows, fulfillment): validate shipping options to stock locations (#8291)
what:

- validate shipping options to stock locations

RESOLVES CC-232
2024-07-26 12:26:26 +00:00
josetr
74d0d166b3 Cart API should also return billing_address.province by default (#8293)
* Cart API should also return billing_address.province by default

* Add shipping_address.company & billing_address.company fields
2024-07-26 12:14:05 +02:00
github-actions[bot]
c6d6e3eff4 chore(docs): Generated References (#8289)
Generated the following references:
- `fulfillment`
- `medusa_config`
- `modules`
- `order`
- `types`
2024-07-26 08:20:04 +00:00
Shahed Nasser
f3274a7c5b docs: update deployment guides for storefront and admin (#8279)
Update the vercel deployment guides for next.js storefront and admin

Closes DOCS-840 and DOCS-841
2024-07-26 07:21:31 +00:00
Shahed Nasser
157fa3c80f docs: remove js client and medusa react references (#8270) 2024-07-26 10:11:37 +03:00
Shahed Nasser
ebd290b531 docs: added guide on how to get product variant prices (#8282) 2024-07-26 10:09:41 +03:00
Stevche Radevski
639ecdfd74 fix: Correctly associate options to variants (#8285) 2024-07-25 17:56:13 +02:00
Shahed Nasser
eb64ae75a6 docs: update middlewares to use defineMiddlewares (#8283) 2024-07-25 17:14:06 +02:00
Stevche Radevski
47c132c70b feat: Add empty state to notifications and remove no more data (#8277)
CLOSES CC-242
CLOSES CC-243
CLOSES CC-245
2024-07-25 15:08:16 +00:00
Stevche Radevski
5d9ea4f718 fix: Also apply simple type to operator map (#8278) 2024-07-25 16:54:42 +02:00
Stevche Radevski
6d0650818a feat:Add confirmation step to product import (#8284)
CLOSES CC-251
2024-07-25 14:54:31 +00:00
Harminder Virk
7f4b085964 refactor: revert to using middlewares.ts file (#8280) 2024-07-25 17:16:38 +05:30
Carlos R. L. Rodrigues
ccfbc0accf chore(core-flows,medusa): order claims (#8271) 2024-07-25 06:33:35 -03:00
Stevche Radevski
444a244eab feat: Add basic support for importing products (#8266) 2024-07-25 11:07:24 +02:00
Stevche Radevski
a26b7cf253 feat: Implement notifications feed (#8224)
Designs: https://www.figma.com/design/z3aUuOVWUKmdHH0ofmMpEV/Web-app-3.0?node-id=10-50&t=9k6K9k7oJh5tIi09-0

![Screenshot 2024-07-22 at 17 02 10](https://github.com/user-attachments/assets/bc7da39f-8ddb-4f93-bf4e-884f063bc1c6)


CLOSES CC-219
2024-07-25 07:37:01 +00:00
Harminder Virk
0bd46c97b7 breaking: remove loading middlewares file in favor of routes-config files (#8274) 2024-07-25 12:53:35 +05:30
github-actions[bot]
13855e9167 chore(docs): Updated API Reference (v2) (#8273)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
2024-07-25 07:02:12 +00:00
github-actions[bot]
9f6a9620c7 chore(docs): Generated References (#8272)
Generated the following references:
- `medusa`
- `modules`
- `order`
- `types`
2024-07-25 07:01:52 +00:00
Shahed Nasser
0c682b92c4 docs: updates to Medusa server deployment guides (#8268)
* updated railway deployment docs

* general updates and fixes
2024-07-25 09:55:22 +03:00
Shahed Nasser
6ed1181057 chore(types): update workerMode tsdocs (#8269) 2024-07-25 09:55:12 +03:00
Riqwan Thamir
34cf7a03a2 feat(utils,link-modules): link between fulfillment provider and stock location (#8275)
what:

- adds link between fulfillment provider and stock location

RESOLVES CC-233
2024-07-25 06:38:19 +00:00
Stevche Radevski
44f593a7ca fix:Product options were not preserved over updates (#8267) 2024-07-25 08:24:26 +02:00
Frane Polić
f7d1cd259e feat(dashboard, order, medusa, types, js-sdk): Request return e2e flow (#7848) 2024-07-24 19:19:00 +02:00
Shahed Nasser
0a482e972f docs: added a section to introduction on using docs (#8257)
Add a section to the introduction page explaining the different sections of the V2 docs and how / when to use them.
2024-07-24 14:16:33 +00:00
Shahed Nasser
b615645952 docs: fix package names of event bus modules (#8262)
* docs: fix package names of event bus modules

* fix in config
2024-07-24 17:07:41 +03:00
Shahed Nasser
ccc99b48a0 docs: add 404 page (#8260) 2024-07-24 17:07:30 +03:00
Shahed Nasser
7a0941e997 docs: fix rewrites in sub-projects to prevent loop on 404 page (#8255) 2024-07-24 17:06:54 +03:00
Harminder Virk
a356d12ac4 feat: add extend router helper (#8263) 2024-07-24 16:53:04 +05:30
Adrien de Peretti
75ec53e45a chore(framework): update deps (#8261)
* chore(medusa): update framework deps

* update lock

* update deps

* fix
2024-07-24 11:38:50 +02:00
Harminder Virk
ca88f204d4 feat: Extending API routes validators (#8254) 2024-07-24 14:36:41 +05:30
Adrien de Peretti
2188a4e1ba fix: isList on field alias in link configuration (#8244)
* fix/link-configuration-is-list-on-fieldsAlias

* fix tests

* fix tests

* fix tests
2024-07-24 10:18:38 +02:00
Oli Juhl
63ead0a2ae chore: Add @medusajs/framework to changeset (#8256) 2024-07-24 10:12:34 +02:00
github-actions[bot]
b08d867e8f chore(docs): Generated API Reference (v2) (#8252)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2024-07-24 09:16:25 +02:00
github-actions[bot]
b9b65b7abb chore(docs): Generated References (automated) (#8251)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2024-07-24 09:16:14 +02:00
Shahed Nasser
774d04da48 docs: fix information related to link directions (#8236)
* docs: fix keys passed to remoteLink.create and remoteLink.dismiss

* updated hello module name + clarified note

* added details about module link directions

* fix lint errors
2024-07-24 09:16:01 +02:00
Shahed Nasser
a02f6cbca6 fix(types,order): fixes to order module's service and data models (#8247)
* fix(types,order): fixes to order module's service and data models

* revert change for createLineItemAdjustments

* add missing context parameter
2024-07-24 09:00:21 +02:00
Carlos R. L. Rodrigues
cae27b08bd fix(order): remove nested entities (#8250) 2024-07-23 18:21:33 +00:00
Carlos R. L. Rodrigues
1aa2d7b611 chore: rm testing path (#8249) 2024-07-23 16:58:54 +00:00
Carlos R. L. Rodrigues
7a5349c0ae chore(core-flows): adjust inventory when return is received (#8222) 2024-07-23 13:36:46 -03:00
Carlos R. L. Rodrigues
f38f6d53b4 fix(core-flows): confirm return request (#8242) 2024-07-23 13:29:06 -03:00
Adrien de Peretti
47dde05517 chore(framework): Initial commit (#8221)
**What**
- Initiate the framework package (which is just a place to move things around for now)
- move the config loader and related resources as well as the `ConfigModule` type
- Create a ConfigManager singleton which prepare and store the config (later can be stored entirely in the container) and allow for easier test override
- re export the logger from the framework
- replace medusa config loader with the framework one
- `build` run type check on tests as well but `prepublishOnly` will not fail on build if tests are typed broken

FIXES FRMW-2607
FIXES FRMW-2609
FIXES FRMW-2614
FIXES FRMW-2618
2024-07-23 15:46:28 +00:00
Shahed Nasser
97f64a5cfe docs: fix note about how method names are generated (#8240)
* docs: fix note about how method names are generated

* small fix
2024-07-23 18:28:34 +03:00