Interface Config

Settings for the client

Hierarchy

  • Config

Properties

Properties

amqp: {
    endpoint?: string;
    topics: ("user" | "userbanlist" | "content")[];
    username: string;
}

Type declaration

  • Optional endpoint?: string

    Endpoint of RabbitMQ, only needs to be set when targeting staging or development environments.

  • topics: ("user" | "userbanlist" | "content")[]

    Which topics to subscribe to.

  • username: string

    The username used to connect to RabbitMQ.

apiKey: string

The API key retrieved from the developer portal.

url?: string

URL to the API, only needs to be set when targeting staging or development environments.

Generated using TypeDoc