mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-15 11:00:19 -07:00
29 lines
701 B
Kotlin
29 lines
701 B
Kotlin
package KondoKit.pluginmanager
|
|
|
|
data class GitLabPlugin(
|
|
val id: String,
|
|
val path: String,
|
|
val pluginProperties: PluginProperties?
|
|
)
|
|
|
|
data class PluginProperties(
|
|
val author: String,
|
|
val version: String,
|
|
val description: String
|
|
)
|
|
|
|
/**
|
|
* Data class representing a plugin with its installation status and update information
|
|
*/
|
|
data class PluginInfoWithStatus(
|
|
val name: String,
|
|
val installedVersion: String?,
|
|
val remoteVersion: String?,
|
|
val description: String?,
|
|
val author: String?,
|
|
val gitLabPlugin: GitLabPlugin?,
|
|
val isInstalled: Boolean,
|
|
val needsUpdate: Boolean,
|
|
val isDownloading: Boolean = false,
|
|
val downloadProgress: Int = 0
|
|
)
|