import type { AdapterStalenessStatus } from '../StaleBadge'

/** Shape matches collector's AdapterStatus (collector/src/state.ts): stale = age > 2×interval. */
export const STALE_HARNESS_STATUS: AdapterStalenessStatus = {
  id: 'harness',
  interval: 5_000,
  lastSuccess: 1_000_000,
  stale: true,
}

export const FRESH_HARNESS_STATUS: AdapterStalenessStatus = {
  id: 'harness',
  interval: 5_000,
  lastSuccess: 1_000_000,
  stale: false,
}
