Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
55 lines
2.4 KiB
Text
55 lines
2.4 KiB
Text
import * as Types from '../types/types.js';
|
|
export declare function reset(): void;
|
|
export declare function handleEvent(event: Types.Events.Event): void;
|
|
export declare function finalize(): Promise<void>;
|
|
export interface MetaHandlerData {
|
|
traceIsGeneric: boolean;
|
|
traceBounds: Types.Timing.TraceWindowMicro;
|
|
browserProcessId: Types.Events.ProcessID;
|
|
processNames: Map<Types.Events.ProcessID, Types.Events.ProcessName>;
|
|
browserThreadId: Types.Events.ThreadID;
|
|
gpuProcessId: Types.Events.ProcessID;
|
|
navigationsByFrameId: Map<string, Types.Events.NavigationStart[]>;
|
|
navigationsByNavigationId: Map<string, Types.Events.NavigationStart>;
|
|
/**
|
|
* The user-visible URL displayed to users in the address bar.
|
|
* This captures:
|
|
* - resolving all redirects
|
|
* - history API pushState
|
|
*
|
|
* Given no redirects or history API usages, this is just the navigation event's documentLoaderURL.
|
|
*
|
|
* Note: empty string special case denotes the duration of the trace between the start
|
|
* and the first navigation. If there is no history API navigation during this time,
|
|
* there will be no value for empty string.
|
|
**/
|
|
finalDisplayUrlByNavigationId: Map<string, string>;
|
|
threadsInProcess: Map<Types.Events.ProcessID, Map<Types.Events.ThreadID, Types.Events.ThreadName>>;
|
|
mainFrameId: string;
|
|
mainFrameURL: string;
|
|
/**
|
|
* A frame can have multiple renderer processes, at the same time,
|
|
* a renderer process can have multiple URLs. This map tracks the
|
|
* processes active on a given frame, with the time window in which
|
|
* they were active. Because a renderer process might have multiple
|
|
* URLs, each process in each frame has an array of windows, with an
|
|
* entry for each URL it had.
|
|
*/
|
|
rendererProcessesByFrame: FrameProcessData;
|
|
topLevelRendererIds: Set<Types.Events.ProcessID>;
|
|
frameByProcessId: Map<Types.Events.ProcessID, Map<string, Types.Events.TraceFrame>>;
|
|
mainFrameNavigations: Types.Events.NavigationStart[];
|
|
gpuThreadId?: Types.Events.ThreadID;
|
|
viewportRect?: {
|
|
x: number;
|
|
y: number;
|
|
width: number;
|
|
height: number;
|
|
};
|
|
devicePixelRatio?: number;
|
|
}
|
|
export type FrameProcessData = Map<string, Map<Types.Events.ProcessID, Array<{
|
|
frame: Types.Events.TraceFrame;
|
|
window: Types.Timing.TraceWindowMicro;
|
|
}>>>;
|
|
export declare function data(): MetaHandlerData;
|