UNPKG

astro-web-vitals-pocketbase

Version:
29 lines (28 loc) 661 B
/** * Options for the Web Vitals integration. */ export interface webVitalsIntegrationOptions { /** * URL of the PocketBase instance. */ url: string; /** * Name of the collection to store the web vitals data. * If not provided, the collection name will be `_webVitals`. */ collectionName?: string; /** * Credentials of a superuser to get full access to the PocketBase instance. * This is required to access all resources even if they are not public. */ superuserCredentials?: { /** * Email of the superuser. */ email: string; /** * Password of the superuser. */ password: string; }; }