UserVariables is an interface representing the variables for the UserQuery. It includes optional parameters for querying user data.

interface UserVariables {
    animeStatLimit?: number;
    animeStatSort?: UserStatisticSort[];
    asHtml?: boolean;
    id?: number;
    isModerator?: boolean;
    mangaStatLimit?: number;
    mangaStatSort?: UserStatisticSort[];
    name?: string;
    search?: string;
    sort?: UserSort[];
}

Properties

animeStatLimit?: number

animeStatLimit is a number representing the limit for anime statistics.

animeStatSort?: UserStatisticSort[]

animeStatSort is an array of strings representing the sort order of the anime statistics.

asHtml?: boolean

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

id?: number

id is a number representing the id of the user.

isModerator?: boolean

isModerator is a boolean indicating whether the user is a moderator.

mangaStatLimit?: number

mangaStatLimit is a number representing the limit for manga statistics.

mangaStatSort?: UserStatisticSort[]

mangaStatSort is an array of strings representing the sort order of the manga statistics.

name?: string

name is a string representing the name of the user.

search?: string

search is a string representing the search term.

sort?: UserSort[]

sort is an array of strings representing the sort order of the user.