add campaign
This commit is contained in:
@@ -14,8 +14,9 @@ export interface Campaign {
|
||||
is_active: boolean
|
||||
show_on_app: boolean
|
||||
position: number
|
||||
metadata?: Record<string, any>
|
||||
rules?: CampaignRule[]
|
||||
metadata?: {
|
||||
banner_url?: string
|
||||
}
|
||||
created_at: string // ISO string
|
||||
updated_at: string // ISO string
|
||||
}
|
||||
@@ -43,8 +44,9 @@ export interface CampaignRequest {
|
||||
is_active: boolean
|
||||
show_on_app: boolean
|
||||
position: number
|
||||
metadata?: Record<string, any>
|
||||
rules: CampaignRuleRequest[]
|
||||
metadata?: {
|
||||
banner_url?: string
|
||||
}
|
||||
}
|
||||
|
||||
export interface CampaignRuleRequest {
|
||||
|
||||
Reference in New Issue
Block a user