artemis-model 0.1.75__py3-none-any.whl → 0.1.78__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.
artemis_model/playlist.py CHANGED
@@ -186,3 +186,18 @@ class PlaylistCounterSync(CustomSyncBase, PlaylistCounterMixin):
186
186
 
187
187
  class PlaylistCounter(CustomBase, PlaylistCounterMixin):
188
188
  pass
189
+
190
+
191
+ class FavoritePlaylistMixin:
192
+ playlist_id: Mapped[int] = mapped_column(
193
+ ForeignKey("playlist.id"), primary_key=True
194
+ )
195
+ user_id: Mapped[uuid.UUID] = mapped_column(ForeignKey("user.id"), primary_key=True)
196
+
197
+
198
+ class FavoritePlaylistSync(CustomSyncBase, FavoritePlaylistMixin):
199
+ pass
200
+
201
+
202
+ class FavoritePlaylist(CustomBase, FavoritePlaylistMixin):
203
+ pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: artemis-model
3
- Version: 0.1.75
3
+ Version: 0.1.78
4
4
  Summary:
5
5
  Author: Jukeboxy
6
6
  Requires-Python: >=3.10.6,<4.0.0
@@ -11,12 +11,12 @@ artemis_model/message.py,sha256=gua3X_1hS7akmS42wQGtL0I-FCJUHdTBM4n2DW4hTxQ,3280
11
11
  artemis_model/organization.py,sha256=hu9jKB2qu57BwN0sUUK13p3tC-Hqw9EghFMqjFP9Pr4,2387
12
12
  artemis_model/otp.py,sha256=TjZ_EHeIedjsLIqyZTtzd0s6Uc-1dleMEV8DhzsW44o,1046
13
13
  artemis_model/permission.py,sha256=sEBRN-bQJl2TNtRJ5LRuySoEbW1lY4DCoyRk0nOM-kY,1503
14
- artemis_model/playlist.py,sha256=sXiXil3ezCuU-L9EI1URKIRUs1fnO2z9VuwILSxBBwI,5815
14
+ artemis_model/playlist.py,sha256=sbw3hNmf9zZszNO7rQQXOpITUjET5k5EGcEG3RudnI8,6186
15
15
  artemis_model/schedule.py,sha256=pnoKDMlUh28o61I7kZddNYn6z-uqOt_ml1nbWxKVeRM,1722
16
16
  artemis_model/setting.py,sha256=McWbeDZP45km3VSSwP1BgAmmjO4qCL0pTnOmJVAz0WI,1265
17
17
  artemis_model/track.py,sha256=x8BHKDZl9uQmQH6DWpzH-SEsfecLghOBdBT7qXgN3d0,3865
18
18
  artemis_model/user.py,sha256=ZtZVwavSPoQmYM1_MarMULy-DJa2pH482G_G8su0b6c,2211
19
19
  artemis_model/zone.py,sha256=iGRUtzUwKh9LHT3MOfzzg1DnkPBts_ZBzZVTi2EmIgs,2282
20
- artemis_model-0.1.75.dist-info/METADATA,sha256=nVZ_zhzENpnE98GrD2uixCoik0Df_zFVaLnOpQcyUaY,3402
21
- artemis_model-0.1.75.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
22
- artemis_model-0.1.75.dist-info/RECORD,,
20
+ artemis_model-0.1.78.dist-info/METADATA,sha256=PIid3TP5Aw1ITFzcWXK_SiqZZbW87gtHuj4UkpuV7ho,3402
21
+ artemis_model-0.1.78.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
22
+ artemis_model-0.1.78.dist-info/RECORD,,