/** * @typedef {{name: string, key: string, tooltip?: string, checked?: boolean, sub?: {name: string, tooltip?: string, checked?: string}[]}[]} Options * @typedef {{name: string, img: string, opts: Object} */ const dataSet = {}; /** * Data set version, in YYYY-MM-DD form. * * @example '2018-02-20' */ let dataSetVersion = ''; /** * Image root, will be appended to the start of every image URL. */ const imageRoot = 'https://cdn.myanimelist.net/images/characters/';