Rocky_Mountain_Vending/.pnpm-store/v10/files/c5/fde2347798f174580f57e14f8a17d6008c6beb3dd63ebebfb1d0038d7b659cce63e945a3dbd16e9ff1b264c397d8d6e9213bc9e5f2f7953b7989a62ab395d2
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

53 lines
2.3 KiB
Text

import type { PageExtensions } from '../../build/page-extensions-type';
export declare const STATIC_METADATA_IMAGES: {
readonly icon: {
readonly filename: "icon";
readonly extensions: readonly ["ico", "jpg", "jpeg", "png", "svg"];
};
readonly apple: {
readonly filename: "apple-icon";
readonly extensions: readonly ["jpg", "jpeg", "png"];
};
readonly favicon: {
readonly filename: "favicon";
readonly extensions: readonly ["ico"];
};
readonly openGraph: {
readonly filename: "opengraph-image";
readonly extensions: readonly ["jpg", "jpeg", "png", "gif"];
};
readonly twitter: {
readonly filename: "twitter-image";
readonly extensions: readonly ["jpg", "jpeg", "png", "gif"];
};
};
export declare const DEFAULT_METADATA_ROUTE_EXTENSIONS: string[];
export declare const getExtensionRegexString: (staticExtensions: readonly string[], dynamicExtensions: readonly string[] | null) => string;
/**
* Matches the static metadata files, e.g. /robots.txt, /sitemap.xml, /favicon.ico, etc.
* @param appDirRelativePath the relative file path to app/
* @returns if the path is a static metadata file route
*/
export declare function isStaticMetadataFile(appDirRelativePath: string): boolean;
/**
* Determine if the file is a metadata route file entry
* @param appDirRelativePath the relative file path to app/
* @param pageExtensions the js extensions, such as ['js', 'jsx', 'ts', 'tsx']
* @param strictlyMatchExtensions if it's true, match the file with page extension, otherwise match the file with default corresponding extension
* @returns if the file is a metadata route file
*/
export declare function isMetadataRouteFile(appDirRelativePath: string, pageExtensions: PageExtensions, strictlyMatchExtensions: boolean): boolean;
export declare function isStaticMetadataRoute(route: string): boolean;
/**
* Determine if a page or pathname is a metadata page.
*
* The input is a page or pathname, which can be with or without page suffix /foo/page or /foo.
* But it will not contain the /route suffix.
*
* .e.g
* /robots -> true
* /sitemap -> true
* /foo -> false
*/
export declare function isMetadataPage(page: string): boolean;
export declare function isMetadataRoute(route: string): boolean;