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>
28 lines
876 B
Text
28 lines
876 B
Text
import type { TurbopackMessage } from '../../../server/dev/hot-reloader-types';
|
|
declare global {
|
|
interface Window {
|
|
__NEXT_HMR_TURBOPACK_REPORT_NOISY_NOOP_EVENTS: boolean | undefined;
|
|
}
|
|
}
|
|
interface HmrUpdate {
|
|
hasUpdates: boolean;
|
|
updatedModules: Set<string>;
|
|
startMsSinceEpoch: number;
|
|
endMsSinceEpoch: number;
|
|
}
|
|
export declare class TurbopackHmr {
|
|
#private;
|
|
constructor();
|
|
onBuilding(): void;
|
|
onTurbopackMessage(msg: TurbopackMessage): void;
|
|
onServerComponentChanges(): void;
|
|
onReloadPage(): void;
|
|
onPageAddRemove(): void;
|
|
/**
|
|
* @returns `null` if the caller should ignore the update entirely. Returns an
|
|
* object with `hasUpdates: false` if the caller should report the end of
|
|
* the HMR in the browser console, but the HMR was a no-op.
|
|
*/
|
|
onBuilt(): HmrUpdate | null;
|
|
}
|
|
export {};
|