import { apiRoute } from '@/lib/api/handler'
import { getMapData } from '@/lib/services/map-service'

export const dynamic = 'force-dynamic'

/** Geometry plus live risk for every monitored asset. */
export const GET = apiRoute({ permission: 'grid.map.read' }, async () => getMapData())
