Skip to content

Function: definePotentialConfigFromEnv()

ts
function definePotentialConfigFromEnv(envs: AdonisKyooEnvVariables): unknown;

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

unknown

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