@amadeus-it-group/kassette
    Preparing search index...

    Interface GetConfigurationProps

    Parameter of the getConfiguration function (which a kassette configuration file is supposed to export).

    interface GetConfigurationProps {
        apiConfiguration: ConfigurationSpec;
        cliConfiguration: CLIConfigurationSpec;
        context: any;
    }
    Index

    Properties

    apiConfiguration: ConfigurationSpec

    If run from the API, this is the configuration coming from the runFromAPI call. Otherwise it is an empty object.

    cliConfiguration: CLIConfigurationSpec

    If run from the CLI, this is the configuration coming from the CLI. Otherwise it is an empty object.

    context: any

    If run from the API, this is the context value provided (if any) through runFromAPI. Otherwise it is undefined.