Adding features
Release Tagging / release (pull_request) Successful in 16s
simodels Build / Check (pull_request) Successful in 17s
simodels Build / build (pull_request) Successful in 18s
simodels Build / Clippy (pull_request) Successful in 18s
simodels Build / Rustfmt (pull_request) Successful in 23s
simodels Build / Test Suite (pull_request) Successful in 28s

This commit is contained in:
phoenix committed 2026-11-05 15:03:11 -05:00
1 parent 18a7981d82
commit 43cc4defbb
5 files changed
+40 -14

No files matched your search

+2 -6
View File
@@ -14,12 +14,8 @@ impl SongEvent {
pub fn is_event_type_valid(&self) -> bool {
matches!(
self.event_type.as_str(),
SONG_EVENT_TYPE_PLAY | SONG_EVENT_TYPE_PAUSE
super::constants::song_event::SONG_EVENT_TYPE_PLAY
| super::constants::song_event::SONG_EVENT_TYPE_PAUSE
)
}
}
/// Song Event Type - Play
pub const SONG_EVENT_TYPE_PLAY: &str = "PLAY";
/// Song Event Type - PAUSE
pub const SONG_EVENT_TYPE_PAUSE: &str = "PAUSE";