AniLink - v3.0.0
    Preparing search index...

    MalUser is the typed portion of the authenticated MyAnimeList user response returned by MalUserOperation.me and MyAnimeListUserApi.me.

    It always carries id and name; additional fields appear when requested via the fields request option and are exposed through the index signature without narrowing.

    interface MalUser {
        birthday?: string;
        gender?: string;
        id: number;
        joined_at?: string;
        location?: string;
        name: string;
        picture?: string;
        [field: string]: unknown;
    }

    Indexable

    • [field: string]: unknown

      Any additional fields requested by a caller remain available without narrowing.

    Index
    birthday?: string

    The user's birthday in ISO 8601 format, when requested via the fields query parameter.

    gender?: string

    The user's gender, when requested via the fields query parameter.

    id: number

    The MyAnimeList numeric user identifier.

    joined_at?: string

    Optional account creation timestamp.

    location?: string

    Optional profile location.

    name: string

    The user's MyAnimeList name.

    picture?: string

    The user's profile picture URL, when requested via the fields query parameter.