A sorter site for Idolm@ster Characters
1/**
2 * @typedef {{name: string, key: string, tooltip?: string, checked?: boolean, sub?: {name: string, tooltip?: string, checked?: string}[]}[]} Options
3 * @typedef {{name: string, img: string, opts: Object<string, boolean|number[]}[]} CharData
4*/
5
6/**
7 * Data set. Characters will be removed from the sorting array based on selected options, working down the array.
8 *
9 * @type {Object.<string, {options: Options, characterData: CharData}>}
10*/
11const dataSet = {};
12
13/**
14 * Data set version, in YYYY-MM-DD form.
15 *
16 * @example '2018-02-20'
17*/
18let dataSetVersion = '';
19
20/**
21 * Image root, will be appended to the start of every image URL.
22 */
23const imageRoot = 'https://i.imgur.com/';