mangadex-full-api - v6.2.0
    Preparing search index...

    Class ChapterInternal

    This class represents the most abstract version of a MangaDex object, containing only the ID of the object. This is mostly used for instanceOf checks.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    chapter: string | null

    The chapter number for this chapter

    createdAt: Date

    When this chapter was created

    externalUrl: string | null

    Url to this chapter if it's an external chapter

    groups: Relationship<Group>[]

    Array of relationships to the groups that translated this chapter

    id: string

    The MangaDex UUID of this chapter

    isExternal: boolean

    Is this chapter an external chapter? If it is, this chapter will have an externalUrl

    isUnavailable: boolean

    Is this chapter unavailable?

    A relationship to the manga this chapter belongs to

    pages: number

    The number of pages in this chapter

    publishAt: Date

    When this chapter was originally published

    readableAt: Date

    When was / when will this chapter be readable?

    title: string | null

    The title of this chapter

    translatedLanguage: string

    The language of this chapter

    updatedAt: Date

    When this chapter was last updated

    uploader: Relationship<User>

    Relationship to the user who uploaded this chapter

    version: number

    The version of this chapter (incremented by updating chapter data)

    volume: string | null

    The manga volume this chapter belongs to

    Methods

    • Returns an array of image URLs for this chapter's pages. Once an image is requested, if the host is from MangaDex(at)Home, please report if it succeeds or fails by using reportPageURL.

      Parameters

      • saver: boolean = false

        If true, the URLs will be for the compressed data-saver images (if available).

      • forcePort: boolean = false

        If true, the URLs will be forced to be on port 443.

      Returns Promise<string[]>

    • Delete this chapter

      Parameters

      • id: string

      Returns Promise<void>

    • Retrieves a chapter object by its UUID

      Parameters

      • id: string
      • OptionalexpandedTypes: ("user" | "scanlation_group" | "manga")[]

      Returns Promise<Chapter>