@qrush/types 2.1.71 → 2.1.72
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 +14 -12
- package/package.json +1 -1
package/dist/Artist.d.ts
CHANGED
|
@@ -17,19 +17,21 @@ export interface ArtistSameAs {
|
|
|
17
17
|
tiktok?: string;
|
|
18
18
|
website?: string;
|
|
19
19
|
}
|
|
20
|
-
/** A single
|
|
21
|
-
export interface
|
|
22
|
-
id:
|
|
20
|
+
/** A single music preview track with a permanent CDN preview URL (Apple Music) */
|
|
21
|
+
export interface MusicPreviewTrack {
|
|
22
|
+
id: string;
|
|
23
23
|
title: string;
|
|
24
|
-
/**
|
|
24
|
+
/** Permanent CDN URL for 30-sec preview (Apple Music M4A) */
|
|
25
25
|
previewUrl: string;
|
|
26
|
-
|
|
26
|
+
artworkUrl?: string;
|
|
27
27
|
}
|
|
28
|
-
/**
|
|
29
|
-
export interface
|
|
30
|
-
/**
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
/** Music preview configuration stored on the artist document */
|
|
29
|
+
export interface MusicPreviewConfig {
|
|
30
|
+
/** Apple Music artist ID — auto-matched by name or manually set via admin */
|
|
31
|
+
appleMusicId?: string;
|
|
32
|
+
tracks?: MusicPreviewTrack[];
|
|
33
|
+
/** ISO timestamp of last enrichment */
|
|
34
|
+
lastEnrichedAt?: string;
|
|
33
35
|
}
|
|
34
36
|
/**
|
|
35
37
|
* Full artist document stored in the `artists` collection
|
|
@@ -45,8 +47,8 @@ export interface IFireArtist {
|
|
|
45
47
|
/** Structured genre selections for the artist */
|
|
46
48
|
genres?: GenreSelection[];
|
|
47
49
|
sameAs?: ArtistSameAs;
|
|
48
|
-
/**
|
|
49
|
-
|
|
50
|
+
/** Apple Music preview data (permanent CDN URLs, enriched at import time) */
|
|
51
|
+
musicPreview?: MusicPreviewConfig;
|
|
50
52
|
/** true if created by promoter (name-only, no SEO links) */
|
|
51
53
|
isFallback: boolean;
|
|
52
54
|
createdAt?: Timestamp;
|