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>
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
import type { Rewrite, Redirect } from '../../../../lib/load-custom-routes';
|
|
import { webpack } from 'next/dist/compiled/webpack/webpack';
|
|
import type { PageExtensions } from '../../../page-extensions-type';
|
|
import type { CacheLife } from '../../../../server/use-cache/cache-life';
|
|
type Rewrites = {
|
|
fallback: Rewrite[];
|
|
afterFiles: Rewrite[];
|
|
beforeFiles: Rewrite[];
|
|
};
|
|
interface Options {
|
|
dir: string;
|
|
distDir: string;
|
|
appDir: string;
|
|
dev: boolean;
|
|
isEdgeServer: boolean;
|
|
pageExtensions: PageExtensions;
|
|
cacheLifeConfig: undefined | {
|
|
[profile: string]: CacheLife;
|
|
};
|
|
originalRewrites: Rewrites | undefined;
|
|
originalRedirects: Redirect[] | undefined;
|
|
}
|
|
export declare class NextTypesPlugin {
|
|
dir: string;
|
|
distDir: string;
|
|
appDir: string;
|
|
dev: boolean;
|
|
isEdgeServer: boolean;
|
|
pageExtensions: string[];
|
|
pagesDir: string;
|
|
cacheLifeConfig: undefined | {
|
|
[profile: string]: CacheLife;
|
|
};
|
|
distDirAbsolutePath: string;
|
|
constructor(options: Options);
|
|
getRelativePathFromAppTypesDir(moduleRelativePathToAppDir: string): string;
|
|
collectPage(filePath: string): void;
|
|
apply(compiler: webpack.Compiler): void;
|
|
}
|
|
export {};
|