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

    Variable convertLegacyIdConst

    convertLegacyId: (
        type: "group" | "manga" | "chapter" | "tag",
        ids: number[],
    ) => Promise<Record<number, string>> = Manga.convertLegacyId

    Converts old (pre v5, numeric ids) Mangadex ids to v5 ids. Any invalid legacy ids will be skipped by Mangadex when remapping, so call this function for each individual id if this is an issue.

    Type Declaration

      • (
            type: "group" | "manga" | "chapter" | "tag",
            ids: number[],
        ): Promise<Record<number, string>>
      • Converts legacy pre-V5 MangaDex ids to modern UUIDs. Returns a record with legacy ids as the keys and new ids as the values.

        Parameters

        • type: "group" | "manga" | "chapter" | "tag"
        • ids: number[]

        Returns Promise<Record<number, string>>