🎉 initiate project *astro_rewrite*

This commit is contained in:
sindrekjelsrud 2023-07-19 21:31:30 +02:00
parent ffd4d5e86c
commit 2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions

30
node_modules/astro/dist/events/error.d.ts generated vendored Normal file
View file

@ -0,0 +1,30 @@
import type { ZodError } from 'zod';
import { type ErrorWithMetadata } from '../core/errors/index.js';
interface ErrorEventPayload {
name: string;
isFatal: boolean;
plugin?: string | undefined;
cliCommand: string;
anonymousMessageHint?: string | undefined;
}
interface ConfigErrorEventPayload extends ErrorEventPayload {
isConfig: true;
configErrorPaths: string[];
}
export declare function eventConfigError({ err, cmd, isFatal, }: {
err: ZodError;
cmd: string;
isFatal: boolean;
}): {
eventName: string;
payload: ConfigErrorEventPayload;
}[];
export declare function eventError({ cmd, err, isFatal, }: {
err: ErrorWithMetadata;
cmd: string;
isFatal: boolean;
}): {
eventName: string;
payload: ErrorEventPayload;
}[];
export {};