artemis-model 0.1.167__py3-none-any.whl → 0.1.169__py3-none-any.whl
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.
Potentially problematic release.
This version of artemis-model might be problematic. Click here for more details.
artemis_model/sqs/messages.py
CHANGED
|
@@ -26,6 +26,7 @@ class Action(str, Enum):
|
|
|
26
26
|
PLAYER_MODE_CHANGE = "player-mode-change"
|
|
27
27
|
BAN_TRACK = "ban-track"
|
|
28
28
|
ZONE_ACTIVITY = "zone-activity"
|
|
29
|
+
STOP_MUSIC = "stop-music"
|
|
29
30
|
|
|
30
31
|
|
|
31
32
|
class BaseMessage(BaseModel):
|
|
@@ -47,6 +48,13 @@ class MoveTimeSlotIn(BaseMessage):
|
|
|
47
48
|
playlist_ids: list[int]
|
|
48
49
|
|
|
49
50
|
|
|
51
|
+
class StopMusicIn(BaseMessage):
|
|
52
|
+
"""Stop music message schema."""
|
|
53
|
+
|
|
54
|
+
action: Action = Action.STOP_MUSIC
|
|
55
|
+
zone_id: int
|
|
56
|
+
|
|
57
|
+
|
|
50
58
|
class TriageScheduleIn(BaseMessage):
|
|
51
59
|
"""Triage schedule message schema."""
|
|
52
60
|
|
|
@@ -25,12 +25,12 @@ artemis_model/redis/zone_state.py,sha256=A5z2ss1-zq6_UHavs6mBgxsllXLz5hYbKCNRAjD
|
|
|
25
25
|
artemis_model/schedule.py,sha256=CkLHWz-BwvUY2EQCfoU4SymgCariPzoQdtRLITqBPmk,2451
|
|
26
26
|
artemis_model/setting.py,sha256=xe5SHDziY8RzFxzB1GzousxI1FXYhyXZ5proEseS60g,1190
|
|
27
27
|
artemis_model/sqs/__init__.py,sha256=nHpXQns64qQ5Cqjyo6w9fDGO_wWhprqn1bhKf3eWnio,17
|
|
28
|
-
artemis_model/sqs/messages.py,sha256=
|
|
28
|
+
artemis_model/sqs/messages.py,sha256=Tb7HBTyN9kjcV3PIJmP0U3M7ZqDX3jjf-qIPjUck0iM,3010
|
|
29
29
|
artemis_model/track.py,sha256=QwUF0QKVn1I64648B-NI75-IzGQvnLt9B0emD4GnS6E,3757
|
|
30
30
|
artemis_model/user.py,sha256=eqIdCiBJRNLjCwPPCn-gQ6si0O5JUBGfp9oWJL5zVW4,2131
|
|
31
31
|
artemis_model/zone.py,sha256=iGRUtzUwKh9LHT3MOfzzg1DnkPBts_ZBzZVTi2EmIgs,2282
|
|
32
32
|
artemis_model/zone_activity.py,sha256=BY4iODavY9ceJ5oRChdjjxf26S3U30Yb7Pxm5YRFpCo,1590
|
|
33
33
|
artemis_model/zone_state.py,sha256=3zMTeU4M6ysnwZQR4nzv1LxzqfnVAjOpJBvfbzfbpq0,2669
|
|
34
|
-
artemis_model-0.1.
|
|
35
|
-
artemis_model-0.1.
|
|
36
|
-
artemis_model-0.1.
|
|
34
|
+
artemis_model-0.1.169.dist-info/METADATA,sha256=TWb-xwQpNyzwGiq7twx2SeVaW1pCVA7R9fJ5lYk5Bxc,3496
|
|
35
|
+
artemis_model-0.1.169.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
36
|
+
artemis_model-0.1.169.dist-info/RECORD,,
|
|
File without changes
|