Type alias APIClientProviderOptions

APIClientProviderOptions: {
    clientClass?: typeof APIClient;
    configSetting?: string;
    serviceName?: string;
}

The options for the provider creator that registers an APIClient in the container. These options allow the application to register multiple instances for different APIs.

Type declaration

  • Optional clientClass?: typeof APIClient

    The class the service will instantiate. It has to extend APIClient.

    Default

    APIClient
    
  • Optional configSetting?: string

    The name of the configuration setting that has the API information.

    Default

    'api'
    
  • Optional serviceName?: string

    The name of the service that will be registered into the app.

    Default

    'apiClient'
    

Generated using TypeDoc