aboutsummaryrefslogtreecommitdiff
path: root/node_modules/genius-lyrics/dist/Constants.js
blob: 6951e4da85fedcc61244244e74d93de3c3dea759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Constants = void 0;
exports.Constants = {
    BASE_URL: "https://api.genius.com",
    UN_BASE_URL: "https://genius.com/api",
    ARTIST_SORTS: ["title", "popularity"],
    DEF_USER_AGENT: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36",
    REQUIRES_KEY: "This action requires a valid Genius Token",
    INV_RES_OBJ: "Invalid response object",
    INV_CONFIG_OBJ: "Invalid config",
    INV_TOKEN: "Invalid Genius Token",
    NO_RESULT: "No result was found",
    ERR_W_MSG: (err, msg) => `Returned ${err} with message: ${msg}`,
};