export type ApiResponse<T = unknown> = {
  success: boolean;
  data?: T;
  error?: { code: string; message: string };
};

export type StampWithStatus = {
  id: string;
  name: string;
  note: string | null;
  imageColor: string;
  imageGrey: string;
  sortOrder: number;
  collected: boolean;
  collectedAt: string | null;
};

export type RedemptionRuleInfo = {
  id: string;
  name: string;
  description: string | null;
  threshold: number;
};

export type RedemptionRecord = {
  id: string;
  ruleName: string;
  stampCount: number;
  redeemedAt: string;
};
