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>
43 lines
1.6 KiB
Text
43 lines
1.6 KiB
Text
// import type * as SDK from '../../../core/sdk/sdk.js';
|
|
import type * as Protocol from '../../../generated/protocol.js';
|
|
import * as Types from '../types/types.js';
|
|
import type { FinalizeOptions, HandlerName } from './types.js';
|
|
export interface ScriptsData {
|
|
/** Note: this is only populated when the "Enhanced Traces" feature is enabled. */
|
|
scripts: Script[];
|
|
}
|
|
export interface Script {
|
|
isolate: string;
|
|
scriptId: Protocol.Runtime.ScriptId;
|
|
frame: string;
|
|
ts: Types.Timing.Micro;
|
|
inline: boolean;
|
|
url?: string;
|
|
sourceUrl?: string;
|
|
content?: string;
|
|
/**
|
|
* Note: this is the literal text given as the sourceMappingURL value. It has not been resolved relative to the script url.
|
|
* Since M138, data urls are never set here.
|
|
*/
|
|
sourceMapUrl?: string;
|
|
/** If true, the source map url was a data URL, so it got removed from the trace event. */
|
|
sourceMapUrlElided?: boolean;
|
|
sourceMap?: any;
|
|
request?: Types.Events.SyntheticNetworkRequest;
|
|
/** Lazily generated - use getScriptGeneratedSizes to access. */
|
|
sizes?: GeneratedFileSizes;
|
|
}
|
|
type GeneratedFileSizes = {
|
|
errorMessage: string;
|
|
} | {
|
|
files: Record<string, number>;
|
|
unmappedBytes: number;
|
|
totalBytes: number;
|
|
};
|
|
export declare function deps(): HandlerName[];
|
|
export declare function reset(): void;
|
|
export declare function handleEvent(event: Types.Events.Event): void;
|
|
export declare function getScriptGeneratedSizes(script: Script): GeneratedFileSizes | null;
|
|
export declare function finalize(options: FinalizeOptions): Promise<void>;
|
|
export declare function data(): ScriptsData;
|
|
export {};
|