import type { StoreItemSelection } from '../services/storeItemService'

export interface StoreSpecialVariant {
  id: string
  label: string
  selections: StoreItemSelection[]
  price: number | null
  discountedPrice: number | null
  stockQuantity: number | null
  rewardPoints: number | null
  isFestival: boolean
  sortOrder: number
}

export interface StoreSpecialStoreItem {
  id: string
  productId: string
  productTitle: string
  productNameFa: string
  productImage: string | null
  isActive: boolean
  sortOrder: number
  variants: StoreSpecialVariant[]
}

export interface StoreSpecial {
  id: string
  key: string
  title: string
  sortOrder: number
  isActive: boolean
  createdAt: string
  updatedAt: string
  items: StoreSpecialStoreItem[]
}
