Rocky_Mountain_Vending/.pnpm-store/v10/files/91/6a8befb9fbf8b608ad17e5ee7a1969fd425d00f83a1eacfa1eb9d15a820c965f9fee601661cc0c911a1d8aa69b15c586aac626a24325ab95508747c3e1e563
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

44 lines
1.3 KiB
Text

import type { ComponentType } from 'react';
import type { RouteLoader } from './route-loader';
import type { ProxyMatcher } from '../build/analysis/get-page-static-info';
declare global {
interface Window {
__DEV_MIDDLEWARE_MATCHERS?: ProxyMatcher[];
__DEV_PAGES_MANIFEST?: {
pages: string[];
};
__SSG_MANIFEST_CB?: () => void;
__SSG_MANIFEST?: Set<string>;
}
}
export type StyleSheetTuple = {
href: string;
text: string;
};
export type GoodPageCache = {
page: ComponentType;
mod: any;
styleSheets: StyleSheetTuple[];
};
export default class PageLoader {
private buildId;
private assetPrefix;
private promisedSsgManifest;
private promisedDevPagesManifest?;
private promisedMiddlewareMatchers?;
routeLoader: RouteLoader;
constructor(buildId: string, assetPrefix: string);
getPageList(): string[] | Promise<string[]>;
getMiddleware(): ProxyMatcher[] | Promise<ProxyMatcher[]> | undefined;
getDataHref(params: {
asPath: string;
href: string;
locale?: string | false;
skipInterpolation?: boolean;
}): string;
_isSsg(
/** the route (file-system path) */
route: string): Promise<boolean>;
loadPage(route: string): Promise<GoodPageCache>;
prefetch(route: string): Promise<void>;
}