integrations/webVitals/utils/buildPerPageDataObject
Esta página aún no está disponible en tu idioma.
Type Aliases
Section titled “Type Aliases”perPageDataEntry
Section titled “perPageDataEntry”type perPageDataEntry = { CLS: { average: number; rating: string; }; INP: { average: number; rating: string; }; LCP: { average: number; rating: string; }; pageRoute: string; sampleSize: number;};
Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/buildPerPageDataObject.ts:12^
Properties
Section titled “Properties”CLS: { average: number; rating: string;};
Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/buildPerPageDataObject.ts:15^
average
Section titled “average”average: number;
rating
Section titled “rating”rating: string;
INP: { average: number; rating: string;};
Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/buildPerPageDataObject.ts:23^
average
Section titled “average”average: number;
rating
Section titled “rating”rating: string;
LCP: { average: number; rating: string;};
Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/buildPerPageDataObject.ts:19^
average
Section titled “average”average: number;
rating
Section titled “rating”rating: string;
pageRoute
Section titled “pageRoute”pageRoute: string;
Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/buildPerPageDataObject.ts:13^
sampleSize
Section titled “sampleSize”sampleSize: number;
Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/buildPerPageDataObject.ts:14^
Functions
Section titled “Functions”buildPerPageRouteDataObject()
Section titled “buildPerPageRouteDataObject()”function buildPerPageRouteDataObject(webVitalData: WebVitalsResponseItem[]): { historicalData: perPageDataEntry[]; last24HoursData: perPageDataEntry[]; last30DaysData: perPageDataEntry[]; last7DaysData: perPageDataEntry[];}
Defined in: studiocms/packages/studiocms/src/integrations/webVitals/utils/buildPerPageDataObject.ts:37^
Parameters
Section titled “Parameters”webVitalData
Section titled “webVitalData”Returns
Section titled “Returns”{ historicalData: perPageDataEntry[]; last24HoursData: perPageDataEntry[]; last30DaysData: perPageDataEntry[]; last7DaysData: perPageDataEntry[];}
historicalData
Section titled “historicalData”historicalData: perPageDataEntry[] = perPageData;
last24HoursData
Section titled “last24HoursData”last24HoursData: perPageDataEntry[] = last24HoursPerPageData;
last30DaysData
Section titled “last30DaysData”last30DaysData: perPageDataEntry[] = last30DaysPerPageData;
last7DaysData
Section titled “last7DaysData”last7DaysData: perPageDataEntry[] = last7DaysPerPageData;