fr.janalyse.sotohp.config.MiniaturizerConfig.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sotohp-core_3 Show documentation
Show all versions of sotohp-core_3 Show documentation
photos management made simple
The newest version!
package fr.janalyse.sotohp.config
import fr.janalyse.sotohp.core.*
import fr.janalyse.sotohp.model.*
import fr.janalyse.sotohp.store.{PhotoStoreIssue, PhotoStoreService}
import zio.*
import zio.config.*
import zio.config.magnolia.*
import zio.config.typesafe.*
import java.io.File
import java.nio.file.Path
case class MiniaturizerConfig(
referenceSizes: List[Int],
quality: Double,
format: String
)
object MiniaturizerConfig {
val config =
deriveConfig[MiniaturizerConfig]
.mapKey(toKebabCase)
.nested("sotohp", "miniaturizer")
}