-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement media management api (without delete)
- Loading branch information
1 parent
fa95f0c
commit 8329e9e
Showing
20 changed files
with
334 additions
and
134 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
app/src/main/kotlin/net/primal/android/attachments/domain/CdnResource.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
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
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
13 changes: 13 additions & 0 deletions
13
app/src/main/kotlin/net/primal/android/premium/manage/media/api/MediaManagementApi.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,13 @@ | ||
package net.primal.android.premium.manage.media.api | ||
|
||
import net.primal.android.premium.manage.media.api.model.MediaStorageStats | ||
import net.primal.android.premium.manage.media.api.model.MediaUploadsResponse | ||
|
||
interface MediaManagementApi { | ||
|
||
suspend fun getMediaStats(userId: String): MediaStorageStats | ||
|
||
suspend fun getMediaUploads(userId: String): MediaUploadsResponse | ||
|
||
suspend fun deleteMedia(userId: String) | ||
} |
Oops, something went wrong.