loadAbimongoConfig
@abimongo/core / loadAbimongoConfig
Function: loadAbimongoConfig()
loadAbimongoConfig(
configPath?):Promise<AbimongoConfig>
Defined in: core/src/config/loadAbimongoConfig.ts:26
Loads and validates the Abimongo configuration from a JSON file.
Parameters
configPath?
string
Optional path to the configuration file.
Returns
Promise<AbimongoConfig>
- The validated Abimongo configuration.
Throws
If the config file is not found or is invalid.