Type Alias Category

Category: {
    _links: {
        self?: HateoasLink;
    };
    id: number;
    image_url: string;
    parent_id: number | null;
    title: string;
}

Information about the Category

Type declaration

  • _links: {
        self?: HateoasLink;
    }

    HATEOAS links

  • id: number

    Category ID

  • image_url: string

    The URL of the Category image

  • parent_id: number | null

    ID of the parent Category. If there is no parent Category, null is returned.

  • title: string

    Category title