generated from Kotlin/multiplatform-library-template
-
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.
- Loading branch information
Showing
24 changed files
with
376 additions
and
714 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
524 changes: 0 additions & 524 deletions
524
library/src/commonMain/kotlin/model/account/Experiments.kt
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package model.account | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
enum class Theme { | ||
@SerialName("white") | ||
White, | ||
|
||
@SerialName("black") | ||
Black | ||
} |
23 changes: 0 additions & 23 deletions
23
library/src/commonMain/kotlin/model/account/UserSettings.kt
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 @@ | ||
package model.account | ||
|
||
import kotlinx.serialization.ExperimentalSerializationApi | ||
import kotlinx.serialization.Serializable | ||
import kotlinx.serialization.json.JsonNames | ||
|
||
@OptIn(ExperimentalSerializationApi::class) | ||
@Serializable | ||
enum class Visibility { | ||
@JsonNames("PUBLIC", "public") | ||
PUBLIC, | ||
|
||
@JsonNames("PRIVATE", "private") | ||
PRIVATE | ||
} |
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,5 @@ | ||
package model.ad | ||
|
||
enum class Currency { | ||
RUB | ||
} |
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,10 @@ | ||
package model.ad | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
enum class PaymentMethod { | ||
@SerialName("card") | ||
Card | ||
} |
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,10 @@ | ||
package model.ad | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
enum class TypeProduct { | ||
@SerialName("subscription") | ||
Subscription | ||
} |
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,19 @@ | ||
package model.album | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
enum class AlbumType { | ||
@SerialName("single") | ||
Single, | ||
|
||
@SerialName("compilation") | ||
Compilation, | ||
|
||
@SerialName("podcast") | ||
Podcast, | ||
|
||
@SerialName("audiobook") | ||
AudioBook | ||
} |
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,79 @@ | ||
package model.album | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
enum class Genre { | ||
@SerialName("rock") | ||
Rock, | ||
|
||
@SerialName("alternative") | ||
Alternative, | ||
|
||
@SerialName("pop") | ||
Pop, | ||
|
||
@SerialName("films") | ||
Films, | ||
|
||
@SerialName("rusrap") | ||
RusRap, | ||
|
||
@SerialName("local-indie") | ||
LocalIndie, | ||
|
||
@SerialName("indie") | ||
Indie, | ||
|
||
@SerialName("rap") | ||
Rap, | ||
|
||
@SerialName("foreignrap") | ||
ForeignRap, | ||
|
||
@SerialName("ska") | ||
SKA, | ||
|
||
@SerialName("punk") | ||
Punk, | ||
|
||
@SerialName("postpunk") | ||
PostPunk, | ||
|
||
@SerialName("rusrock") | ||
RusRock, | ||
|
||
@SerialName("animated") | ||
Animated, | ||
|
||
@SerialName("soundtrack") | ||
SoundTrack, | ||
|
||
@SerialName("rusbards") | ||
Rusbards, | ||
|
||
@SerialName("ruspop") | ||
RusPop, | ||
|
||
@SerialName("dance") | ||
Dance, | ||
|
||
@SerialName("podcasts") | ||
Podcasts, | ||
|
||
// TODO | ||
edmgenre, breakbeatgenre, ukrrock, experimental, electronics, industrial, | ||
|
||
@SerialName("social-tracks") | ||
SocialTracks, | ||
|
||
@SerialName("dnb") | ||
DrumAndBase, | ||
|
||
@SerialName("soviet") | ||
Soviet, | ||
|
||
@SerialName("fairytales") | ||
FairyTales | ||
} |
Oops, something went wrong.