Clean up dependencies
All checks were successful
Build and Push / build (push) Successful in 18s

This commit is contained in:
2026-02-16 15:12:59 -05:00
parent d181f77fb2
commit 2f15523a55
14941 changed files with 0 additions and 2078483 deletions

View File

@@ -1,38 +0,0 @@
interface SpeedInsightsProps {
dsn?: string;
sampleRate?: number;
route?: string | null;
beforeSend?: BeforeSendMiddleware;
debug?: boolean;
scriptSrc?: string;
endpoint?: string;
}
type EventTypes = 'vital';
interface Event {
type: EventTypes;
url: string;
}
type BeforeSendMiddleware = (data: Event) => Event | null | undefined | false;
interface Functions {
beforeSend?: BeforeSendMiddleware;
}
interface SpeedInsights$1<T extends keyof Functions = keyof Functions> {
queue: [T, Functions[T]][];
addAction: (action: T, data: Functions[T]) => void;
}
declare global {
interface Window {
/** Base interface to track events */
si?: SpeedInsights$1['addAction'];
/** Queue for speed insights datapoints, before the library is loaded */
siq?: SpeedInsights$1['queue'];
sil?: boolean;
/** used by Astro component only */
speedInsightsBeforeSend?: BeforeSendMiddleware;
}
}
type Props = Omit<SpeedInsightsProps, 'route'>;
declare function SpeedInsights(props: Props): null;
export { SpeedInsights };