// All data refresh timing lives here. Edit one number to change the whole app.
export const REFRESH_INTERVAL = 10_000; // ms between full invalidation sweeps
export const STALE_TIME = REFRESH_INTERVAL - 1_000; // keep cached until just before next sweep

export const ALL_QUERY_KEYS: readonly string[][] = [
  ['syncHealth'],
  ['sendQueueSummary'],
  ['failedSends'],
  ['activity'],
  ['syncStats'],
  ['syncHistory'],
  ['syncThroughput'],
  ['diagnostics'],
  ['conversations'],
  ['thread'],
  ['mail-conversations'],
  ['mail-thread'],
  ['photos'],
  ['contacts'],
];
