|
1
|
import { CreatePriceRuleDTO } from "@medusajs/framework/types" |
|
2
|
|
|
3
|
export * from "./data" |
|
4
|
|
|
5
|
export const defaultPriceRuleData = [ |
|
6
|
{ |
|
7
|
id: "price-rule-1", |
|
8
|
price_set_id: "price-set-1", |
|
9
|
attribute: "currency_code", |
|
10
|
value: "usd", |
|
11
|
price_list_id: "test", |
|
12
|
price_id: "price-set-money-amount-USD", |
|
13
|
}, |
|
14
|
{ |
|
15
|
id: "price-rule-2", |
|
16
|
price_set_id: "price-set-2", |
|
17
|
attribute: "region_id", |
|
18
|
value: "region_1", |
|
19
|
price_list_id: "test", |
|
20
|
price_id: "price-set-money-amount-EUR", |
|
21
|
}, |
|
22
|
] as unknown as CreatePriceRuleDTO[] |