musicbrainz-api 0.5.2 → 0.7.2

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 (35) hide show
  1. package/.idea/$CACHE_FILE$ +6 -0
  2. package/.idea/$PRODUCT_WORKSPACE_FILE$ +19 -0
  3. package/.idea/checkstyle-idea.xml +16 -0
  4. package/.idea/codeStyles/Project.xml +38 -0
  5. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  6. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  7. package/.idea/misc.xml +6 -0
  8. package/.idea/modules.xml +8 -0
  9. package/.idea/shelf/Uncommitted_changes_before_Update_at_6-1-2022_11_38_[Default_Changelist]/shelved.patch +58 -0
  10. package/.idea/shelf/Uncommitted_changes_before_Update_at_6-1-2022_11_38__Default_Changelist_.xml +4 -0
  11. package/.idea/shelf/Uncommitted_changes_before_rebase_[Default_Changelist]/shelved.patch +738 -0
  12. package/.idea/shelf/Uncommitted_changes_before_rebase_[Default_Changelist]1/shelved.patch +0 -0
  13. package/.idea/shelf/Uncommitted_changes_before_rebase__Default_Changelist_.xml +4 -0
  14. package/.idea/vcs.xml +6 -0
  15. package/.idea/workspace.xml +722 -0
  16. package/README.md +290 -287
  17. package/etc/config.js +32 -0
  18. package/lib/digest-auth.d.ts +21 -21
  19. package/lib/digest-auth.js +87 -86
  20. package/lib/musicbrainz-api.d.ts +156 -140
  21. package/lib/musicbrainz-api.js +390 -372
  22. package/lib/musicbrainz.types.d.ts +379 -252
  23. package/lib/musicbrainz.types.js +16 -15
  24. package/lib/rate-limiter.d.ts +8 -8
  25. package/lib/rate-limiter.js +31 -30
  26. package/lib/xml/xml-isrc-list.d.ts +17 -17
  27. package/lib/xml/xml-isrc-list.js +22 -21
  28. package/lib/xml/xml-isrc.d.ts +10 -10
  29. package/lib/xml/xml-isrc.js +17 -16
  30. package/lib/xml/xml-metadata.d.ts +6 -6
  31. package/lib/xml/xml-metadata.js +29 -28
  32. package/lib/xml/xml-recording.d.ts +24 -24
  33. package/lib/xml/xml-recording.js +20 -19
  34. package/package.json +98 -99
  35. package/yarn-error.log +3608 -0
