Rocky_Mountain_Vending/.pnpm-store/v10/files/91/3adbe292ae47972f45487141d3c01b5cade816749e61fef3efa9c64e9f6a2151b8256ceb2777825b21a6aaa9d0864496d4eadcdbf1a9857c61603736d1e2f5
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

42 lines
2 KiB
Text

import type { webpack } from 'next/dist/compiled/webpack/webpack';
import type ws from 'next/dist/compiled/ws';
import type { DevToolsConfig } from '../../next-devtools/dev-overlay/shared';
import type { VersionInfo } from './parse-version-info';
import type { HmrMessageSentToBrowser } from './hot-reloader-types';
import type { NextConfigComplete } from '../config-shared';
export declare class WebpackHotMiddleware {
private versionInfo;
private devtoolsFrontendUrl;
private config;
private devToolsConfig;
private clientsWithoutRequestId;
private clientsByRequestId;
private closed;
private clientLatestStats;
private middlewareLatestStats;
private serverLatestStats;
constructor(compilers: webpack.Compiler[], versionInfo: VersionInfo, devtoolsFrontendUrl: string | undefined, config: NextConfigComplete, devToolsConfig: DevToolsConfig);
onClientInvalid: () => void;
onClientDone: (statsResult: webpack.Stats) => void;
onServerInvalid: () => void;
onServerDone: (statsResult: webpack.Stats) => void;
onEdgeServerInvalid: () => void;
onEdgeServerDone: (statsResult: webpack.Stats) => void;
updateDevToolsConfig(newConfig: DevToolsConfig): void;
/**
* To sync we use the most recent stats but also we append middleware
* errors. This is because it is possible that middleware fails to compile
* and we still want to show the client overlay with the error while
* the error page should be rendered just fine.
*/
onHMR: (client: ws, requestId: string | null) => void;
publishStats: (statsResult: webpack.Stats) => void;
getClient: (requestId: string) => ws | undefined;
publishToClient: (client: ws, message: HmrMessageSentToBrowser) => void;
publish: (message: HmrMessageSentToBrowser) => void;
publishToLegacyClients: (message: HmrMessageSentToBrowser) => void;
close: () => void;
deleteClient: (client: ws, requestId: string | null) => void;
hasClients: () => boolean;
getClientCount: () => number;
}