Aller au contenu

integrations/webVitals/consts

Ce contenu n’est pas encore disponible dans votre langue.

const CoreWebVitals: WebVitalsMetricType[];

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/consts.ts:8^


const EmptyReturn: GetWebVitalsData;

Defined in: studiocms/packages/studiocms/src/integrations/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/integrations/webVitals/consts.ts:32^


const WEB_VITALS_METRIC_LABELS: Record<WebVitalsMetricType, string>;

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/consts.ts:10^


const WEB_VITALS_METRIC_TABLE: "AstrojsWebVitals_Metric" = 'AstrojsWebVitals_Metric';

Defined in: studiocms/packages/studiocms/src/integrations/webVitals/consts.ts:6^