mirror of
https://github.com/revanced/revanced-manager-compose-old.git
synced 2025-04-29 22:14:28 +02:00
fix: unpushed classes
This commit is contained in:
parent
9a9f0fbf35
commit
09b681cfe1
@ -0,0 +1,19 @@
|
||||
package app.revanced.manager.dto.github
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
class Repositories(
|
||||
@SerialName("repositories") val repositories: List<Repository>,
|
||||
)
|
||||
@Serializable
|
||||
class Repository(
|
||||
@SerialName("name") val name: String,
|
||||
@SerialName("contributors") val contributors: List<Contributor>,
|
||||
)
|
||||
@Serializable
|
||||
class Contributor(
|
||||
@SerialName("login") val username: String,
|
||||
@SerialName("avatar_url") val avatarUrl: String,
|
||||
)
|
19
app/src/main/java/app/revanced/manager/dto/github/Tools.kt
Normal file
19
app/src/main/java/app/revanced/manager/dto/github/Tools.kt
Normal file
@ -0,0 +1,19 @@
|
||||
package app.revanced.manager.dto.github
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
class Tools(
|
||||
@SerialName("tools") val tools: List<Assets>,
|
||||
)
|
||||
@Serializable
|
||||
class Assets(
|
||||
@SerialName("repository") val repository: String,
|
||||
@SerialName("version") val version: String,
|
||||
@SerialName("timestamp") val timestamp: String,
|
||||
@SerialName("name") val name: String,
|
||||
@SerialName("size") val size: String?,
|
||||
@SerialName("browser_download_url") val downloadUrl: String,
|
||||
@SerialName("content_type") val content_type: String
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user