ToggleFavouriteVariables is an interface that contains the variables that are required to toggle a favourite. It includes the id of what to toggle as a favourite.

interface ToggleFavouriteVariables {
    animeId: number;
    characterId: number;
    mangaId: number;
    staffId: number;
    studioId: number;
}

Properties

animeId: number

animeId is a number representing the id of the anime to toggle as a favourite.

characterId: number

characterId is a number representing the id of the character to toggle as a favourite.

mangaId: number

mangaId is a number representing the id of the manga to toggle as a favourite.

staffId: number

staffId is a number representing the id of the staff to toggle as a favourite.

studioId: number

studioId is a number representing the id of the studio to toggle as a favourite.