jimpex
    Preparing search index...

    Type Alias APIClientProviderOptions

    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 APIClientProviderOptions = {
        clientClass?: typeof APIClient;
        configSetting?: string;
        serviceName?: string;
    }
    Index

    Properties

    clientClass?: typeof APIClient

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

    APIClient
    
    configSetting?: string

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

    'api'
    
    serviceName?: string

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

    'apiClient'