Adrien de Peretti
2d03634cfc
feat(medusa, medusa-js, medusa-react): Implement Sales Channel deletion ( #1804 )
2022-07-07 10:47:51 +02:00
Frane Polić
0d1624cf6a
feat(medusa, medusa-js, medusa-react): Implement Sales Channel creation ( #1795 )
2022-07-06 22:18:05 +02:00
Philip Korsholm
9d19cc0818
feat(medusa, medusa-js, medusa-react): Implement Sales Channel update ( #1797 )
2022-07-06 15:44:09 +02:00
Adrien de Peretti
263a661031
feat(medusa, medusa-js, medusa-react): Implement Sales Channel retrieval ( #1793 )
2022-07-06 12:17:26 +02:00
Philip Korsholm
9018d270be
Feat(medusa-js, medusa-react): Upload endpoints in medusa js and react ( #1716 )
...
* export types from admin uploads
* add delete and download to medusa-js
* add upload endpoints to hooks
* remove upload from js and react
* pr feedback
* Apply suggestions from code review
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* rename types for admin uploads
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2022-06-29 11:36:19 +02:00
Oliver Windall Juhl
7302d76e12
feat(medusa,medusa-js,medusa-react): Add BatchJob API support in medusa-js + medusa-react ( #1704 )
...
* Add BatchJob API to medusa-js
* Adds BatchJob API hooks
* Fix tests in medusa-react
2022-06-21 11:08:44 +02:00
Adrien de Peretti
fa031fd28b
feat(medusa): Support deleting prices from a price list by product or variant ( #1555 )
2022-05-30 09:41:57 +02:00
Oliver Windall Juhl
a87e1cdf65
feat(medusa): Add endpoint for retrieving a DiscountCondition ( #1525 )
2022-05-17 11:17:17 +02:00
Oliver Windall Juhl
9ca45ea492
feat(medusa): Add endpoints specific to DiscountConditions ( #1355 )
2022-05-13 12:42:23 +02:00
Philip Korsholm
b164977a19
Feat: Medusa react price list ( #1258 )
...
* export everything from price lists in core
* medusa-js price list
* feat: add product list for price lists
* feat: add product list for price lists
* add price list to admin module
* add price list hooks initial
* refactor: product list controller
* fix: add integration test for price list products
* update types
* add tests for price lists
* update medusa react tests
* update update request for price lists
* Apply suggestions from code review
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* rename methods
* pr feedback
* list products from price list
* fix errors after merge
* update medusa react with medusa-js method name changes
* redo changes
* update hook names
* fix: routes in msw handler
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
Co-authored-by: Zakaria El Asri <zakaria.elas@gmail.com >
2022-04-03 20:48:49 +02:00
Frane Polić
b7f699654b
feat: customer group customers client endpoints ( #1221 )
...
* feat: add `listCustomers` (by group) to `medusa-js`
* feat: add `useAdminCustomerGroupCustomers` hook
* fix: remove log
* fix: import/export
* fix: change query keys
* wip: sublist query keys
* fix: revert query factory changes
* fix: add query as a param when building the "detail" key
* fix: revert keys logic, use special case
* fix: query path, change batch keys
* change admin customer groups cache key generation
* spread query params
Co-authored-by: fPolic <frane@medusajs.com >
2022-03-23 20:07:13 +01:00
Frane Polić
daf49bcaf3
feat: customer groups react hooks ( #1153 )
...
* fix: msw handlers for medusa-react storybook
* feat: add customer groups query hooks
* feat: add create/update customer groups hooks
* feat: add customer group batch hooks
* feat: add test files, fix import
* add customer groups fixture
* add customer gorup mock endpoints
* add test cases
* add hook comments
* fix: typos
* fix: comments refactor
* fix: comment
Co-authored-by: fPolic <frane@medusajs.com >
2022-03-07 12:52:48 +01:00
Rishi Kumar Ray
22d3d4a2f6
Mark draft order endpoint wrong in medusa-js ( #1046 )
2022-02-16 12:59:16 +01:00
Zakaria El Asri
2e384842d5
feat: medusa-react admin hooks ( #978 )
...
* add: medusa admin hooks + tests
* fix: remove unneeded props
* fix: deps
* fix: deps
* fix: deps
* fix: failing tests
* fix: failing tests
* fix: query key
* add: yarn workspaces
* fix: linting medusa-react
* fix: add prepare script
* fix: buildOptions
* fix: useAdminShippingOptions query
* fix: use qs instead for query params (#1019 )
* fix: formatting
* debug: ci pipeline
* debug: log node_modules structure
* debug: use lerna bootstrap
* debug: update node version
* debug: print pkgs in workspace
* debug: print pkgs in workspace
* debug: print pkgs in workspace
* debug: print pkgs in workspace
* debug: add explicit build step
* fix: jsdoc
* debug: run build step
* debug: fix build errors
* debug: add build step to integration tests
* fix: failing test
* cleanup
Co-authored-by: Sebastian Rindom <seb@medusajs.com >
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-02-02 17:10:56 +01:00
Zakaria El Asri
d0d8dd7bf6
feat: add medusa-react ( #913 )
2021-12-14 19:09:36 +01:00