sonovault 4.4.0 → 4.5.1
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/dist/index.cjs +1 -1
- package/dist/index.d.cts +17 -2
- package/dist/index.d.ts +17 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -185,6 +185,15 @@ interface Release {
|
|
|
185
185
|
* requested. Only returned by `releases.get()`.
|
|
186
186
|
*/
|
|
187
187
|
edition?: number | null;
|
|
188
|
+
/**
|
|
189
|
+
* The UPC the release was delivered to digital stores with, picked from its
|
|
190
|
+
* digital editions (Beatport, then Apple Music, then Spotify, then
|
|
191
|
+
* MusicBrainz and Discogs digital editions whose title matches the release).
|
|
192
|
+
* 12 digits (UPC-A) when it fits, otherwise the 13-digit EAN. `null` when no
|
|
193
|
+
* digital edition carries one. Returned by `releases.get()` and
|
|
194
|
+
* `releases.new()`.
|
|
195
|
+
*/
|
|
196
|
+
digital_upc?: string | null;
|
|
188
197
|
[key: string]: unknown;
|
|
189
198
|
}
|
|
190
199
|
/**
|
|
@@ -195,7 +204,7 @@ interface Release {
|
|
|
195
204
|
interface ReleaseEdition {
|
|
196
205
|
id: number;
|
|
197
206
|
/** The provider describing this edition. */
|
|
198
|
-
source: "spotify" | "discogs" | "musicbrainz";
|
|
207
|
+
source: "spotify" | "discogs" | "musicbrainz" | "beatport" | "applemusic";
|
|
199
208
|
/** The edition's ID at that provider. */
|
|
200
209
|
external_id: string;
|
|
201
210
|
/**
|
|
@@ -237,7 +246,7 @@ interface ReleaseEdition {
|
|
|
237
246
|
id: number;
|
|
238
247
|
name: string;
|
|
239
248
|
} | null;
|
|
240
|
-
/** The pressing's catalog number, from Discogs and
|
|
249
|
+
/** The pressing's catalog number, from Discogs, MusicBrainz and Beatport. */
|
|
241
250
|
catalog_no: string | null;
|
|
242
251
|
}
|
|
243
252
|
interface Genre {
|
|
@@ -267,9 +276,15 @@ interface PlatformLinksResponse {
|
|
|
267
276
|
interface IswcLookupResponse {
|
|
268
277
|
sonovault_id?: number;
|
|
269
278
|
isrc?: string;
|
|
279
|
+
/**
|
|
280
|
+
* By ISRC: the works a source links to that exact ISRC (`basis: "isrc"`),
|
|
281
|
+
* or, when none is stated, every work on the recording (`basis: "recording"`).
|
|
282
|
+
* By id: every work on the recording.
|
|
283
|
+
*/
|
|
270
284
|
iswcs?: {
|
|
271
285
|
iswc: string;
|
|
272
286
|
title: string | null;
|
|
287
|
+
basis?: "isrc" | "recording";
|
|
273
288
|
}[];
|
|
274
289
|
[key: string]: unknown;
|
|
275
290
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -185,6 +185,15 @@ interface Release {
|
|
|
185
185
|
* requested. Only returned by `releases.get()`.
|
|
186
186
|
*/
|
|
187
187
|
edition?: number | null;
|
|
188
|
+
/**
|
|
189
|
+
* The UPC the release was delivered to digital stores with, picked from its
|
|
190
|
+
* digital editions (Beatport, then Apple Music, then Spotify, then
|
|
191
|
+
* MusicBrainz and Discogs digital editions whose title matches the release).
|
|
192
|
+
* 12 digits (UPC-A) when it fits, otherwise the 13-digit EAN. `null` when no
|
|
193
|
+
* digital edition carries one. Returned by `releases.get()` and
|
|
194
|
+
* `releases.new()`.
|
|
195
|
+
*/
|
|
196
|
+
digital_upc?: string | null;
|
|
188
197
|
[key: string]: unknown;
|
|
189
198
|
}
|
|
190
199
|
/**
|
|
@@ -195,7 +204,7 @@ interface Release {
|
|
|
195
204
|
interface ReleaseEdition {
|
|
196
205
|
id: number;
|
|
197
206
|
/** The provider describing this edition. */
|
|
198
|
-
source: "spotify" | "discogs" | "musicbrainz";
|
|
207
|
+
source: "spotify" | "discogs" | "musicbrainz" | "beatport" | "applemusic";
|
|
199
208
|
/** The edition's ID at that provider. */
|
|
200
209
|
external_id: string;
|
|
201
210
|
/**
|
|
@@ -237,7 +246,7 @@ interface ReleaseEdition {
|
|
|
237
246
|
id: number;
|
|
238
247
|
name: string;
|
|
239
248
|
} | null;
|
|
240
|
-
/** The pressing's catalog number, from Discogs and
|
|
249
|
+
/** The pressing's catalog number, from Discogs, MusicBrainz and Beatport. */
|
|
241
250
|
catalog_no: string | null;
|
|
242
251
|
}
|
|
243
252
|
interface Genre {
|
|
@@ -267,9 +276,15 @@ interface PlatformLinksResponse {
|
|
|
267
276
|
interface IswcLookupResponse {
|
|
268
277
|
sonovault_id?: number;
|
|
269
278
|
isrc?: string;
|
|
279
|
+
/**
|
|
280
|
+
* By ISRC: the works a source links to that exact ISRC (`basis: "isrc"`),
|
|
281
|
+
* or, when none is stated, every work on the recording (`basis: "recording"`).
|
|
282
|
+
* By id: every work on the recording.
|
|
283
|
+
*/
|
|
270
284
|
iswcs?: {
|
|
271
285
|
iswc: string;
|
|
272
286
|
title: string | null;
|
|
287
|
+
basis?: "isrc" | "recording";
|
|
273
288
|
}[];
|
|
274
289
|
[key: string]: unknown;
|
|
275
290
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonovault",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.1",
|
|
4
4
|
"description": "TypeScript/Node client for the SonoVault music metadata API: ISRC, ISWC, genre, BPM, key, labels, release dates, and cross-platform IDs for 93M+ tracks.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"music",
|