types
Esta página aún no está disponible en tu idioma.
Interfaces
Section titled “Interfaces”ConfigResolverBuilderOpts<Schema>
Section titled “ConfigResolverBuilderOpts<Schema>”Defined in: types.ts:46^
Options for building a configuration resolver.
Type Parameters
Section titled “Type Parameters”Schema
Section titled “Schema”Schema
The type of the Zod schema used for validation.
Properties
Section titled “Properties”configPaths
Section titled “configPaths”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
Section titled “zodSchema”zodSchema: Schema;
Defined in: types.ts:49^
The Zod schema instance used to validate the configuration.
ImportBundledFileArgs
Section titled “ImportBundledFileArgs”Defined in: types.ts:8^
Arguments for importing a bundled file.
Properties
Section titled “Properties”code: string;
Defined in: types.ts:9^
The source code of the bundled file as a string.
label?
Section titled “label?”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.
LoadAndBundleConfigFileArgs
Section titled “LoadAndBundleConfigFileArgs”Defined in: types.ts:21^
Arguments for loading and bundling a configuration file.
Properties
Section titled “Properties”fileUrl
Section titled “fileUrl”fileUrl: undefined | URL;
Defined in: types.ts:23^
The URL of the configuration file to load, or undefined if not specified.
label?
Section titled “label?”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.
LoadAndBundleConfigFileResult
Section titled “LoadAndBundleConfigFileResult”Defined in: types.ts:33^
The result of loading and bundling a configuration file.
Properties
Section titled “Properties”dependencies
Section titled “dependencies”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.
WatchConfigFileOptions
Section titled “WatchConfigFileOptions”Defined in: types.ts:57^
Options for watching configuration files.
Properties
Section titled “Properties”configPaths
Section titled “configPaths”configPaths: string[];
Defined in: types.ts:58^
An array of file paths to configuration files that should be watched.