Skip to main content

Interface: ParseContext

Defined in: packages/core/src/types.ts:100

Properties​

anchorDir?​

optional anchorDir?: string;

Defined in: packages/core/src/types.ts:110

Absolute; the directory this source is anchored at — where its schema lives. A parser resolves the source's own toolchain dependencies (@prisma/internals and equivalents) from here, letting Node walk up node_modules to cwd and beyond. Absent (⇒ treat as cwd) when the parser declares no anchor hook.


cwd​

cwd: string;

Defined in: packages/core/src/types.ts:103

Absolute; the config-file directory. Base for options.schema and output paths.


logger​

logger: Logger;

Defined in: packages/core/src/types.ts:111


namespace​

namespace: string;

Defined in: packages/core/src/types.ts:101