import type { ManagedChannel } from "../lib/api"; // A channel is "fully synced" when its recent uploads AND full back-catalogue are both in — the // predicate the retired Sync column used, now surfaced as a ✓ charm on the Stored count and driven // by the top sync-filter chips. export const isFullySynced = (c: ManagedChannel) => c.recent_synced && c.backfill_done;