/**
 * Chart types for chart metadata.
 *
 * created_at is stored as a PostgreSQL timestamp (returned as Date by Drizzle ORM)
 * but is often treated as a Unix epoch number in the frontend after JSON serialisation.
 */

export interface Chart {
  id: number;
  name: string;
  created_at: Date | number;
}
