@qrush/types 2.1.63 → 2.1.64
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/Artist.d.ts +16 -0
- package/package.json +1 -1
package/dist/Artist.d.ts
CHANGED
|
@@ -17,6 +17,20 @@ export interface ArtistSameAs {
|
|
|
17
17
|
tiktok?: string;
|
|
18
18
|
website?: string;
|
|
19
19
|
}
|
|
20
|
+
/** A single Deezer track with a 30-second preview URL */
|
|
21
|
+
export interface DeezerTrack {
|
|
22
|
+
id: number;
|
|
23
|
+
title: string;
|
|
24
|
+
/** Direct 30-sec MP3 CDN URL (no auth required) */
|
|
25
|
+
previewUrl: string;
|
|
26
|
+
albumCoverSmall?: string;
|
|
27
|
+
}
|
|
28
|
+
/** Deezer enrichment data stored on the artist document */
|
|
29
|
+
export interface ArtistDeezer {
|
|
30
|
+
/** Deezer artist ID — auto-matched by name or manually set via admin */
|
|
31
|
+
artistId?: number;
|
|
32
|
+
topTracks?: DeezerTrack[];
|
|
33
|
+
}
|
|
20
34
|
/**
|
|
21
35
|
* Full artist document stored in the `artists` collection
|
|
22
36
|
* Admins can create full records; promoters create fallback (name-only) entries
|
|
@@ -31,6 +45,8 @@ export interface IFireArtist {
|
|
|
31
45
|
/** Structured genre selections for the artist */
|
|
32
46
|
genres?: GenreSelection[];
|
|
33
47
|
sameAs?: ArtistSameAs;
|
|
48
|
+
/** Deezer music preview data (enriched at import time) */
|
|
49
|
+
deezer?: ArtistDeezer;
|
|
34
50
|
/** true if created by promoter (name-only, no SEO links) */
|
|
35
51
|
isFallback: boolean;
|
|
36
52
|
createdAt?: Timestamp;
|