- cleanup Mapper.kt - update build.gradle.kts to use certificate plugin - update catalog version
11 lines
255 B
Kotlin
11 lines
255 B
Kotlin
package ltd.hlaeja.util
|
|
|
|
import ltd.hlaeja.library.deviceConfiguration.Node
|
|
|
|
fun Node.Response.toDeviceResponse(): Map<String, String> {
|
|
return mapOf(
|
|
"version" to timestamp.toEpochSecond().toString(),
|
|
"data" to configuration,
|
|
)
|
|
}
|