-
Notifications
You must be signed in to change notification settings - Fork 5
/
TrackMetadata.ts
72 lines (60 loc) · 1.06 KB
/
TrackMetadata.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/**
* Metadata for a track on the Audius network.
*/
type TrackMetadata = {
/**
* The title of the track.
*/
title: string
/**
* The description of the track. May be an empty string.
*/
description: string
/**
* The genre of the track.
*/
genre: string
/**
* The mood of the track.
*/
mood: string
/**
* The ID of the uploading user.
*/
ownerId: number
/**
* The path of the track on the Audius network,
* e.g. "lido/life-of-peder-part-one"
*/
path: string
/**
* The ID of the uploaded track.
*/
trackId: number
/**
* Tags describing the track.
*/
tags: string[]
/**
* Total reposts count of a track.
*/
repostCount: number
/**
* Total favorites count of a track.
*/
favoriteCount: number
/**
* The date the track was originally
* released on the Audius network.
*/
releaseDate: Date
/**
* The name of the uploading user.
*/
userName: string
/**
* The handle of the uploading user.
*/
userHandle: string
}
export default TrackMetadata