@oneblink/storage
    Preparing search index...

    Type Alias StorageConstructorOptions

    The properties to be passed to the Storage class constructors

    type StorageConstructorOptions = {
        apiOrigin: string;
        getBearerToken: () => Promise<string | undefined>;
        region: string;
    }
    Index

    Properties

    apiOrigin: string

    The API origin URL used to communicate with the OneBlink API

    getBearerToken: () => Promise<string | undefined>

    A function that returns a promise resolving to a Bearer token. If the promise resolves to a truthy value, the authorization header will be set with the value.

    region: string

    The AWS region to upload the submission to