mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-05-13 23:02:41 +00:00
22 lines
365 B
Elixir
22 lines
365 B
Elixir
defmodule LiveBeats.MediaLibrary.Events do
|
|
defmodule Play do
|
|
defstruct song: nil, elapsed: nil
|
|
end
|
|
|
|
defmodule Pause do
|
|
defstruct song: nil
|
|
end
|
|
|
|
defmodule PublicProfileUpdated do
|
|
defstruct profile: nil
|
|
end
|
|
|
|
defmodule SongsImported do
|
|
defstruct user_id: nil, songs: []
|
|
end
|
|
|
|
defmodule NewPosition do
|
|
defstruct song: nil
|
|
end
|
|
end
|