Update AnimeKaiDto.kt
This commit is contained in:
parent
252c77c774
commit
1bbb9d5fd8
1 changed files with 3 additions and 5 deletions
|
@ -3,18 +3,16 @@ package eu.kanade.tachiyomi.animeextension.en.animekai
|
||||||
// DTO for generating token requests
|
// DTO for generating token requests
|
||||||
data class TokenRequestDTO(
|
data class TokenRequestDTO(
|
||||||
val id: String,
|
val id: String,
|
||||||
val time: String
|
val time: String,
|
||||||
)
|
)
|
||||||
|
|
||||||
// DTO for representing the decoded iframe data
|
|
||||||
data class IframeDataDTO(
|
data class IframeDataDTO(
|
||||||
val encryptedData: String
|
val encryptedData: String,
|
||||||
)
|
)
|
||||||
|
|
||||||
// Main DTO for passing decoder configurations (secret, iv) and data for encoding/decoding
|
|
||||||
data class AnimekaiDecoderDTO(
|
data class AnimekaiDecoderDTO(
|
||||||
val secret: String = AnimekaiDecoder.SECRET,
|
val secret: String = AnimekaiDecoder.SECRET,
|
||||||
val iv: String = AnimekaiDecoder.IV,
|
val iv: String = AnimekaiDecoder.IV,
|
||||||
val tokenRequest: TokenRequestDTO,
|
val tokenRequest: TokenRequestDTO,
|
||||||
val iframeData: IframeDataDTO
|
val iframeData: IframeDataDTO,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue