Skip to content

Commit

Permalink
Add thumbnailPath in File
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Oct 8, 2024
1 parent f5f89ff commit 96efb31
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ interface File {
var mimeType: String
var receivedSizeInBytes: Long
var path: String?
var thumbnailPath: String?
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ class FileDB : File, RealmObject {
override var mimeType: String = ""
override var receivedSizeInBytes: Long = 0L
override var path: String? = ""
override var thumbnailPath: String? = ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import com.infomaniak.multiplatform_swisstransfer.common.interfaces.transfers.Fi
import com.infomaniak.multiplatform_swisstransfer.network.serializers.DateToTimestampSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient

@Serializable
class FileApi : File {
Expand All @@ -44,4 +45,6 @@ class FileApi : File {
override var mimeType: String = ""
override var receivedSizeInBytes: Long = 0L
override var path: String? = null
@Transient
override var thumbnailPath: String? = null
}

0 comments on commit 96efb31

Please sign in to comment.