-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for new blocks from landing page (#3)
Поддержка блоков с лендинга (подборки для вас, в тренде)
- Loading branch information
Showing
53 changed files
with
1,011 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from .editorial_artists import EditorialArtistsEnum | ||
from .editorial_compilation import EditorialCompilationEnum | ||
from .editorial_new_releases import EditorialNewReleasesEnum | ||
from .editorial_promotion import EditorialPromotionEnum | ||
from .open_playlist import OpenPlaylistEnum | ||
from .special import SpecialEnum | ||
|
||
__all__ = ( | ||
"EditorialArtistsEnum", | ||
"EditorialCompilationEnum", | ||
"EditorialNewReleasesEnum", | ||
"EditorialPromotionEnum", | ||
"OpenPlaylistEnum", | ||
"SpecialEnum", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from enum import Enum | ||
|
||
|
||
class EditorialArtistsEnum(str, Enum): | ||
"""Перечисление, представляющее типы блоков с артистами на главной странице.""" | ||
|
||
ALL_ISRKA = "ALL_isrka" | ||
RU_ARTISTS = "RU_artists" | ||
RU_ISKRA = "RU_iskra" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from enum import Enum | ||
|
||
|
||
class EditorialCompilationEnum(str, Enum): | ||
"""Перечисление, представляющее типы блоков с подборками на главной странице.""" | ||
|
||
ALL_NEWYEAR = "ALL_newyear" | ||
# Плейлисты. | ||
ALL_WINTER = "ALL_winter" | ||
# Плейлисты. | ||
RUSSIA_HITS = "RUSSIA_hits" | ||
# Плейлисты. | ||
RUSSIA_NEWCOMERS = "RUSSIA_newcomers" | ||
# Плейлисты. | ||
RUSSIA_EDITORIAL_COMPILATION = "RUSSIA_editorial_compilation" | ||
# Альбомы. | ||
ALL_ALBUMS_WITH_VIDEOSHOTS = "ALL_albums_with_videoshots" | ||
# Альбомы. | ||
ALL_ALBUMS_WITH_COMMENTARY = "ALL_albums_with_commentary" | ||
# Альбомы. | ||
RU_GENRES = "RU_genres" | ||
# Плейлисты. | ||
RU_TRANDS = "RU_trands" | ||
# Плейлисты. | ||
RU_EDITORS = "RU_editors" | ||
# Альбомы. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from enum import Enum | ||
|
||
|
||
class EditorialNewReleasesEnum(str, Enum): | ||
"""Перечисление, представляющее типы блоков с новинками на главной странице.""" | ||
|
||
ALL_ALBUMS_OF_THE_MONTH = "ALL_albums_of_the_month" | ||
RU_ALBUMS = "RU_albums" |
Oops, something went wrong.