discogs-marketplace-api-nodejs 1.3.2 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.MD +78 -43
- package/dist/enum/ECurrency.d.ts +2 -3
- package/dist/enum/ECurrency.js +2 -4
- package/dist/enum/EFormat.d.ts +2 -3
- package/dist/enum/EFormat.js +2 -4
- package/dist/enum/EFormatDescription.d.ts +2 -3
- package/dist/enum/EFormatDescription.js +2 -4
- package/dist/enum/EFrom.d.ts +2 -3
- package/dist/enum/EFrom.js +3 -4
- package/dist/enum/EFromIso.d.ts +53 -53
- package/dist/enum/EGenre.d.ts +2 -3
- package/dist/enum/EGenre.js +2 -4
- package/dist/enum/ELang.d.ts +2 -3
- package/dist/enum/ELang.js +2 -4
- package/dist/enum/EMediaCondition.d.ts +2 -3
- package/dist/enum/EMediaCondition.js +2 -4
- package/dist/enum/ESort.d.ts +2 -3
- package/dist/enum/ESort.js +2 -4
- package/dist/enum/EStyle.d.ts +2 -3
- package/dist/enum/EStyle.js +2 -4
- package/dist/enum/EType.d.ts +2 -3
- package/dist/enum/EType.js +2 -4
- package/dist/enum/iso/ECountryCode.d.ts +255 -0
- package/dist/enum/iso/ECountryCode.js +258 -0
- package/dist/enum/iso/ECountryName.d.ts +255 -0
- package/dist/enum/iso/ECountryName.js +258 -0
- package/dist/enum/iso/EDiscogsCountryNameToIsoCode.d.ts +69 -0
- package/dist/enum/iso/EDiscogsCountryNameToIsoCode.js +72 -0
- package/dist/enum/iso/EDiscogsCurrencyToIsoCode.d.ts +23 -0
- package/dist/enum/iso/EDiscogsCurrencyToIsoCode.js +26 -0
- package/dist/enum/iso/translate/EDiscogsCountryNameToIsoCode.d.ts +69 -0
- package/dist/enum/iso/translate/EDiscogsCountryNameToIsoCode.js +72 -0
- package/dist/enum/iso/translate/EDiscogsCurrencyToIsoCode.d.ts +23 -0
- package/dist/enum/iso/translate/EDiscogsCurrencyToIsoCode.js +26 -0
- package/dist/enum/iso/translates/EDiscogsCountryNameToIsoCode.d.ts +69 -0
- package/dist/enum/iso/translates/EDiscogsCountryNameToIsoCode.js +72 -0
- package/dist/enum/iso/translates/EDiscogsCurrencyToIsoCode.d.ts +23 -0
- package/dist/enum/iso/translates/EDiscogsCurrencyToIsoCode.js +26 -0
- package/dist/index.d.ts +14 -14
- package/dist/index.js +22 -21
- package/dist/interface/IDiscogsMarketplace.d.ts +1 -2
- package/dist/interface/IInput.d.ts +12 -12
- package/dist/interface/IInput.js +11 -0
- package/dist/interface/IItem.d.ts +11 -6
- package/dist/interface/IItem.js +5 -0
- package/dist/interface/IOutputError.d.ts +1 -1
- package/dist/interface/IOutputSuccess.d.ts +4 -4
- package/dist/interface/IOutputSuccess.js +1 -0
- package/dist/interface/IYears.d.ts +1 -1
- package/dist/marketplace.d.ts +28 -42
- package/dist/marketplace.js +118 -120
- package/dist/type/TLimit.d.ts +2 -3
- package/package.json +23 -16
- package/.gitattributes +0 -1
- package/notes.md +0 -9
- package/tsconfig.build.json +0 -40
package/README.MD
CHANGED
|
@@ -26,7 +26,7 @@ DiscogsMarketplace.search({ searchType: EType.ARTIST, searchValue: 244819 })
|
|
|
26
26
|
})
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
In
|
|
29
|
+
In Javascript with require
|
|
30
30
|
|
|
31
31
|
```js
|
|
32
32
|
const DiscogsMarketplace = require('discogs-marketplace-api-nodejs').default
|
|
@@ -43,7 +43,7 @@ DiscogsMarketplace.search({ searchType: EType.ARTIST, searchValue: 244819 })
|
|
|
43
43
|
|
|
44
44
|
### Data format
|
|
45
45
|
|
|
46
|
-
Data that must provided to the search function must looks like this (other interfaces can be found in "*
|
|
46
|
+
Data that must provided to the search function must looks like this (other interfaces can be found in "*src/enum*" ) :
|
|
47
47
|
|
|
48
48
|
```ts
|
|
49
49
|
interface IInput {
|
|
@@ -126,65 +126,70 @@ If success, it will return :
|
|
|
126
126
|
|
|
127
127
|
```ts
|
|
128
128
|
interface IOutputSuccess {
|
|
129
|
-
|
|
129
|
+
items: IItem[]
|
|
130
130
|
page: {
|
|
131
|
-
current: number
|
|
131
|
+
current: number
|
|
132
132
|
total: number
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
total: number
|
|
136
|
-
perPage: number
|
|
137
|
-
}
|
|
133
|
+
}
|
|
134
|
+
result: {
|
|
135
|
+
total: number
|
|
136
|
+
perPage: number
|
|
137
|
+
}
|
|
138
138
|
search: {
|
|
139
|
-
value: string | number
|
|
139
|
+
value: string | number
|
|
140
140
|
type: EType
|
|
141
|
-
}
|
|
142
|
-
urlGenerated: string
|
|
141
|
+
}
|
|
142
|
+
urlGenerated: string
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
interface IItem {
|
|
146
|
+
itemId: number
|
|
146
147
|
title: {
|
|
147
|
-
original: string
|
|
148
|
-
artist: string
|
|
149
|
-
item: string
|
|
150
|
-
formats: string[]
|
|
151
|
-
}
|
|
152
|
-
url: string
|
|
153
|
-
labels: string[]
|
|
154
|
-
catnos: string[]
|
|
155
|
-
imageUrl: string
|
|
156
|
-
description: string
|
|
157
|
-
isAcceptingOffer: boolean
|
|
158
|
-
isAvailable: boolean
|
|
148
|
+
original: string
|
|
149
|
+
artist: string
|
|
150
|
+
item: string
|
|
151
|
+
formats: string[]
|
|
152
|
+
}
|
|
153
|
+
url: string
|
|
154
|
+
labels: string[]
|
|
155
|
+
catnos: string[]
|
|
156
|
+
imageUrl: string
|
|
157
|
+
description: string
|
|
158
|
+
isAcceptingOffer: boolean
|
|
159
|
+
isAvailable: boolean
|
|
159
160
|
condition: {
|
|
160
161
|
media: {
|
|
161
|
-
full: string
|
|
162
|
+
full: string
|
|
162
163
|
short: string
|
|
163
|
-
}
|
|
164
|
+
}
|
|
164
165
|
sleeve: {
|
|
165
|
-
full: string
|
|
166
|
+
full: string
|
|
166
167
|
short: string
|
|
167
168
|
}
|
|
168
|
-
}
|
|
169
|
+
}
|
|
169
170
|
seller: {
|
|
170
|
-
name: string
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
name: string
|
|
172
|
+
url: string
|
|
173
|
+
score: string
|
|
174
|
+
notes: number
|
|
175
|
+
}
|
|
174
176
|
price: {
|
|
175
|
-
base: string
|
|
176
|
-
shipping: string
|
|
177
|
-
}
|
|
177
|
+
base: string
|
|
178
|
+
shipping: string
|
|
179
|
+
}
|
|
178
180
|
from: {
|
|
179
|
-
countryName: string
|
|
180
|
-
isoCountryName:
|
|
181
|
-
|
|
182
|
-
}
|
|
181
|
+
countryName: string
|
|
182
|
+
isoCountryName: ECountryName
|
|
183
|
+
isoCountryCode: ECountryCode
|
|
184
|
+
}
|
|
183
185
|
community: {
|
|
184
|
-
have: number
|
|
186
|
+
have: number
|
|
185
187
|
want: number
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
+
}
|
|
189
|
+
release: {
|
|
190
|
+
id: number
|
|
191
|
+
url: string
|
|
192
|
+
}
|
|
188
193
|
}
|
|
189
194
|
```
|
|
190
195
|
|
|
@@ -192,7 +197,37 @@ If error, it will throw :
|
|
|
192
197
|
|
|
193
198
|
```ts
|
|
194
199
|
interface IOutputError {
|
|
195
|
-
message: string
|
|
200
|
+
message: string
|
|
196
201
|
code: number
|
|
197
202
|
}
|
|
198
203
|
```
|
|
204
|
+
|
|
205
|
+
## How to contribute
|
|
206
|
+
|
|
207
|
+
There is a devcontainer on that project already configured, feel free to use it.
|
|
208
|
+
|
|
209
|
+
You can install dependecies with:
|
|
210
|
+
|
|
211
|
+
```sh
|
|
212
|
+
npm i
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
And then create a new file that import `DiscogsMarketplace` and run query to try your updates.
|
|
216
|
+
|
|
217
|
+
Finally, you can open a pull request with your new additions.
|
|
218
|
+
|
|
219
|
+
## Know issues
|
|
220
|
+
|
|
221
|
+
If you are using this librairie on a Typescript project, you might encounter issues with `linkedom`.
|
|
222
|
+
|
|
223
|
+
To fix it, use this in command line: `--skipLibCheck` or add that in you `tsconfig.json`:
|
|
224
|
+
|
|
225
|
+
```json
|
|
226
|
+
{
|
|
227
|
+
"compilerOptions": {
|
|
228
|
+
"skipLibCheck": true
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
If you found another one, feel free to open an issue.
|
package/dist/enum/ECurrency.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Currencies
|
|
3
|
-
* @type {Object.<string, string>}
|
|
4
|
-
* @readonly
|
|
5
3
|
*/
|
|
6
|
-
|
|
4
|
+
declare enum ECurrency {
|
|
7
5
|
EUR = "EUR",
|
|
8
6
|
USD = "USD",
|
|
9
7
|
GBP = "GBP",
|
|
@@ -17,3 +15,4 @@ export declare enum ECurrency {
|
|
|
17
15
|
MXN = "MXN",
|
|
18
16
|
ZAR = "ZAR"
|
|
19
17
|
}
|
|
18
|
+
export default ECurrency;
|
package/dist/enum/ECurrency.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ECurrency = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Currencies
|
|
6
|
-
* @type {Object.<string, string>}
|
|
7
|
-
* @readonly
|
|
8
5
|
*/
|
|
9
6
|
var ECurrency;
|
|
10
7
|
(function (ECurrency) {
|
|
@@ -20,4 +17,5 @@ var ECurrency;
|
|
|
20
17
|
ECurrency["NZD"] = "NZD";
|
|
21
18
|
ECurrency["MXN"] = "MXN";
|
|
22
19
|
ECurrency["ZAR"] = "ZAR";
|
|
23
|
-
})(ECurrency
|
|
20
|
+
})(ECurrency || (ECurrency = {}));
|
|
21
|
+
exports.default = ECurrency;
|
package/dist/enum/EFormat.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Formats Description
|
|
3
|
-
* @type {Object.<string, string>}
|
|
4
|
-
* @readonly
|
|
5
3
|
*/
|
|
6
|
-
|
|
4
|
+
declare enum EFormat {
|
|
7
5
|
VINYL = "Vinyl",
|
|
8
6
|
CD = "CD",
|
|
9
7
|
CASSETTE = "Cassette",
|
|
@@ -58,3 +56,4 @@ export declare enum EFormat {
|
|
|
58
56
|
RCATAPECARTRIDGE = "RCA Tape Cartridge",
|
|
59
57
|
WIRERECORDING = "Wire Recording"
|
|
60
58
|
}
|
|
59
|
+
export default EFormat;
|
package/dist/enum/EFormat.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EFormat = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Formats Description
|
|
6
|
-
* @type {Object.<string, string>}
|
|
7
|
-
* @readonly
|
|
8
5
|
*/
|
|
9
6
|
var EFormat;
|
|
10
7
|
(function (EFormat) {
|
|
@@ -61,4 +58,5 @@ var EFormat;
|
|
|
61
58
|
EFormat["POCKETROCKER"] = "Pocket Rocker";
|
|
62
59
|
EFormat["RCATAPECARTRIDGE"] = "RCA Tape Cartridge";
|
|
63
60
|
EFormat["WIRERECORDING"] = "Wire Recording";
|
|
64
|
-
})(EFormat
|
|
61
|
+
})(EFormat || (EFormat = {}));
|
|
62
|
+
exports.default = EFormat;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Formats
|
|
3
|
-
* @type {Object.<string, string>}
|
|
4
|
-
* @readonly
|
|
5
3
|
*/
|
|
6
|
-
|
|
4
|
+
declare enum EFormatDescription {
|
|
7
5
|
ALBUM = "Album",
|
|
8
6
|
LP = "LP",
|
|
9
7
|
FOURTYFIVERPM = "45 RPM",
|
|
@@ -143,3 +141,4 @@ export declare enum EFormatDescription {
|
|
|
143
141
|
DISCIMAGE = "Disc Image",
|
|
144
142
|
WAVPACK = "WavPack"
|
|
145
143
|
}
|
|
144
|
+
export default EFormatDescription;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EFormatDescription = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Formats
|
|
6
|
-
* @type {Object.<string, string>}
|
|
7
|
-
* @readonly
|
|
8
5
|
*/
|
|
9
6
|
var EFormatDescription;
|
|
10
7
|
(function (EFormatDescription) {
|
|
@@ -146,4 +143,5 @@ var EFormatDescription;
|
|
|
146
143
|
EFormatDescription["TWOMINUTE"] = "2 Minute";
|
|
147
144
|
EFormatDescription["DISCIMAGE"] = "Disc Image";
|
|
148
145
|
EFormatDescription["WAVPACK"] = "WavPack";
|
|
149
|
-
})(EFormatDescription
|
|
146
|
+
})(EFormatDescription || (EFormatDescription = {}));
|
|
147
|
+
exports.default = EFormatDescription;
|
package/dist/enum/EFrom.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Countries
|
|
3
|
-
* @type {Object.<string, string>}
|
|
4
|
-
* @readonly
|
|
5
3
|
*/
|
|
6
|
-
|
|
4
|
+
declare enum EFrom {
|
|
7
5
|
AFGHANISTAN = "Afghanistan",
|
|
8
6
|
ALBANIA = "Albania",
|
|
9
7
|
ALGERIA = "Algeria",
|
|
@@ -250,3 +248,4 @@ export declare enum EFrom {
|
|
|
250
248
|
ZAMBIA = "Zambia",
|
|
251
249
|
ZIMBABWE = "Zimbabwe"
|
|
252
250
|
}
|
|
251
|
+
export default EFrom;
|
package/dist/enum/EFrom.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EFrom = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Countries
|
|
6
|
-
* @type {Object.<string, string>}
|
|
7
|
-
* @readonly
|
|
8
5
|
*/
|
|
6
|
+
// eslint-disable-next-line import/prefer-default-export
|
|
9
7
|
var EFrom;
|
|
10
8
|
(function (EFrom) {
|
|
11
9
|
EFrom["AFGHANISTAN"] = "Afghanistan";
|
|
@@ -253,4 +251,5 @@ var EFrom;
|
|
|
253
251
|
EFrom["ZAIRE"] = "Zaire";
|
|
254
252
|
EFrom["ZAMBIA"] = "Zambia";
|
|
255
253
|
EFrom["ZIMBABWE"] = "Zimbabwe";
|
|
256
|
-
})(EFrom
|
|
254
|
+
})(EFrom || (EFrom = {}));
|
|
255
|
+
exports.default = EFrom;
|
package/dist/enum/EFromIso.d.ts
CHANGED
|
@@ -5,60 +5,60 @@
|
|
|
5
5
|
* @readonly
|
|
6
6
|
*/
|
|
7
7
|
export declare enum EFromIso {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
8
|
+
'Azerbaidjan' = "Azerbaijan",
|
|
9
|
+
'Bolivia' = "Bolivia (Plurinational State of)",
|
|
10
|
+
'Bosnia-Herzegovina' = "Bosnia and Herzegovina",
|
|
11
|
+
'Cape Verde' = "Cabo Verde",
|
|
12
|
+
'Czech Republic' = "Czechia",
|
|
13
|
+
'East Timor' = "Timor-Leste",
|
|
14
|
+
'Falkland Islands' = "Falkland Islands (Malvinas)",
|
|
15
|
+
'Former Czechoslovakia' = "Czechia",
|
|
16
|
+
'Former USSR' = "Russian Federation",
|
|
17
|
+
'France (European Territory)' = "France",
|
|
18
|
+
'French Guyana' = "Guyana",
|
|
19
|
+
'Guadeloupe (French)' = "Guadeloupe",
|
|
20
|
+
'Guam (USA)' = "Guam",
|
|
21
|
+
'Guinea Bissau' = "Guinea-Bissau",
|
|
22
|
+
'Heard and McDonald Islands' = "Heard Island and McDonald Islands",
|
|
23
|
+
'Iran' = "Iran (Islamic Republic of)",
|
|
24
24
|
"Ivory Coast (Cote D'Ivoire)" = "Ivory Coast",
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
25
|
+
'Laos' = "Lao People's Democratic Republic",
|
|
26
|
+
'Macau' = "Macao",
|
|
27
|
+
'Macedonia' = "North Macedonia",
|
|
28
|
+
'Martinique (French)' = "Martinique",
|
|
29
|
+
'Micronesia' = "Micronesia (Federated States of)",
|
|
30
|
+
'Netherlands Antilles' = "",
|
|
31
|
+
'Neutral Zone' = "",
|
|
32
|
+
'New Caledonia (French)' = "New Caledonia",
|
|
33
|
+
'Pitcairn Island' = "Pitcairn",
|
|
34
|
+
'Polynesia (French)' = "French Polynesia",
|
|
35
|
+
'Reunion (French)' = "Reunion",
|
|
36
|
+
'S. Georgia & S. Sandwich Isls.' = "South Georgia and the South Sandwich Islands",
|
|
37
|
+
'Saint Helena' = "Saint Helena, Ascension and Tristan da Cunha",
|
|
38
|
+
'Saint Kitts & Nevis Anguilla' = "Saint Kitts and Nevis Saint Kitts and Nevis ",
|
|
39
|
+
'Saint Tome (Sao Tome) and Princi' = "Sao Tome and Principe",
|
|
40
|
+
'Saint Vincent & Grenadines' = "Saint Vincent and the Grenadines",
|
|
41
|
+
'Slovak Republic' = "Slovakia",
|
|
42
|
+
'South Korea' = "Korea, Republic of",
|
|
43
|
+
'Spain (Canary Islands)' = "",
|
|
44
|
+
'Svalbard and Jan Mayen Islands' = "Svalbard and Jan Mayen",
|
|
45
|
+
'Swaziland' = "Eswatini",
|
|
46
|
+
'Syria' = "Syrian Arab Republic",
|
|
47
|
+
'Tadjikistan' = "Tajikistan",
|
|
48
|
+
'Taiwan' = "Taiwan, Province of China",
|
|
49
|
+
'Tanzania' = "Tanzania, the United Republic of",
|
|
50
|
+
'United Kingdom' = "United Kingdom of Great Britain and Northern Ireland",
|
|
51
|
+
'Northern Ireland' = "United Kingdom of Great Britain and Northern Ireland",
|
|
52
|
+
'United Kingdom (Channel Islands)' = "",
|
|
53
|
+
'United States' = "United States of America",
|
|
54
|
+
'USA Minor Outlying Islands' = "United States Minor Outlying Islands",
|
|
55
|
+
'Vatican City State' = "",
|
|
56
|
+
'Venezuela' = "Venezuela (Bolivarian Republic of)",
|
|
57
|
+
'Vietnam' = "Viet Nam",
|
|
58
|
+
'Virgin Islands (USA)' = "Virgin Islands (U.S.)",
|
|
59
|
+
'Wallis and Futuna Islands' = "Wallis and Futuna",
|
|
60
|
+
'Yugoslavia' = "Greece",
|
|
61
|
+
'Zaire' = ""
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* {@link https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes}
|
package/dist/enum/EGenre.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Genres
|
|
3
|
-
* @type {Object.<string, string>}
|
|
4
|
-
* @readonly
|
|
5
3
|
*/
|
|
6
|
-
|
|
4
|
+
declare enum EGenre {
|
|
7
5
|
ROCK = "Rock",
|
|
8
6
|
ELECTRONIC = "Electronic",
|
|
9
7
|
POP = "Pop",
|
|
@@ -20,3 +18,4 @@ export declare enum EGenre {
|
|
|
20
18
|
CHILDRENS = "Children's",
|
|
21
19
|
BRASSMILITARY = "Brass & Military"
|
|
22
20
|
}
|
|
21
|
+
export default EGenre;
|
package/dist/enum/EGenre.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EGenre = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Genres
|
|
6
|
-
* @type {Object.<string, string>}
|
|
7
|
-
* @readonly
|
|
8
5
|
*/
|
|
9
6
|
var EGenre;
|
|
10
7
|
(function (EGenre) {
|
|
@@ -23,4 +20,5 @@ var EGenre;
|
|
|
23
20
|
EGenre["NONMUSIC"] = "Non-Music";
|
|
24
21
|
EGenre["CHILDRENS"] = "Children's";
|
|
25
22
|
EGenre["BRASSMILITARY"] = "Brass & Military";
|
|
26
|
-
})(EGenre
|
|
23
|
+
})(EGenre || (EGenre = {}));
|
|
24
|
+
exports.default = EGenre;
|
package/dist/enum/ELang.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Languages
|
|
3
|
-
* @type {Object.<string, string>}
|
|
4
|
-
* @readonly
|
|
5
3
|
*/
|
|
6
|
-
|
|
4
|
+
declare enum ELang {
|
|
7
5
|
GERMAN = "de",
|
|
8
6
|
ENGLISH = "en",
|
|
9
7
|
SPANISH = "es",
|
|
@@ -14,3 +12,4 @@ export declare enum ELang {
|
|
|
14
12
|
PORTUGUESE = "pt_BR",
|
|
15
13
|
RUSSIAN = "ru"
|
|
16
14
|
}
|
|
15
|
+
export default ELang;
|
package/dist/enum/ELang.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ELang = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Languages
|
|
6
|
-
* @type {Object.<string, string>}
|
|
7
|
-
* @readonly
|
|
8
5
|
*/
|
|
9
6
|
var ELang;
|
|
10
7
|
(function (ELang) {
|
|
@@ -17,4 +14,5 @@ var ELang;
|
|
|
17
14
|
ELang["KOREAN"] = "ko";
|
|
18
15
|
ELang["PORTUGUESE"] = "pt_BR";
|
|
19
16
|
ELang["RUSSIAN"] = "ru";
|
|
20
|
-
})(ELang
|
|
17
|
+
})(ELang || (ELang = {}));
|
|
18
|
+
exports.default = ELang;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Media Conditions
|
|
3
|
-
* @type {Object.<string, string>}
|
|
4
|
-
* @readonly
|
|
5
3
|
*/
|
|
6
|
-
|
|
4
|
+
declare enum EMediaCondition {
|
|
7
5
|
VERYGOODPLUS = "Very Good Plus (VG+)",
|
|
8
6
|
NEARMINT = "Near Mint (NM or M-)",
|
|
9
7
|
MINT = "Mint (M)",
|
|
@@ -13,3 +11,4 @@ export declare enum EMediaCondition {
|
|
|
13
11
|
FAIR = "Fair (F)",
|
|
14
12
|
POOR = "Poor (P)"
|
|
15
13
|
}
|
|
14
|
+
export default EMediaCondition;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EMediaCondition = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Media Conditions
|
|
6
|
-
* @type {Object.<string, string>}
|
|
7
|
-
* @readonly
|
|
8
5
|
*/
|
|
9
6
|
var EMediaCondition;
|
|
10
7
|
(function (EMediaCondition) {
|
|
@@ -16,4 +13,5 @@ var EMediaCondition;
|
|
|
16
13
|
EMediaCondition["GOOD"] = "Good (G)";
|
|
17
14
|
EMediaCondition["FAIR"] = "Fair (F)";
|
|
18
15
|
EMediaCondition["POOR"] = "Poor (P)";
|
|
19
|
-
})(EMediaCondition
|
|
16
|
+
})(EMediaCondition || (EMediaCondition = {}));
|
|
17
|
+
exports.default = EMediaCondition;
|
package/dist/enum/ESort.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Sorts of search
|
|
3
|
-
* @type {Object.<string, string>}
|
|
4
|
-
* @readonly
|
|
5
3
|
*/
|
|
6
|
-
|
|
4
|
+
declare enum ESort {
|
|
7
5
|
/**
|
|
8
6
|
* Listed Newest
|
|
9
7
|
*/
|
|
@@ -61,3 +59,4 @@ export declare enum ESort {
|
|
|
61
59
|
*/
|
|
62
60
|
PRICE_HIGHEST = "price,desc"
|
|
63
61
|
}
|
|
62
|
+
export default ESort;
|
package/dist/enum/ESort.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ESort = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Sorts of search
|
|
6
|
-
* @type {Object.<string, string>}
|
|
7
|
-
* @readonly
|
|
8
5
|
*/
|
|
9
6
|
var ESort;
|
|
10
7
|
(function (ESort) {
|
|
@@ -64,4 +61,5 @@ var ESort;
|
|
|
64
61
|
* Price Highest
|
|
65
62
|
*/
|
|
66
63
|
ESort["PRICE_HIGHEST"] = "price,desc";
|
|
67
|
-
})(ESort
|
|
64
|
+
})(ESort || (ESort = {}));
|
|
65
|
+
exports.default = ESort;
|
package/dist/enum/EStyle.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Styles
|
|
3
|
-
* @type {Object.<string, string>}
|
|
4
|
-
* @readonly
|
|
5
3
|
*/
|
|
6
|
-
|
|
4
|
+
declare enum EStyle {
|
|
7
5
|
POPROCK = "Pop Rock",
|
|
8
6
|
HOUSE = "House",
|
|
9
7
|
DISCO = "Disco",
|
|
@@ -254,3 +252,4 @@ export declare enum EStyle {
|
|
|
254
252
|
ACIDROCK = "Acid Rock",
|
|
255
253
|
POLITICAL = "Political"
|
|
256
254
|
}
|
|
255
|
+
export default EStyle;
|
package/dist/enum/EStyle.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EStyle = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Styles
|
|
6
|
-
* @type {Object.<string, string>}
|
|
7
|
-
* @readonly
|
|
8
5
|
*/
|
|
9
6
|
var EStyle;
|
|
10
7
|
(function (EStyle) {
|
|
@@ -257,4 +254,5 @@ var EStyle;
|
|
|
257
254
|
EStyle["GOTHICMETAL"] = "Gothic Metal";
|
|
258
255
|
EStyle["ACIDROCK"] = "Acid Rock";
|
|
259
256
|
EStyle["POLITICAL"] = "Political";
|
|
260
|
-
})(EStyle
|
|
257
|
+
})(EStyle || (EStyle = {}));
|
|
258
|
+
exports.default = EStyle;
|
package/dist/enum/EType.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Types of search
|
|
3
|
-
* @type {Object.<string, string>}
|
|
4
|
-
* @readonly
|
|
5
3
|
*/
|
|
6
|
-
|
|
4
|
+
declare enum EType {
|
|
7
5
|
/**
|
|
8
6
|
* String search
|
|
9
7
|
*/
|
|
@@ -29,3 +27,4 @@ export declare enum EType {
|
|
|
29
27
|
*/
|
|
30
28
|
USER = "user"
|
|
31
29
|
}
|
|
30
|
+
export default EType;
|
package/dist/enum/EType.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EType = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Types of search
|
|
6
|
-
* @type {Object.<string, string>}
|
|
7
|
-
* @readonly
|
|
8
5
|
*/
|
|
9
6
|
var EType;
|
|
10
7
|
(function (EType) {
|
|
@@ -32,4 +29,5 @@ var EType;
|
|
|
32
29
|
* User's name search into his wantlist
|
|
33
30
|
*/
|
|
34
31
|
EType["USER"] = "user";
|
|
35
|
-
})(EType
|
|
32
|
+
})(EType || (EType = {}));
|
|
33
|
+
exports.default = EType;
|