discogs-marketplace-api-nodejs 1.3.3 → 1.3.4

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.
Files changed (56) hide show
  1. package/README.MD +48 -43
  2. package/dist/enum/ECurrency.d.ts +2 -3
  3. package/dist/enum/ECurrency.js +2 -4
  4. package/dist/enum/EFormat.d.ts +2 -3
  5. package/dist/enum/EFormat.js +2 -4
  6. package/dist/enum/EFormatDescription.d.ts +2 -3
  7. package/dist/enum/EFormatDescription.js +2 -4
  8. package/dist/enum/EFrom.d.ts +2 -3
  9. package/dist/enum/EFrom.js +3 -4
  10. package/dist/enum/EFromIso.d.ts +53 -53
  11. package/dist/enum/EGenre.d.ts +2 -3
  12. package/dist/enum/EGenre.js +2 -4
  13. package/dist/enum/ELang.d.ts +2 -3
  14. package/dist/enum/ELang.js +2 -4
  15. package/dist/enum/EMediaCondition.d.ts +2 -3
  16. package/dist/enum/EMediaCondition.js +2 -4
  17. package/dist/enum/ESort.d.ts +2 -3
  18. package/dist/enum/ESort.js +2 -4
  19. package/dist/enum/EStyle.d.ts +2 -3
  20. package/dist/enum/EStyle.js +2 -4
  21. package/dist/enum/EType.d.ts +2 -3
  22. package/dist/enum/EType.js +2 -4
  23. package/dist/enum/iso/ECountryCode.d.ts +255 -0
  24. package/dist/enum/iso/ECountryCode.js +258 -0
  25. package/dist/enum/iso/ECountryName.d.ts +255 -0
  26. package/dist/enum/iso/ECountryName.js +258 -0
  27. package/dist/enum/iso/EDiscogsCountryNameToIsoCode.d.ts +69 -0
  28. package/dist/enum/iso/EDiscogsCountryNameToIsoCode.js +72 -0
  29. package/dist/enum/iso/EDiscogsCurrencyToIsoCode.d.ts +23 -0
  30. package/dist/enum/iso/EDiscogsCurrencyToIsoCode.js +26 -0
  31. package/dist/enum/iso/translate/EDiscogsCountryNameToIsoCode.d.ts +69 -0
  32. package/dist/enum/iso/translate/EDiscogsCountryNameToIsoCode.js +72 -0
  33. package/dist/enum/iso/translate/EDiscogsCurrencyToIsoCode.d.ts +23 -0
  34. package/dist/enum/iso/translate/EDiscogsCurrencyToIsoCode.js +26 -0
  35. package/dist/enum/iso/translates/EDiscogsCountryNameToIsoCode.d.ts +69 -0
  36. package/dist/enum/iso/translates/EDiscogsCountryNameToIsoCode.js +72 -0
  37. package/dist/enum/iso/translates/EDiscogsCurrencyToIsoCode.d.ts +23 -0
  38. package/dist/enum/iso/translates/EDiscogsCurrencyToIsoCode.js +26 -0
  39. package/dist/index.d.ts +14 -14
  40. package/dist/index.js +22 -21
  41. package/dist/interface/IDiscogsMarketplace.d.ts +1 -2
  42. package/dist/interface/IInput.d.ts +12 -12
  43. package/dist/interface/IInput.js +11 -0
  44. package/dist/interface/IItem.d.ts +11 -6
  45. package/dist/interface/IItem.js +5 -0
  46. package/dist/interface/IOutputError.d.ts +1 -1
  47. package/dist/interface/IOutputSuccess.d.ts +4 -4
  48. package/dist/interface/IOutputSuccess.js +1 -0
  49. package/dist/interface/IYears.d.ts +1 -1
  50. package/dist/marketplace.d.ts +28 -42
  51. package/dist/marketplace.js +119 -120
  52. package/dist/type/TLimit.d.ts +2 -3
  53. package/package.json +23 -16
  54. package/.gitattributes +0 -1
  55. package/notes.md +0 -9
  56. 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 plain Javascript
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 "*lib/enum*" ) :
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
- result: IItem[],
129
+ items: IItem[]
130
130
  page: {
131
- current: number,
131
+ current: number
132
132
  total: number
133
- },
134
- item: {
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
- score: string,
172
- notes: string
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: string,
181
- isoCode: string,
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
- releaseUrl: string
188
+ }
189
+ release: {
190
+ id: number
191
+ url: string
192
+ }
188
193
  }
189
194
  ```
190
195
 
@@ -192,7 +197,7 @@ 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
  ```
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * Currencies
3
- * @type {Object.<string, string>}
4
- * @readonly
5
3
  */
6
- export declare enum ECurrency {
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;
@@ -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 = exports.ECurrency || (exports.ECurrency = {}));
20
+ })(ECurrency || (ECurrency = {}));
21
+ exports.default = ECurrency;
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * Formats Description
3
- * @type {Object.<string, string>}
4
- * @readonly
5
3
  */
6
- export declare enum EFormat {
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;
@@ -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 = exports.EFormat || (exports.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
- export declare enum EFormatDescription {
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 = exports.EFormatDescription || (exports.EFormatDescription = {}));
146
+ })(EFormatDescription || (EFormatDescription = {}));
147
+ exports.default = EFormatDescription;
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * Countries
3
- * @type {Object.<string, string>}
4
- * @readonly
5
3
  */
6
- export declare enum EFrom {
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;
@@ -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 = exports.EFrom || (exports.EFrom = {}));
254
+ })(EFrom || (EFrom = {}));
255
+ exports.default = EFrom;
@@ -5,60 +5,60 @@
5
5
  * @readonly
6
6
  */
7
7
  export declare enum EFromIso {
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)",
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
- "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" = ""
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}
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * Genres
3
- * @type {Object.<string, string>}
4
- * @readonly
5
3
  */
6
- export declare enum EGenre {
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;
@@ -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 = exports.EGenre || (exports.EGenre = {}));
23
+ })(EGenre || (EGenre = {}));
24
+ exports.default = EGenre;
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * Languages
3
- * @type {Object.<string, string>}
4
- * @readonly
5
3
  */
6
- export declare enum ELang {
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;
@@ -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 = exports.ELang || (exports.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
- export declare enum EMediaCondition {
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 = exports.EMediaCondition || (exports.EMediaCondition = {}));
16
+ })(EMediaCondition || (EMediaCondition = {}));
17
+ exports.default = EMediaCondition;
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * Sorts of search
3
- * @type {Object.<string, string>}
4
- * @readonly
5
3
  */
6
- export declare enum ESort {
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;
@@ -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 = exports.ESort || (exports.ESort = {}));
64
+ })(ESort || (ESort = {}));
65
+ exports.default = ESort;
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * Styles
3
- * @type {Object.<string, string>}
4
- * @readonly
5
3
  */
6
- export declare enum EStyle {
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;
@@ -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 = exports.EStyle || (exports.EStyle = {}));
257
+ })(EStyle || (EStyle = {}));
258
+ exports.default = EStyle;
@@ -1,9 +1,7 @@
1
1
  /**
2
2
  * Types of search
3
- * @type {Object.<string, string>}
4
- * @readonly
5
3
  */
6
- export declare enum EType {
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;
@@ -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 = exports.EType || (exports.EType = {}));
32
+ })(EType || (EType = {}));
33
+ exports.default = EType;