Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a960c7d299
|
||
|
|
4f73ec6efa
|
||
|
|
d751622bac |
No files matched your search
@@ -0,0 +1,11 @@
|
||||
|
||||
pub struct SongEvent {
|
||||
pub id: uuid::Uuid,
|
||||
pub song_id: uuid::Uuid,
|
||||
pub user_id: uuid::Uuid,
|
||||
pub event_type: String,
|
||||
pub event_time: time::OffsetDateTime
|
||||
}
|
||||
|
||||
pub const SONG_EVENT_TYPE_PLAY: &str = "PLAY";
|
||||
pub const SONG_EVENT_TYPE_PAUSE: &str = "PAUSE";
|
||||
@@ -2,6 +2,7 @@ pub mod access_level;
|
||||
pub mod album;
|
||||
pub mod constants;
|
||||
pub mod coverart;
|
||||
pub mod ledger;
|
||||
pub mod login_result;
|
||||
pub mod song;
|
||||
pub mod token;
|
||||
|
||||
Reference in new issue
Block a user