I ultimately went with having a flat list of settings for the store. It wouldn't be very difficult to change it if we wish to do so, but for now this keeps the codebase simpler
12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
import { StoreTypes } from "@medusajs/types"
|
|
|
|
export const createStoreFixture: StoreTypes.CreateStoreDTO = {
|
|
name: "Test store",
|
|
supported_currency_codes: ["usd", "eur"],
|
|
default_sales_channel_id: "test-sales-channel",
|
|
default_region_id: "test-region",
|
|
metadata: {
|
|
test: "test",
|
|
},
|
|
}
|