@kkbox/kkbox-js-sdk
Version:
KKBOX Open API developer SDK for JavaScript. Use it to easily access KKBOX open API to get various metadata about KKBOX's tracks, albums, artists, playlists and stations.
1,766 lines • 97.7 kB
JSON
{
"type": "File",
"start": 0,
"end": 783,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 20,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 783,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 20,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "VariableDeclaration",
"start": 0,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 49
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 48
}
},
"id": {
"type": "Identifier",
"start": 6,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 16
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"init": {
"type": "StringLiteral",
"start": 19,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 48
}
},
"extra": {
"rawValue": "https://api.kkbox.com/v1.1/",
"raw": "'https://api.kkbox.com/v1.1/'"
},
"value": "https://api.kkbox.com/v1.1/"
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 50,
"end": 107,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 57
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 56,
"end": 106,
"loc": {
"start": {
"line": 2,
"column": 6
},
"end": {
"line": 2,
"column": 56
}
},
"id": {
"type": "Identifier",
"start": 56,
"end": 68,
"loc": {
"start": {
"line": 2,
"column": 6
},
"end": {
"line": 2,
"column": 18
},
"identifierName": "OAUTH_DOMAIN"
},
"name": "OAUTH_DOMAIN"
},
"init": {
"type": "StringLiteral",
"start": 71,
"end": 106,
"loc": {
"start": {
"line": 2,
"column": 21
},
"end": {
"line": 2,
"column": 56
}
},
"extra": {
"rawValue": "https://account.kkbox.com/oauth2/",
"raw": "'https://account.kkbox.com/oauth2/'"
},
"value": "https://account.kkbox.com/oauth2/"
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 109,
"end": 782,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 19,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 109,
"end": 781,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 19,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 109,
"end": 123,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 109,
"end": 115,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
},
"identifierName": "module"
},
"name": "module"
},
"property": {
"type": "Identifier",
"start": 116,
"end": 123,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 14
},
"identifierName": "exports"
},
"name": "exports"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 126,
"end": 781,
"loc": {
"start": {
"line": 4,
"column": 17
},
"end": {
"line": 19,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 130,
"end": 159,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 130,
"end": 136,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 8
},
"identifierName": "SEARCH"
},
"name": "SEARCH"
},
"value": {
"type": "BinaryExpression",
"start": 138,
"end": 159,
"loc": {
"start": {
"line": 5,
"column": 10
},
"end": {
"line": 5,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 138,
"end": 148,
"loc": {
"start": {
"line": 5,
"column": 10
},
"end": {
"line": 5,
"column": 20
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 151,
"end": 159,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 31
}
},
"extra": {
"rawValue": "search",
"raw": "'search'"
},
"value": "search"
}
}
},
{
"type": "ObjectProperty",
"start": 163,
"end": 192,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 163,
"end": 169,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 8
},
"identifierName": "TRACKS"
},
"name": "TRACKS"
},
"value": {
"type": "BinaryExpression",
"start": 171,
"end": 192,
"loc": {
"start": {
"line": 6,
"column": 10
},
"end": {
"line": 6,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 171,
"end": 181,
"loc": {
"start": {
"line": 6,
"column": 10
},
"end": {
"line": 6,
"column": 20
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 184,
"end": 192,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 31
}
},
"extra": {
"rawValue": "tracks",
"raw": "'tracks'"
},
"value": "tracks"
}
}
},
{
"type": "ObjectProperty",
"start": 196,
"end": 227,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 196,
"end": 203,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 9
},
"identifierName": "ARTISTS"
},
"name": "ARTISTS"
},
"value": {
"type": "BinaryExpression",
"start": 205,
"end": 227,
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 205,
"end": 215,
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 21
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 218,
"end": 227,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 33
}
},
"extra": {
"rawValue": "artists",
"raw": "'artists'"
},
"value": "artists"
}
}
},
{
"type": "ObjectProperty",
"start": 231,
"end": 260,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 231,
"end": 237,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 8
},
"identifierName": "ALBUMS"
},
"name": "ALBUMS"
},
"value": {
"type": "BinaryExpression",
"start": 239,
"end": 260,
"loc": {
"start": {
"line": 8,
"column": 10
},
"end": {
"line": 8,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 239,
"end": 249,
"loc": {
"start": {
"line": 8,
"column": 10
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 252,
"end": 260,
"loc": {
"start": {
"line": 8,
"column": 23
},
"end": {
"line": 8,
"column": 31
}
},
"extra": {
"rawValue": "albums",
"raw": "'albums'"
},
"value": "albums"
}
}
},
{
"type": "ObjectProperty",
"start": 264,
"end": 313,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 51
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 264,
"end": 280,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 18
},
"identifierName": "SHARED_PLAYLISTS"
},
"name": "SHARED_PLAYLISTS"
},
"value": {
"type": "BinaryExpression",
"start": 282,
"end": 313,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 51
}
},
"left": {
"type": "Identifier",
"start": 282,
"end": 292,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 30
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 295,
"end": 313,
"loc": {
"start": {
"line": 9,
"column": 33
},
"end": {
"line": 9,
"column": 51
}
},
"extra": {
"rawValue": "shared-playlists",
"raw": "'shared-playlists'"
},
"value": "shared-playlists"
}
}
},
{
"type": "ObjectProperty",
"start": 317,
"end": 360,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 317,
"end": 330,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 15
},
"identifierName": "MOOD_STATIONS"
},
"name": "MOOD_STATIONS"
},
"value": {
"type": "BinaryExpression",
"start": 332,
"end": 360,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 45
}
},
"left": {
"type": "Identifier",
"start": 332,
"end": 342,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 27
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 345,
"end": 360,
"loc": {
"start": {
"line": 10,
"column": 30
},
"end": {
"line": 10,
"column": 45
}
},
"extra": {
"rawValue": "mood-stations",
"raw": "'mood-stations'"
},
"value": "mood-stations"
}
}
},
{
"type": "ObjectProperty",
"start": 364,
"end": 417,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 55
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 364,
"end": 382,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "FEATURED_PLAYLISTS"
},
"name": "FEATURED_PLAYLISTS"
},
"value": {
"type": "BinaryExpression",
"start": 384,
"end": 417,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 384,
"end": 394,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 32
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 397,
"end": 417,
"loc": {
"start": {
"line": 11,
"column": 35
},
"end": {
"line": 11,
"column": 55
}
},
"extra": {
"rawValue": "featured-playlists",
"raw": "'featured-playlists'"
},
"value": "featured-playlists"
}
}
},
{
"type": "ObjectProperty",
"start": 421,
"end": 495,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 76
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 421,
"end": 450,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 31
},
"identifierName": "FEATURED_PLAYLISTS_CATEGORIES"
},
"name": "FEATURED_PLAYLISTS_CATEGORIES"
},
"value": {
"type": "BinaryExpression",
"start": 452,
"end": 495,
"loc": {
"start": {
"line": 12,
"column": 33
},
"end": {
"line": 12,
"column": 76
}
},
"left": {
"type": "Identifier",
"start": 452,
"end": 462,
"loc": {
"start": {
"line": 12,
"column": 33
},
"end": {
"line": 12,
"column": 43
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 465,
"end": 495,
"loc": {
"start": {
"line": 12,
"column": 46
},
"end": {
"line": 12,
"column": 76
}
},
"extra": {
"rawValue": "featured-playlist-categories",
"raw": "'featured-playlist-categories'"
},
"value": "featured-playlist-categories"
}
}
},
{
"type": "ObjectProperty",
"start": 499,
"end": 560,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 63
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 499,
"end": 521,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 24
},
"identifierName": "NEW_RELEASE_CATEGORIES"
},
"name": "NEW_RELEASE_CATEGORIES"
},
"value": {
"type": "BinaryExpression",
"start": 523,
"end": 560,
"loc": {
"start": {
"line": 13,
"column": 26
},
"end": {
"line": 13,
"column": 63
}
},
"left": {
"type": "Identifier",
"start": 523,
"end": 533,
"loc": {
"start": {
"line": 13,
"column": 26
},
"end": {
"line": 13,
"column": 36
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 536,
"end": 560,
"loc": {
"start": {
"line": 13,
"column": 39
},
"end": {
"line": 13,
"column": 63
}
},
"extra": {
"rawValue": "new-release-categories",
"raw": "'new-release-categories'"
},
"value": "new-release-categories"
}
}
},
{
"type": "ObjectProperty",
"start": 564,
"end": 617,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 55
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 564,
"end": 582,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 20
},
"identifierName": "NEW_HITS_PLAYLISTS"
},
"name": "NEW_HITS_PLAYLISTS"
},
"value": {
"type": "BinaryExpression",
"start": 584,
"end": 617,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 584,
"end": 594,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 32
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 597,
"end": 617,
"loc": {
"start": {
"line": 14,
"column": 35
},
"end": {
"line": 14,
"column": 55
}
},
"extra": {
"rawValue": "new-hits-playlists",
"raw": "'new-hits-playlists'"
},
"value": "new-hits-playlists"
}
}
},
{
"type": "ObjectProperty",
"start": 621,
"end": 666,
"loc": {
"start": {
"line": 15,
"column": 2
},
"end": {
"line": 15,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 621,
"end": 635,
"loc": {
"start": {
"line": 15,
"column": 2
},
"end": {
"line": 15,
"column": 16
},
"identifierName": "GENRE_STATIONS"
},
"name": "GENRE_STATIONS"
},
"value": {
"type": "BinaryExpression",
"start": 637,
"end": 666,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 47
}
},
"left": {
"type": "Identifier",
"start": 637,
"end": 647,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 28
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 650,
"end": 666,
"loc": {
"start": {
"line": 15,
"column": 31
},
"end": {
"line": 15,
"column": 47
}
},
"extra": {
"rawValue": "genre-stations",
"raw": "'genre-stations'"
},
"value": "genre-stations"
}
}
},
{
"type": "ObjectProperty",
"start": 670,
"end": 699,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 670,
"end": 676,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 8
},
"identifierName": "CHARTS"
},
"name": "CHARTS"
},
"value": {
"type": "BinaryExpression",
"start": 678,
"end": 699,
"loc": {
"start": {
"line": 16,
"column": 10
},
"end": {
"line": 16,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 678,
"end": 688,
"loc": {
"start": {
"line": 16,
"column": 10
},
"end": {
"line": 16,
"column": 20
},
"identifierName": "API_DOMAIN"
},
"name": "API_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 691,
"end": 699,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 31
}
},
"extra": {
"rawValue": "charts",
"raw": "'charts'"
},
"value": "charts"
}
}
},
{
"type": "ObjectProperty",
"start": 703,
"end": 733,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 703,
"end": 708,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 7
},
"identifierName": "Token"
},
"name": "Token"
},
"value": {
"type": "BinaryExpression",
"start": 710,
"end": 733,
"loc": {
"start": {
"line": 17,
"column": 9
},
"end": {
"line": 17,
"column": 32
}
},
"left": {
"type": "Identifier",
"start": 710,
"end": 722,
"loc": {
"start": {
"line": 17,
"column": 9
},
"end": {
"line": 17,
"column": 21
},
"identifierName": "OAUTH_DOMAIN"
},
"name": "OAUTH_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 725,
"end": 733,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 32
}
},
"extra": {
"rawValue": "token/",
"raw": "'token/'"
},
"value": "token/"
}
}
},
{
"type": "ObjectProperty",
"start": 737,
"end": 779,
"loc": {
"start": {
"line": 18,
"column": 2
},
"end": {
"line": 18,
"column": 44
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 737,
"end": 750,
"loc": {
"start": {
"line": 18,
"column": 2
},
"end": {
"line": 18,
"column": 15
},
"identifierName": "Authorization"
},
"name": "Authorization"
},
"value": {
"type": "BinaryExpression",
"start": 752,
"end": 779,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 752,
"end": 764,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 29
},
"identifierName": "OAUTH_DOMAIN"
},
"name": "OAUTH_DOMAIN"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 767,
"end": 779,
"loc": {
"start": {
"line": 18,
"column": 32
},
"end": {
"line": 18,
"column": 44
}
},
"extra": {
"rawValue": "authorize/",
"raw": "'authorize/'"
},
"value": "authorize/"
}
}
}
]
}
}
}
],
"directives": []
},
"comments": [],
"tokens": [
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "API_DOMAIN",
"start": 6,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 17,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "https://api.kkbox.com/v1.1/",
"start": 19,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 48,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 48
},
"end": {
"line": 1,
"column": 49
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 50,
"end": 55,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "OAUTH_DOMAIN",
"start": 56,
"end": 68,
"loc": {
"start": {
"line": 2,
"column": 6
},
"end": {
"line": 2,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 69,
"end": 70,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "https://account.kkbox.com/oauth2/",
"start": 71,
"end": 106,
"loc": {
"start": {
"line": 2,
"column": 21
},
"end": {
"line": 2,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 106,
"end": 107,
"loc": {
"start": {
"line": 2,
"column"