@netlify/config
Version:
Netlify config module
25 lines (24 loc) • 649 B
TypeScript
import { type MinimalAccount } from './api/site_info.js';
export type Config = {
accounts: MinimalAccount[] | undefined;
api: any;
branch: any;
buildDir: any;
config: any;
configPath: any;
context: any;
env: any;
headersPath: any;
integrations: any;
logs: any;
redirectsPath: any;
repositoryRoot: any;
siteInfo: any;
token: any;
};
/**
* Load the configuration file.
* Takes an optional configuration file path as input and return the resolved
* `config` together with related properties such as the `configPath`.
*/
export declare const resolveConfig: (opts: any) => Promise<Config>;