Static properties and methods related to the asset repository.

Constructors

Methods

  • Get assets by name.

    Parameters

    • assetname: string

      given name of the asset

    Returns Promise<IAsset>

  • Get assets by path.

    Parameters

    • assetPath: string

      path to the asset

    Returns Promise<[IAsset, IAssetFile]>

  • Get all assets of the current client.

    Returns Promise<IAsset[]>

  • Get asset file as Blob by name.

    Parameters

    • assetname: string

      given name of the asset

    • filename: string

      name of the file

    Returns Promise<Blob>

  • Get asset file as URL by name.

    Parameters

    • assetname: string

      given name of the asset

    • filename: string

      name of the file

    Returns Promise<string>

  • Reset asset repository.

    Returns Promise<void>