export type PublicTicketTier = {
  id: string;
  label: string;
  draft_inclusions: string[];
};

/** Explicit allow-list for data crossing the Server/Client Component boundary. */
export function toPublicTicketTiers(tiers: readonly PublicTicketTier[]): PublicTicketTier[] {
  return tiers.map(({ id, label, draft_inclusions }) => ({ id, label, draft_inclusions }));
}
