UNPKG

studiocms

Version:

Astro Native CMS for AstroDB. Built from the ground up by the Astro community.

24 lines (23 loc) 600 B
import type { WebVitalsResponseItem } from '../types.js'; export type perPageDataEntry = { pageRoute: string; sampleSize: number; CLS: { average: number; rating: string; }; LCP: { average: number; rating: string; }; INP: { average: number; rating: string; }; }; export declare const buildPerPageRouteDataObject: (webVitalData: WebVitalsResponseItem[]) => { historicalData: perPageDataEntry[]; last24HoursData: perPageDataEntry[]; last7DaysData: perPageDataEntry[]; last30DaysData: perPageDataEntry[]; };