|
1
|
import { CampaignBudgetType } from "@medusajs/framework/utils" |
|
2
|
|
|
3
|
export const defaultCampaignsData = [ |
|
4
|
{ |
|
5
|
id: "campaign-id-1", |
|
6
|
name: "campaign 1", |
|
7
|
description: "test description", |
|
8
|
campaign_identifier: "test-1", |
|
9
|
starts_at: new Date("01/01/2023"), |
|
10
|
ends_at: new Date("01/01/2024"), |
|
11
|
budget: { |
|
12
|
type: CampaignBudgetType.SPEND, |
|
13
|
limit: 1000, |
|
14
|
currency_code: "usd", |
|
15
|
used: 0, |
|
16
|
}, |
|
17
|
}, |
|
18
|
{ |
|
19
|
id: "campaign-id-2", |
|
20
|
name: "campaign 1", |
|
21
|
description: "test description", |
|
22
|
campaign_identifier: "test-2", |
|
23
|
starts_at: new Date("01/01/2023"), |
|
24
|
ends_at: new Date("01/01/2024"), |
|
25
|
budget: { |
|
26
|
type: CampaignBudgetType.USAGE, |
|
27
|
limit: 1000, |
|
28
|
currency_code: "usd", |
|
29
|
used: 0, |
|
30
|
}, |
|
31
|
}, |
|
32
|
] |