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>
13 lines
509 B
Text
13 lines
509 B
Text
type Opaque<K, T> = T & {
|
|
__brand: K;
|
|
};
|
|
export type NormalizedHref = Opaque<'NormalizedHref', string>;
|
|
export type NormalizedSearch = Opaque<'NormalizedSearch', string>;
|
|
export type NormalizedNextUrl = Opaque<'NormalizedNextUrl', string>;
|
|
export type RouteCacheKey = Opaque<'RouteCacheKey', {
|
|
href: NormalizedHref;
|
|
search: NormalizedSearch;
|
|
nextUrl: NormalizedNextUrl | null;
|
|
}>;
|
|
export declare function createCacheKey(originalHref: string, nextUrl: string | null): RouteCacheKey;
|
|
export {};
|