Skip to content
theBowja edited this page Sep 21, 2022 · 3 revisions
enum Folder {
    characters     = "characters",
    talents        = "talents",
    constellations = "constellations",

    weapons        = "weapons",

    materials      = "materials",
    foods          = "foods",
    crafts         = "crafts",

    artifacts      = "artifacts",
    domains        = "domains",
    enemies        = "enemies",
    animals        = "animals",

    outfits        = "outfits",
    windgliders    = "windgliders",
    namecards      = "namecards",
    geographies    = "geographies",

    achievements   = "achievements",
    achievementgroups = "achievementgroups",

    adventureranks = "adventureranks",

    rarity         = "rarity", // depreciated
    elements       = "elements"
}

Access this enum using genshindb.Folder
For example genshindb.Folder.characters

Or using destructuring const { Folder } = require('genshin-db');
For example Folder.characters

Source code
Typescript type

Clone this wiki locally