* chore: rename js files to txt * chore: rename ts files to txt * chore: delete environment helpers * chore: convert global setup & teardown to txt * chore: rename helper js/ts files to txt * chore: rename seeder js/ts files to txt * chore: remove typeorm * chore: reintroduce used helpers
27 lines
556 B
Plaintext
27 lines
556 B
Plaintext
const { Region } = require("@medusajs/medusa")
|
|
|
|
module.exports = async (dataSource, data = {}) => {
|
|
const manager = dataSource.manager
|
|
|
|
await manager.insert(Region, {
|
|
id: "region-product-import-0",
|
|
name: "ImportLand",
|
|
currency_code: "eur",
|
|
tax_rate: 0,
|
|
})
|
|
|
|
await manager.insert(Region, {
|
|
id: "region-product-import-1",
|
|
name: "denmark",
|
|
currency_code: "dkk",
|
|
tax_rate: 0,
|
|
})
|
|
|
|
await manager.insert(Region, {
|
|
id: "region-product-import-2",
|
|
name: "Denmark",
|
|
currency_code: "dkk",
|
|
tax_rate: 0,
|
|
})
|
|
}
|