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>
This commit is contained in:
Frane Polić
2022-03-07 12:52:48 +01:00
committed by GitHub
co-authored by fPolic
parent a6f352d9f1
commit daf49bcaf3
11 changed files with 335 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { setupServer } from "msw/node"
import { storeHandlers, adminHandlers } from "./handlers"
export const server = setupServer(...[...storeHandlers, ...adminHandlers])
export const server = setupServer(...storeHandlers, ...adminHandlers)