OINO TS
    Preparing search index...

    Class OINOBlobFactory

    Static factory for creating OINOBlob instances and OINOBlobApi instances from registered provider classes.

    Usage:

    OINOBlobFactory.registerBlob("OINOBlobAzure", OINOBlobAzure)
    const blob = await OINOBlobFactory.createBlob({ type: "OINOBlobAzure", ... })
    const api = await OINOBlobFactory.createApi(blob, { apiName: "files", tableName: "uploads/" })
    Index

    Constructors

    Methods

    • Create and optionally connect/validate a blob backend from params.

      Parameters

      • params: OINOBlobParams

        connection parameters

      • connect: boolean = true

        if true, calls connect() on the backend

      • validate: boolean = true

        if true, calls validate() on the backend

      Returns Promise<OINOBlob>