CustomListAttributes

Hierarchy

Implements

Constructors

Properties

creator: Relationship<User>

A relationship to the user who created and owns this list

id: string

The MangaDex UUID of this custom list

An array of relationships to the manga in this custom list

name: string

The display name of this custom list

version: number

The version of this custom list (incremented by updating data)

visibility: "private" | "public"

Is this list public or private?

Methods

  • Add a manga to this list

    Parameters

    Returns Promise<void>

  • Changes the visibility of this custom list

    Parameters

    • newVis: "private" | "public"

    Returns Promise<List>

  • Make the currently authenticated user follow this list

    Returns Promise<void>

  • Remove a manga from this list

    Parameters

    Returns Promise<void>

  • Make the currently authenticated user unfollow this list

    Returns Promise<void>

  • Add a manga to a list

    Parameters

    • listId: string
    • manga: string | Manga

    Returns Promise<void>

  • Deletes a list by its id

    Parameters

    • id: string

    Returns Promise<void>

  • Make the currently authenticated user follow a list

    Parameters

    • id: string

    Returns Promise<void>

  • Returns all lists followed by the currently authenticated user

    Parameters

    • limit: number = Infinity
    • offset: number = 0

    Returns Promise<List[]>

  • Returns all of the currently authenticated user's custom manga lists

    Parameters

    • limit: number = Infinity
    • offset: number = 0

    Returns Promise<List[]>

  • Returns all of a user's custom manga lists

    Parameters

    • user: string | User
    • limit: number = Infinity
    • offset: number = 0

    Returns Promise<List[]>

  • Remove a manga from a list

    Parameters

    • listId: string
    • manga: string | Manga

    Returns Promise<void>

  • Make the currently authenticated user unfollow a list

    Parameters

    • id: string

    Returns Promise<void>

Generated using TypeDoc