whatcall - v0.0.0
    Preparing search index...

    Handles all interaction with the Firebase storage service.

    Index

    Constructors

    Methods

    • gets injected Firebase Storage service

      Returns Storage

      Firebase Storage service

    • Uploads a document to firebase storage and create a public URL

      Parameters

      • uid: string

        ID of current user

      • scenarioId: string

        ScenarioId to attach document to.

      • file: File

        File to upload

      Returns Promise<string>

      Resolves to a promise with the publicly accessible URL of the file