Documentation

Mistake on this page? Email us

DarkThemeColor repository

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Initalise a new instance of the repository

    Parameters

    • Optional config: Config

      The configuration to use, if null then repository will initalise its own using dotenv

    • Optional client: Client

      The client instance to use

    Returns DarkThemeColorRepository

Properties

client

client: Client

The repository client instance

config

config: Config

The repository configuration class

Methods

delete

  • delete(reference: string): Promise<void>
  • delete

    Parameters

    • reference: string

      The name of the branding color.

    Returns Promise<void>

list

read

  • read

    Parameters

    • reference: string

      Color name.

    Returns Promise<DarkThemeColor>

update