AniLink - v2.0.0
    Preparing search index...

    Interface MalUser

    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 MalRequestOptions.fields and are exposed through the index signature without narrowing.

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

    Indexable

    • [field: string]: unknown

      Additional fields requested by a caller remain available without narrowing.

    Index
    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.