import type { MapSummary } from './types'; /** The trails work happens on: every listed trail but the archived ones (MapDoc.archived). */ export const activeTrails = >(maps: T[]) => maps.filter((m) => !m.archived);