@@ -1,252 +1,379 @@
1
- import DateTimeFormat = Intl.DateTimeFormat;
2
- export interface IPeriod {
3
- 'begin': string;
4
- 'ended': boolean;
5
- 'end': string;
6
- }
7
- export interface IArea {
8
- id: string;
9
- 'iso-3166-1-codes': string[];
10
- name: string;
11
- 'sort-name': string;
12
- disambiguation: string;
13
- }
14
- export interface IAlias {
15
- name: string;
16
- 'sort-name': string;
17
- ended: boolean;
18
- 'type-id': string;
19
- type: string;
20
- locale: string;
21
- primary: string;
22
- begin: string;
23
- end: string;
24
- }
25
- export interface IMatch {
26
- score: number;
27
- }
28
- export interface IArtist {
29
- id: string;
30
- name: string;
31
- disambiguation: string;
32
- 'sort-name': string;
33
- 'type-id'?: string;
34
- 'gender-id'?: any;
35
- 'life-span'?: IPeriod;
36
- country?: string;
37
- ipis?: any[];
38
- isnis?: string[];
39
- aliases?: IAlias[];
40
- gender?: null;
41
- type?: string;
42
- area?: IArea;
43
- begin_area?: IArea;
44
- end_area?: IArea;
45
- relations?: IRelation[];
46
- /**
47
- * Only defined if 'releases' are includes
48
- */
49
- releases?: IRelease[];
50
- }
51
- export interface IArtistCredit {
52
- artist: IArtist;
53
- joinphrase: string;
54
- name: string;
55
- }
56
- export declare type ReleaseQuality = 'normal';
57
- export interface IRelease {
58
- id: string;
59
- title: string;
60
- 'text-representation': {
61
- 'language': string;
62
- 'script': string;
63
- };
64
- disambiguation: string;
65
- asin: string;
66
- 'status-id': string;
67
- packaging?: string;
68
- status: string;
69
- 'packaging-id'?: string;
70
- 'release-events'?: IReleaseEvent[];
71
- date: string;
72
- media: IMedium[];
73
- 'cover-art-archive': ICoverArtArchive;
74
- country: string;
75
- quality: string;
76
- barcode: string;
77
- relations?: IRelation[];
78
- 'artist-credit'?: IArtistCredit[];
79
- 'release-group'?: IReleaseGroup;
80
- }
81
- export interface IReleaseEvent {
82
- area?: IArea;
83
- date?: string;
84
- }
85
- export declare type MediaFormatType = 'Digital Media';
86
- export interface IRecording {
87
- id: string;
88
- video: boolean;
89
- length: number;
90
- title: string;
91
- disambiguation: string;
92
- isrcs?: string[];
93
- releases?: IRelease;
94
- relations?: IRelation[];
95
- 'artist-credit'?: IArtistCredit[];
96
- aliases?: IAlias[];
97
- }
98
- export interface ITrack {
99
- id: string;
100
- position: number;
101
- recording: IRecording;
102
- number: string;
103
- length: number;
104
- title: string;
105
- 'artist-credit'?: IArtistCredit[];
106
- }
107
- export interface IMedium {
108
- title: string;
109
- format?: string;
110
- 'format-id': string;
111
- 'tracks': ITrack[];
112
- 'track-count': number;
113
- 'track-offset': number;
114
- 'position': number;
115
- }
116
- export interface ICoverArtArchive {
117
- count: number;
118
- front: boolean;
119
- darkened: boolean;
120
- artwork: boolean;
121
- back: boolean;
122
- }
123
- export interface IReleaseGroup {
124
- id: string;
125
- count: number;
126
- title: string;
127
- 'primary-type': string;
128
- 'sort-name': string;
129
- 'artist-credit': Array<{
130
- artist: IArtist;
131
- }>;
132
- releases?: IRelease[];
133
- }
134
- export interface IArtistMatch extends IArtist, IMatch {
135
- }
136
- export interface IReleaseGroupMatch extends IReleaseGroup, IMatch {
137
- }
138
- export interface IReleaseMatch extends IRelease, IMatch {
139
- }
140
- export interface IAreaMatch extends IArea, IMatch {
141
- }
142
- export interface ISearchResult {
143
- created: DateTimeFormat;
144
- count: number;
145
- offset: number;
146
- }
147
- export interface IArtistList extends ISearchResult {
148
- artists: IArtistMatch[];
149
- }
150
- export interface IAreaList extends ISearchResult {
151
- areas: IAreaMatch[];
152
- }
153
- export interface IReleaseList extends ISearchResult {
154
- releases: IReleaseMatch[];
155
- }
156
- export interface IReleaseGroupList extends ISearchResult {
157
- 'release-groups': IReleaseGroupMatch[];
158
- }
159
- export interface IUrlList extends ISearchResult {
160
- urls: IUrlMatch[];
161
- }
162
- export declare type RelationDirection = 'backward' | 'forward';
163
- export interface IRelation {
164
- 'attribute-ids': {};
165
- direction: RelationDirection;
166
- 'target-credit': string;
167
- end: null | object;
168
- 'source-credit': string;
169
- ended: boolean;
170
- 'attribute-values': object;
171
- attributes?: any[];
172
- type: string;
173
- begin?: null | object;
174
- 'target-type'?: 'url';
175
- 'type-id': string;
176
- url?: IURL;
177
- release?: IRelease;
178
- }
179
- export interface IURL {
180
- id: string;
181
- resource: string;
182
- }
183
- export interface IRelationList {
184
- relations: IRelation[];
185
- }
186
- export interface IWork {
187
- id: string;
188
- title: string;
189
- }
190
- export interface ILabel {
191
- id: string;
192
- name: string;
193
- }
194
- export interface IUrl {
195
- id: string;
196
- resource: string;
197
- 'relation-list': IRelationList[];
198
- }
199
- export interface IUrlMatch extends IMatch, IUrl {
200
- }
201
- export interface IUrlSearchResult extends ISearchResult {
202
- urls?: IUrlMatch[];
203
- }
204
- export interface IIsrcSearchResult {
205
- 'isrc': string;
206
- 'recordings': IRecording[];
207
- }
208
- export interface IExernalIds {
209
- [type: string]: string;
210
- }
211
- export interface IReleaseSearchResult extends ISearchResult {
212
- releases: IRelease[];
213
- }
214
- /**
215
- * https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2#Subqueries
216
- */
217
- export declare type EntityType = 'area' | 'artist' | 'collection' | 'event' | 'instrument' | 'label' | 'place' | 'recording' | 'release' | 'release-group' | 'series' | 'work' | 'url';
218
- export declare type Relationships = 'area-rels' | 'artist-rels' | 'event-rels' | 'instrument-rels' | 'label-rels' | 'place-rels' | 'recording-rels' | 'release-rels' | 'release-group-rels' | 'series-rels' | 'url-rels' | 'work-rels';
219
- export declare enum LinkType {
220
- license = 302,
221
- production = 256,
222
- samples_IMDb_entry = 258,
223
- get_the_music = 257,
224
- purchase_for_download = 254,
225
- download_for_free = 255,
226
- stream_for_free = 268,
227
- crowdfunding_page = 905,
228
- other_databases = 306,
229
- Allmusic = 285
230
- }
231
- /**
232
- * https://wiki.musicbrainz.org/Development/XML_Web_Service/Version_2/Search#Artist
233
- */
234
- export interface IPagination {
235
- /**
236
- * Return search results starting at a given offset. Used for paging through more than one page of results.
237
- */
238
- offset?: number;
239
- /**
240
- * An integer value defining how many entries should be returned. Only values between 1 and 100 (both inclusive) are allowed. If not given, this defaults to 25.
241
- */
242
- limit?: number;
243
- }
244
- /**
245
- * https://wiki.musicbrainz.org/Development/XML_Web_Service/Version_2/Search#Artist
246
- */
247
- export interface ISearchQuery extends IPagination {
248
- /**
249
- * Lucene search query, this is mandatory
250
- */
251
- query: string;
252
- }
1
+ import DateTimeFormat = Intl.DateTimeFormat;
2
+ import { IFormData, Includes } from './musicbrainz-api';
3
+ export interface IPeriod {
4
+ 'begin': string;
5
+ 'ended': boolean;
6
+ 'end': string;
7
+ }
8
+ export interface IArea {
9
+ id: string;
10
+ 'iso-3166-1-codes': string[];
11
+ name: string;
12
+ 'sort-name': string;
13
+ disambiguation: string;
14
+ }
15
+ export interface IAlias {
16
+ name: string;
17
+ 'sort-name': string;
18
+ ended: boolean;
19
+ 'type-id': string;
20
+ type: string;
21
+ locale: string;
22
+ primary: string;
23
+ begin: string;
24
+ end: string;
25
+ }
26
+ export interface IMatch {
27
+ score: number;
28
+ }
29
+ export interface IArtist {
30
+ id: string;
31
+ name: string;
32
+ disambiguation: string;
33
+ 'sort-name': string;
34
+ 'type-id'?: string;
35
+ 'gender-id'?: any;
36
+ 'life-span'?: IPeriod;
37
+ country?: string;
38
+ ipis?: any[];
39
+ isnis?: string[];
40
+ aliases?: IAlias[];
41
+ gender?: null;
42
+ type?: string;
43
+ area?: IArea;
44
+ begin_area?: IArea;
45
+ end_area?: IArea;
46
+ relations?: IRelation[];
47
+ /**
48
+ * Only defined if 'releases' are includes
49
+ */
50
+ releases?: IRelease[];
51
+ 'release-groups'?: IReleaseGroup[];
52
+ }
53
+ export interface IArtistCredit {
54
+ artist: IArtist;
55
+ joinphrase: string;
56
+ name: string;
57
+ }
58
+ export declare type ReleaseQuality = 'normal';
59
+ export interface IRelease {
60
+ id: string;
61
+ title: string;
62
+ 'text-representation': {
63
+ 'language': string;
64
+ 'script': string;
65
+ };
66
+ disambiguation: string;
67
+ asin: string;
68
+ 'status-id': string;
69
+ packaging?: string;
70
+ status: string;
71
+ 'packaging-id'?: string;
72
+ 'release-events'?: IReleaseEvent[];
73
+ date: string;
74
+ media: IMedium[];
75
+ 'cover-art-archive': ICoverArtArchive;
76
+ country: string;
77
+ quality: string;
78
+ barcode: string;
79
+ relations?: IRelation[];
80
+ 'artist-credit'?: IArtistCredit[];
81
+ 'release-group'?: IReleaseGroup;
82
+ }
83
+ export interface IReleaseEvent {
84
+ area?: IArea;
85
+ date?: string;
86
+ }
87
+ export declare type MediaFormatType = 'Digital Media';
88
+ export interface IRecording {
89
+ id: string;
90
+ video: boolean;
91
+ length: number;
92
+ title: string;
93
+ disambiguation: string;
94
+ isrcs?: string[];
95
+ releases?: IRelease;
96
+ relations?: IRelation[];
97
+ 'artist-credit'?: IArtistCredit[];
98
+ aliases?: IAlias[];
99
+ }
100
+ export interface ITrack {
101
+ id: string;
102
+ position: number;
103
+ recording: IRecording;
104
+ number: string;
105
+ length: number;
106
+ title: string;
107
+ 'artist-credit'?: IArtistCredit[];
108
+ }
109
+ export interface IMedium {
110
+ title: string;
111
+ format?: string;
112
+ 'format-id': string;
113
+ 'tracks': ITrack[];
114
+ 'track-count': number;
115
+ 'track-offset': number;
116
+ 'position': number;
117
+ }
118
+ export interface ICoverArtArchive {
119
+ count: number;
120
+ front: boolean;
121
+ darkened: boolean;
122
+ artwork: boolean;
123
+ back: boolean;
124
+ }
125
+ export interface IReleaseGroup {
126
+ id: string;
127
+ count: number;
128
+ title: string;
129
+ 'primary-type': string;
130
+ 'sort-name': string;
131
+ 'artist-credit': [{
132
+ artist: IArtist;
133
+ }];
134
+ releases?: IRelease[];
135
+ }
136
+ export interface IArtistMatch extends IArtist, IMatch {
137
+ }
138
+ export interface IReleaseGroupMatch extends IReleaseGroup, IMatch {
139
+ }
140
+ export interface IReleaseMatch extends IRelease, IMatch {
141
+ }
142
+ export interface IAreaMatch extends IArea, IMatch {
143
+ }
144
+ export interface ISearchResult {
145
+ created: DateTimeFormat;
146
+ count: number;
147
+ offset: number;
148
+ }
149
+ export interface IArtistList extends ISearchResult {
150
+ artists: IArtistMatch[];
151
+ }
152
+ export interface IAreaList extends ISearchResult {
153
+ areas: IAreaMatch[];
154
+ }
155
+ export interface IReleaseList extends ISearchResult {
156
+ releases: IReleaseMatch[];
157
+ }
158
+ export interface IReleaseGroupList extends ISearchResult {
159
+ 'release-groups': IReleaseGroupMatch[];
160
+ }
161
+ export interface IUrlList extends ISearchResult {
162
+ urls: IUrlMatch[];
163
+ }
164
+ export declare type RelationDirection = 'backward' | 'forward';
165
+ export interface IRelation {
166
+ 'attribute-ids': {};
167
+ direction: RelationDirection;
168
+ 'target-credit': string;
169
+ end: null | object;
170
+ 'source-credit': string;
171
+ ended: boolean;
172
+ 'attribute-values': object;
173
+ attributes?: any[];
174
+ type: string;
175
+ begin?: null | object;
176
+ 'target-type'?: 'url';
177
+ 'type-id': string;
178
+ url?: IURL;
179
+ release?: IRelease;
180
+ }
181
+ export interface IURL {
182
+ id: string;
183
+ resource: string;
184
+ }
185
+ export interface IRelationList {
186
+ relations: IRelation[];
187
+ }
188
+ export interface IWork {
189
+ id: string;
190
+ title: string;
191
+ }
192
+ export interface ILabel {
193
+ id: string;
194
+ name: string;
195
+ }
196
+ export interface IUrl {
197
+ id: string;
198
+ resource: string;
199
+ 'relation-list': IRelationList[];
200
+ }
201
+ export interface IUrlMatch extends IMatch, IUrl {
202
+ }
203
+ export interface IUrlSearchResult extends ISearchResult {
204
+ urls?: IUrlMatch[];
205
+ }
206
+ export interface IIsrcSearchResult {
207
+ 'isrc': string;
208
+ 'recordings': IRecording[];
209
+ }
210
+ export interface IExernalIds {
211
+ [type: string]: string;
212
+ }
213
+ export interface IReleaseSearchResult extends ISearchResult {
214
+ releases: IRelease[];
215
+ }
216
+ /**
217
+ * https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2#Subqueries
218
+ */
219
+ export declare type EntityType = 'area' | 'artist' | 'collection' | 'event' | 'instrument' | 'label' | 'place' | 'recording' | 'release' | 'release-group' | 'series' | 'work' | 'url';
220
+ export declare type Relationships = 'area-rels' | 'artist-rels' | 'event-rels' | 'instrument-rels' | 'label-rels' | 'place-rels' | 'recording-rels' | 'release-rels' | 'release-group-rels' | 'series-rels' | 'url-rels' | 'work-rels';
221
+ export declare enum LinkType {
222
+ license = 302,
223
+ production = 256,
224
+ samples_IMDb_entry = 258,
225
+ get_the_music = 257,
226
+ purchase_for_download = 254,
227
+ download_for_free = 255,
228
+ stream_for_free = 268,
229
+ crowdfunding_page = 905,
230
+ other_databases = 306,
231
+ Allmusic = 285
232
+ }
233
+ /**
234
+ * https://wiki.musicbrainz.org/Development/XML_Web_Service/Version_2/Search#Artist
235
+ */
236
+ export interface IPagination {
237
+ /**
238
+ * Return search results starting at a given offset. Used for paging through more than one page of results.
239
+ */
240
+ offset?: number;
241
+ /**
242
+ * An integer value defining how many entries should be returned. Only values between 1 and 100 (both inclusive) are allowed. If not given, this defaults to 25.
243
+ */
244
+ limit?: number;
245
+ }
246
+ /**
247
+ * https://wiki.musicbrainz.org/Development/XML_Web_Service/Version_2/Search#Artist
248
+ */
249
+ export interface ISearchQuery extends IPagination {
250
+ /**
251
+ * Lucene search query, this is mandatory
252
+ */
253
+ query?: string | IFormData;
254
+ inc?: Includes[];
255
+ }
256
+ /**
257
+ * https://musicbrainz.org/doc/MusicBrainz_API#Browse
258
+ * /ws/2/area collection
259
+ */
260
+ export interface ILinkedEntitiesArea {
261
+ collection?: string;
262
+ }
263
+ /**
264
+ * https://musicbrainz.org/doc/MusicBrainz_API#Browse
265
+ * /ws/2/artist area, collection, recording, release, release-group, work
266
+ */
267
+ export interface ILinkedEntitiesArtist {
268
+ area?: string;
269
+ collection?: string;
270
+ recording?: string;
271
+ release?: string;
272
+ 'release-group'?: string;
273
+ work?: string;
274
+ }
275
+ /**
276
+ * https://musicbrainz.org/doc/MusicBrainz_API#Browse
277
+ * /ws/2/collection area, artist, editor, event, label, place, recording, release, release-group, work
278
+ */
279
+ export interface ILinkedEntitiesCollection {
280
+ area?: string;
281
+ artist?: string;
282
+ editor?: string;
283
+ event?: string;
284
+ label?: string;
285
+ place?: string;
286
+ recording?: string;
287
+ release?: string;
288
+ 'release-group'?: string;
289
+ work?: string;
290
+ }
291
+ /**
292
+ * https://musicbrainz.org/doc/MusicBrainz_API#Subqueries
293
+ * /ws/2/event area, artist, collection, place
294
+ */
295
+ export interface ILinkedEntitiesEvent {
296
+ area?: string;
297
+ artist?: string;
298
+ collection?: string;
299
+ place?: string;
300
+ }
301
+ /**
302
+ * https://musicbrainz.org/doc/MusicBrainz_API#Subqueries
303
+ * /ws/2/instrument collection
304
+ */
305
+ export interface ILinkedEntitiesInstrument {
306
+ collection?: string;
307
+ }
308
+ /**
309
+ * https://musicbrainz.org/doc/MusicBrainz_API#Subqueries
310
+ * /ws/2/label area, collection, release
311
+ */
312
+ export interface ILinkedEntitiesLabel {
313
+ area?: string;
314
+ collection?: string;
315
+ release?: string;
316
+ }
317
+ /**
318
+ * https://musicbrainz.org/doc/MusicBrainz_API#Subqueries
319
+ * /ws/2/place area, collection
320
+ */
321
+ export interface IBrowseArgumentPlace {
322
+ area?: string;
323
+ collection?: string;
324
+ }
325
+ /**
326
+ * https://musicbrainz.org/doc/MusicBrainz_API#Subqueries
327
+ * /ws/2/recording artist, collection, release, work
328
+ */
329
+ export interface ILinkedEntitiesRecording {
330
+ area?: string;
331
+ collection?: string;
332
+ release?: string;
333
+ work?: string;
334
+ }
335
+ /**
336
+ * https://musicbrainz.org/doc/MusicBrainz_API#Subqueries
337
+ * /ws/2/release area, artist, collection, label, track, track_artist, recording, release-group
338
+ */
339
+ export interface ILinkedEntitiesRelease {
340
+ area?: string;
341
+ artist?: string;
342
+ collection?: string;
343
+ label?: string;
344
+ track?: string;
345
+ track_artist?: string;
346
+ recording?: string;
347
+ 'release-group'?: string;
348
+ }
349
+ /**
350
+ * https://musicbrainz.org/doc/MusicBrainz_API#Subqueries
351
+ * /ws/2/release-group artist, collection, release
352
+ */
353
+ export interface ILinkedEntitiesReleaseGroup {
354
+ artist?: string;
355
+ collection?: string;
356
+ release?: string;
357
+ }
358
+ /**
359
+ * https://musicbrainz.org/doc/MusicBrainz_API#Subqueries
360
+ * /ws/2/series collection
361
+ */
362
+ export interface ILinkedEntitiesSeries {
363
+ collection?: string;
364
+ }
365
+ /**
366
+ * https://musicbrainz.org/doc/MusicBrainz_API#Browse
367
+ * /ws/2/work artist, collection
368
+ */
369
+ export interface ILinkedEntitiesWork {
370
+ artist?: string;
371
+ collection?: string;
372
+ }
373
+ /**
374
+ * https://musicbrainz.org/doc/MusicBrainz_API#Browse
375
+ * /ws/2/url resource
376
+ */
377
+ export interface ILinkedEntitiesUrl {
378
+ resource?: string;
379
+ }
@@ -1,16 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var LinkType;
4
- (function (LinkType) {
5
- LinkType[LinkType["license"] = 302] = "license";
6
- LinkType[LinkType["production"] = 256] = "production";
7
- LinkType[LinkType["samples_IMDb_entry"] = 258] = "samples_IMDb_entry";
8
- LinkType[LinkType["get_the_music"] = 257] = "get_the_music";
9
- LinkType[LinkType["purchase_for_download"] = 254] = "purchase_for_download";
10
- LinkType[LinkType["download_for_free"] = 255] = "download_for_free";
11
- LinkType[LinkType["stream_for_free"] = 268] = "stream_for_free";
12
- LinkType[LinkType["crowdfunding_page"] = 905] = "crowdfunding_page";
13
- LinkType[LinkType["other_databases"] = 306] = "other_databases";
14
- LinkType[LinkType["Allmusic"] = 285] = "Allmusic";
15
- })(LinkType = exports.LinkType || (exports.LinkType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LinkType = void 0;
4
+ var LinkType;
5
+ (function (LinkType) {
6
+ LinkType[LinkType["license"] = 302] = "license";
7
+ LinkType[LinkType["production"] = 256] = "production";
8
+ LinkType[LinkType["samples_IMDb_entry"] = 258] = "samples_IMDb_entry";
9
+ LinkType[LinkType["get_the_music"] = 257] = "get_the_music";
10
+ LinkType[LinkType["purchase_for_download"] = 254] = "purchase_for_download";
11
+ LinkType[LinkType["download_for_free"] = 255] = "download_for_free";
12
+ LinkType[LinkType["stream_for_free"] = 268] = "stream_for_free";
13
+ LinkType[LinkType["crowdfunding_page"] = 905] = "crowdfunding_page";
14
+ LinkType[LinkType["other_databases"] = 306] = "other_databases";
15
+ LinkType[LinkType["Allmusic"] = 285] = "Allmusic";
16
+ })(LinkType = exports.LinkType || (exports.LinkType = {}));
16
17
  //# sourceMappingURL=musicbrainz.types.js.map