This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
1 parent
7e8b745
commit 906d1f5
Showing
114 changed files
with
408 additions
and
376 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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
34 changes: 0 additions & 34 deletions
34
app/src/main/java/app/suhasdissa/vibeyou/backend/models/hyper/Song.kt
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...dissa/vibeyou/backend/api/HyperpipeApi.kt → ...hasdissa/vibeyou/data/api/HyperpipeApi.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
2 changes: 1 addition & 1 deletion
2
...uhasdissa/vibeyou/backend/api/PipedApi.kt → ...p/suhasdissa/vibeyou/data/api/PipedApi.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
18 changes: 9 additions & 9 deletions
18
.../vibeyou/backend/database/SongDatabase.kt → ...ssa/vibeyou/data/database/SongDatabase.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
8 changes: 4 additions & 4 deletions
8
...beyou/backend/database/dao/PlaylistDao.kt → .../vibeyou/data/database/dao/PlaylistDao.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
2 changes: 1 addition & 1 deletion
2
...sa/vibeyou/backend/database/dao/RawDao.kt → ...dissa/vibeyou/data/database/dao/RawDao.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
4 changes: 2 additions & 2 deletions
4
...vibeyou/backend/database/dao/SearchDao.kt → ...sa/vibeyou/data/database/dao/SearchDao.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
4 changes: 2 additions & 2 deletions
4
.../vibeyou/backend/database/dao/SongsDao.kt → ...ssa/vibeyou/data/database/dao/SongsDao.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
4 changes: 2 additions & 2 deletions
4
...ckend/database/entities/PlaylistEntity.kt → .../data/database/entities/PlaylistEntity.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
2 changes: 1 addition & 1 deletion
2
...nd/database/entities/PlaylistWithSongs.kt → ...ta/database/entities/PlaylistWithSongs.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
2 changes: 1 addition & 1 deletion
2
.../backend/database/entities/SearchQuery.kt → ...you/data/database/entities/SearchQuery.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
2 changes: 1 addition & 1 deletion
2
...u/backend/database/entities/SongEntity.kt → ...eyou/data/database/entities/SongEntity.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
2 changes: 1 addition & 1 deletion
2
...kend/database/entities/SongPlaylistMap.kt → ...data/database/entities/SongPlaylistMap.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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 36 additions & 0 deletions
36
app/src/main/java/app/suhasdissa/vibeyou/domain/models/hyper/Song.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package app.suhasdissa.vibeyou.backend.models.hyper | ||
|
||
import androidx.core.net.toUri | ||
import app.suhasdissa.vibeyou.data.database.entities.SongEntity | ||
import app.suhasdissa.vibeyou.domain.models.primary.Song | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class Song( | ||
val id: String, | ||
val subtitle: String, | ||
val thumbnails: List<Thumbnail>, | ||
val title: String | ||
) { | ||
val asSong: Song | ||
get() { | ||
return Song( | ||
id = id, | ||
title = title, | ||
artistsText = subtitle, | ||
durationText = null, | ||
thumbnailUri = thumbnails.maxByOrNull { it.height }?.url?.toUri() | ||
) | ||
} | ||
|
||
val asSongEntity: SongEntity | ||
get() { | ||
return SongEntity( | ||
id = id, | ||
title = title, | ||
artistsText = subtitle, | ||
durationText = null, | ||
thumbnailUrl = thumbnails.maxByOrNull { it.height }?.url | ||
) | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../suhasdissa/vibeyou/backend/data/Album.kt → ...sa/vibeyou/domain/models/primary/Album.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
2 changes: 1 addition & 1 deletion
2
...suhasdissa/vibeyou/backend/data/Artist.kt → ...a/vibeyou/domain/models/primary/Artist.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
2 changes: 1 addition & 1 deletion
2
...ssa/vibeyou/backend/data/EqualizerData.kt → ...ou/domain/models/primary/EqualizerData.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
2 changes: 1 addition & 1 deletion
2
...p/suhasdissa/vibeyou/backend/data/Song.kt → ...ssa/vibeyou/domain/models/primary/Song.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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
14 changes: 7 additions & 7 deletions
14
.../backend/repository/PlaylistRepository.kt → ...u/domain/repository/PlaylistRepository.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
4 changes: 2 additions & 2 deletions
4
...kend/repository/SongDatabaseRepository.kt → ...main/repository/SongDatabaseRepository.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
6 changes: 3 additions & 3 deletions
6
.../repository/SongDatabaseRepositoryImpl.kt → .../repository/SongDatabaseRepositoryImpl.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
2 changes: 1 addition & 1 deletion
2
...ava/app/suhasdissa/vibeyou/Destination.kt → ...asdissa/vibeyou/navigation/Destination.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
Oops, something went wrong.