Package-level declarations

Types

Link copied to clipboard
data class BenchmarkResultEntity(val id: Long, val createdAt: Long, val platform: String, val manufacturer: String, val model: String, val osVersion: String, val cpuName: String, val cpuCores: Int, val gpuName: String, val totalRamMb: Long, val availableRamMb: Long, val totalVramMb: Long, val availableVramMb: Long, val accelerators: String, val cpuScore: Int, val memoryScore: Int, val acceleratorScore: Int, val totalScore: Int, val estimatedTimeSeconds: Int, val recommendedWidth: Int, val recommendedHeight: Int, val recommendedSteps: Int, val recommendedCfg: Float, val recommendedBatch: Int, val recommendedProviders: String, val recommendedBackground: Boolean, val recommendedBackend: String, val notes: String)

Persisted snapshot of a safe hardware benchmark run.

Link copied to clipboard
data class GenerationResultEntity(val id: Long, val imageBase64: String, val originalImageBase64: String, val createdAt: Long, val generationType: String, val prompt: String, val negativePrompt: String, val width: Int, val height: Int, val samplingSteps: Int, val cfgScale: Float, val restoreFaces: Boolean, val sampler: String, val seed: String, val subSeed: String, val subSeedStrength: Float, val denoisingStrength: Float, val hidden: Boolean, val liked: Boolean = false, val modelName: String = "")

Carries GenerationResultEntity data through the SDAI storage layer.

Link copied to clipboard
data class GenerationResultPreviewEntity(val id: Long, val imageBase64: String, val hidden: Boolean, val liked: Boolean = false)

Carries lightweight gallery-grid projection data through the SDAI storage layer.

Link copied to clipboard
data class HuggingFaceModelEntity(val id: String, val name: String, val alias: String, val source: String)

Carries HuggingFaceModelEntity data through the SDAI storage layer.

Link copied to clipboard
data class LocalModelEntity(val id: String, val type: String, val name: String, val size: String, val sources: List<String>)

Carries LocalModelEntity data through the SDAI storage layer.

Link copied to clipboard
data class NetworkUsageEntity(val category: String, val bytes: Long)

Persisted byte counter for one Settings network usage bucket.

Link copied to clipboard
data class SupporterEntity(val id: Int, val name: String, val date: Long, val message: String)

Carries SupporterEntity data through the SDAI storage layer.