123456789101112131415161718192021222324252627282930313233 |
- import { NextConfigComplete } from '../../server/config-shared';
- declare type EventCliSessionStarted = {
- nextVersion: string;
- nodeVersion: string;
- cliCommand: string;
- isSrcDir: boolean | null;
- hasNowJson: boolean;
- isCustomServer: boolean | null;
- hasNextConfig: boolean;
- buildTarget: string;
- hasWebpackConfig: boolean;
- hasBabelConfig: boolean;
- basePathEnabled: boolean;
- i18nEnabled: boolean;
- imageEnabled: boolean;
- imageFutureEnabled: boolean;
- locales: string | null;
- localeDomainsCount: number | null;
- localeDetectionEnabled: boolean | null;
- imageDomainsCount: number | null;
- imageRemotePatternsCount: number | null;
- imageSizes: string | null;
- imageLoader: string | null;
- imageFormats: string | null;
- trailingSlashEnabled: boolean;
- reactStrictMode: boolean;
- webpackVersion: number | null;
- };
- export declare function eventCliSession(dir: string, nextConfig: NextConfigComplete, event: Omit<EventCliSessionStarted, 'nextVersion' | 'nodeVersion' | 'hasNextConfig' | 'buildTarget' | 'hasWebpackConfig' | 'hasBabelConfig' | 'basePathEnabled' | 'i18nEnabled' | 'imageEnabled' | 'imageFutureEnabled' | 'locales' | 'localeDomainsCount' | 'localeDetectionEnabled' | 'imageDomainsCount' | 'imageRemotePatternsCount' | 'imageSizes' | 'imageLoader' | 'imageFormats' | 'trailingSlashEnabled' | 'reactStrictMode'>): {
- eventName: string;
- payload: EventCliSessionStarted;
- }[];
- export {};
|