| import type { CampaignStatus } from './database.types' | |
| export interface StatusBadge { | |
| label: string | |
| cls: string | |
| } | |
| export const CAMPAIGN_STATUS: Record<CampaignStatus, StatusBadge> = { | |
| draft: { label: '์ค๋น ์ค', cls: 'bg-paper-gray text-ink-medium' }, | |
| pending_review: { label: '๊ฒํ ๋๊ธฐ', cls: 'bg-status-info text-paper-white' }, | |
| active: { label: '์ด์ ์ค', cls: 'bg-ink-black text-paper-white' }, | |
| paused: { label: '์ผ์์ค์ง', cls: 'bg-status-warning text-paper-white' }, | |
| completed: { label: '์๋ฃ', cls: 'bg-status-success text-paper-white' }, | |
| } | |
| export const CAMPAIGN_STATUS_KEYS = Object.keys(CAMPAIGN_STATUS) as CampaignStatus[] | |