Type alias CategoryPayload

CategoryPayload: {
    createdAt: string;
    groupId: string;
    id: number;
    name: string;
    priority?: number;
    serverId: string;
    updatedAt?: string;
}

Type declaration

  • createdAt: string

    The ISO 8601 timestamp that the category was created at

  • groupId: string

    The ID of the group

  • id: number

    The ID of the category

  • name: string

    Name of the category

  • Optional priority?: number

    The priority of the category will determine its position relative to other categories in the group. The higher the value, the higher up it will be displayed in the UI. Returned values can be null, in which case sorting will be done by createdAt in descending order. Due to legacy issues, sending a null value is not possible

  • serverId: string

    The ID of the server

  • Optional updatedAt?: string

    The ISO 8601 timestamp that the category was updated at, if relevant

Generated using TypeDoc