import type { PhotoAttachment } from './photos';
import type { OfferPublic } from './offer';

export interface PackageItem {
  quantity: number;
  service_item?: { id: number; name: string; slug: string; summary?: string | null };
}

export interface Package {
  id: number;
  name: string;
  slug: string;
  summary?: string | null;
  description_markdown?: string | null;
  pricing_info?: string | null;
  price_cents?: number | null;
  photo_attachments?: PhotoAttachment[];
  package_items?: PackageItem[];
  offers?: OfferPublic[];
}
