@deep/nest-kit
    Preparing search index...

    Class CompanionController

    Controller for uppy companion

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Get upload parameters for Google Cloud Storage

      Parameters

      • filename: string

        uploaded file name (e.g. 12345.jpg)

      • bucket: string

        Google Cloud Storage bucket name (e.g. hc-uploads)

      • headerOrigin: string

        origin header (e.g. https://example.com)

      Returns Promise<{ method: string; url: string }>

      http method, and url to upload file to Google Cloud Storage