LikesVariables is an interface representing the variables for the LikesQuery. It includes optional likeable id, type, page, and per page.

interface LikesVariables {
    likeableId?: number;
    page?: number;
    perPage?: number;
    type?: LikeableType;
}

Properties

likeableId?: number

likeableId is a number representing the id of the likeable item.

page?: number

page is a number representing the page number.

perPage?: number

perPage is a number representing the number of items per page.

type is a string representing the type of the likeable item.