Skip to content

Function: definePotentialConfigFromEnv() ​

ts
function definePotentialConfigFromEnv(envs: AdonisKyooEnvVariables): {};

Retrieves a potential configuration object for the Kyoo client from the environment variables.

Parameters ​

ParameterTypeDescription
envsAdonisKyooEnvVariablesAn object containing the environment variables for the Kyoo client.

Returns ​

ts
{
}

A potendial configuration object for the Kyoo client which should be passed to the defineConfig function.