CharactersVariables is an interface representing the variables for the CharactersQuery. It includes optional page, per page, id, is birthday, search, id not, id in, id not in, sort, as html, media sort, media on list, media page, and media per page.

interface CharactersVariables {
    asHtml?: boolean;
    id?: number;
    id_in?: number[];
    id_not?: number;
    id_not_in?: number[];
    isBirthday?: boolean;
    mediaOnList?: boolean;
    mediaPage?: number;
    mediaPerPage?: number;
    mediaSort?: string[];
    page?: number;
    perPage?: number;
    search?: string;
    sort?: string[];
}

Properties

asHtml?: boolean

asHtml is a boolean representing whether to return the result as HTML.

id?: number

id is a number representing the id of the character.

id_in?: number[]

id_in is an array of numbers representing the ids that should be included.

id_not?: number

id_not is a number representing the id that should not be included.

id_not_in?: number[]

id_not_in is an array of numbers representing the ids that should not be included.

isBirthday?: boolean

isBirthday is a boolean representing whether it is the character's birthday.

mediaOnList?: boolean

mediaOnList is a boolean representing whether the media is on the list.

mediaPage?: number

mediaPage is a number representing the media page number.

mediaPerPage?: number

mediaPerPage is a number representing the number of media items per page.

mediaSort?: string[]

mediaSort is an array of strings representing the media sort order.

page?: number

page is a number representing the page number.

perPage?: number

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

search?: string

search is a string representing the search term.

sort?: string[]

sort is an array of strings representing the sort order.