Details of a gadget.

interface DashboardGadget {
    color:
        | "blue"
        | "cyan"
        | "gray"
        | "green"
        | "red"
        | "white"
        | "yellow"
        | "purple";
    id: number;
    moduleKey?: string;
    position: DashboardGadgetPosition;
    title: string;
    uri?: string;
}

Properties

color:
    | "blue"
    | "cyan"
    | "gray"
    | "green"
    | "red"
    | "white"
    | "yellow"
    | "purple"

The color of the gadget. Should be one of blue, red, yellow, green, cyan, purple, gray, or white.

id: number

The ID of the gadget instance.

moduleKey?: string

The module key of the gadget type.

The position of the gadget.

title: string

The title of the gadget.

uri?: string

The URI of the gadget type.