lib/webVitals/consts
Variables
'Read the “', Variables, '” section'CoreWebVitals
'Read the “', CoreWebVitals, '” section'const CoreWebVitals: WebVitalsMetricType[];
Defined in: studiocms/packages/studiocms/src/lib/webVitals/consts.ts:8
EmptyReturn
'Read the “', EmptyReturn, '” section'const EmptyReturn: GetWebVitalsData;
Defined in: studiocms/packages/studiocms/src/lib/webVitals/consts.ts:53
An object representing the default empty return value for web vitals data.
const tsMetric: Table<"AstrojsWebVitals_Metric", { id: { type: "text"; }; name: { type: "text"; }; pathname: { type: "text"; }; rating: { type: "text"; }; route: { type: "text"; }; timestamp: { type: "date"; }; value: { type: "number"; };}>;
Defined in: studiocms/packages/studiocms/src/lib/webVitals/consts.ts:32
WEB_VITALS_METRIC_LABELS
'Read the “', WEB_VITALS_METRIC_LABELS, '” section'const WEB_VITALS_METRIC_LABELS: Record<WebVitalsMetricType, string>;
Defined in: studiocms/packages/studiocms/src/lib/webVitals/consts.ts:10
WEB_VITALS_METRIC_TABLE
'Read the “', WEB_VITALS_METRIC_TABLE, '” section'const WEB_VITALS_METRIC_TABLE: "AstrojsWebVitals_Metric" = 'AstrojsWebVitals_Metric';
Defined in: studiocms/packages/studiocms/src/lib/webVitals/consts.ts:6