feat: Add basic CRUD functionality to store module (#6510)

Adds the core model and basic CRUD around it.

Note: The store model is not complete, but I prefer doing smaller PRs so it's easier to do a proper review. Adding currencies will be a follow-up PR.
This commit is contained in:
Stevche Radevski authored and GitHub committed 2024-02-26 14:23:48 +00:00
1 parent 7ebe885ec9
commit b13c669528
10 files changed
+598 -6

No files matched your search

@@ -0,0 +1,10 @@
import { StoreTypes } from "@medusajs/types"
export const createStoreFixture: StoreTypes.CreateStoreDTO = {
name: "Test store",
default_sales_channel_id: "test-sales-channel",
default_region_id: "test-region",
metadata: {
test: "test",
},
}