Saltearse al contenido

types

Esta página aún no está disponible en tu idioma.

Defined in: types.ts:46^

Options for building a configuration resolver.

Schema

The type of the Zod schema used for validation.

configPaths: string[];

Defined in: types.ts:47^

An array of file paths to search for configuration files.

label: string;

Defined in: types.ts:48^

A human-readable label describing the configuration.

zodSchema: Schema;

Defined in: types.ts:49^

The Zod schema instance used to validate the configuration.


Defined in: types.ts:8^

Arguments for importing a bundled file.

code: string;

Defined in: types.ts:9^

The source code of the bundled file as a string.

optional label: string;

Defined in: types.ts:11^

(Optional) A label for the temporary file, useful for identification or debugging.

root: URL;

Defined in: types.ts:10^

The root URL used as the base for resolving file paths.


Defined in: types.ts:21^

Arguments for loading and bundling a configuration file.

fileUrl: undefined | URL;

Defined in: types.ts:23^

The URL of the configuration file to load, or undefined if not specified.

optional label: string;

Defined in: types.ts:24^

(Optional) A label for the temporary file, used for identification or logging.

root: URL;

Defined in: types.ts:22^

The root directory as a URL.


Defined in: types.ts:33^

The result of loading and bundling a configuration file.

dependencies: string[];

Defined in: types.ts:35^

An array of file paths representing the dependencies of the loaded configuration file.

mod:
| undefined
| {
default: unknown;
};

Defined in: types.ts:34^

The loaded module, which may contain a default export of any type, or be undefined if loading failed.


Defined in: types.ts:57^

Options for watching configuration files.

configPaths: string[];

Defined in: types.ts:58^

An array of file paths to configuration files that should be watched.