Documentation

Mistake on this page? Email us

DarkThemeImage repository

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

client

client: Client

The repository client instance

config

config: Config

The repository configuration class

Methods

delete

  • delete

    Parameters

    • reference: string

      Name of the branding images (icon or picture).

    Returns Promise<DarkThemeImage>

list

read

  • read

    Parameters

    • reference: string

      Name of the image.

    Returns Promise<DarkThemeImage>

update

  • update(image: ReadStream | Buffer | File | Blob, reference: string): Promise<DarkThemeImage>
  • update

    Parameters

    • image: ReadStream | Buffer | File | Blob

      The image in PNG or JPEG format as multipart form data.

    • reference: string

      Name of the image.

    Returns Promise<DarkThemeImage>