Rocky_Mountain_Vending/.pnpm-store/v10/files/72/2dd084b8b40a9ea5d10f1262919e6f3dc0a206dea867a65f554fdc2e38c880fec2623cee43b8cf7a762bcffc4c4f4d57bdedc707f65067736a9511d6ff8e23
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

47 lines
2.5 KiB
Text

import type { BaseNextRequest, BaseNextResponse } from '../base-http';
import type { RequestStore } from '../app-render/work-unit-async-storage.external';
import type { RenderOpts } from '../app-render/types';
import type { NextRequest } from '../web/spec-extension/request';
import type { __ApiPreviewProps } from '../api-utils';
import type { ServerComponentsHmrCache } from '../response-cache';
import type { RenderResumeDataCache } from '../resume-data-cache/resume-data-cache';
import type { Params } from '../request/params';
import type { ImplicitTags } from '../lib/implicit-tags';
import type { OpaqueFallbackRouteParams } from '../request/fallback-params';
export type WrapperRenderOpts = Partial<Pick<RenderOpts, 'onUpdateCookies'>> & {
previewProps?: __ApiPreviewProps;
};
type RequestContext = RequestResponsePair & {
/**
* The URL of the request. This only specifies the pathname and the search
* part of the URL. This is only undefined when generating static paths (ie,
* there is no request in progress, nor do we know one).
*/
url: {
/**
* The pathname of the requested URL.
*/
pathname: string;
/**
* The search part of the requested URL. If the request did not provide a
* search part, this will be an empty string.
*/
search?: string;
};
phase: RequestStore['phase'];
renderOpts?: WrapperRenderOpts;
isHmrRefresh?: boolean;
serverComponentsHmrCache?: ServerComponentsHmrCache;
implicitTags: ImplicitTags;
};
type RequestResponsePair = {
req: BaseNextRequest;
res: BaseNextResponse;
} | {
req: NextRequest;
res: undefined;
};
export declare function createRequestStoreForRender(req: RequestContext['req'], res: RequestContext['res'], url: RequestContext['url'], rootParams: Params, implicitTags: RequestContext['implicitTags'], onUpdateCookies: RenderOpts['onUpdateCookies'], previewProps: WrapperRenderOpts['previewProps'], isHmrRefresh: RequestContext['isHmrRefresh'], serverComponentsHmrCache: RequestContext['serverComponentsHmrCache'], renderResumeDataCache: RenderResumeDataCache | null, devFallbackParams: OpaqueFallbackRouteParams | null): RequestStore;
export declare function createRequestStoreForAPI(req: RequestContext['req'], url: RequestContext['url'], implicitTags: RequestContext['implicitTags'], onUpdateCookies: RenderOpts['onUpdateCookies'], previewProps: WrapperRenderOpts['previewProps']): RequestStore;
export declare function synchronizeMutableCookies(store: RequestStore): void;
export {};