Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d24c50393 | ||
|
|
c648326113 | ||
| f31cf2d860 | |||
| 01b23a1dfb | |||
| 7f668f800e | |||
| cf6ad1ade0 | |||
|
|
ce7c4a7cd8 |
@@ -15,10 +15,6 @@ max_line_length = 1024
|
||||
[*.bat]
|
||||
end_of_line = crlf
|
||||
|
||||
[*.sh]
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
|
||||
# noinspection EditorConfigKeyCorrectness
|
||||
[*.{kt,kts}]
|
||||
ij_kotlin_allow_trailing_comma = true
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
kotlin.code.style=official
|
||||
version=0.9.0
|
||||
catalog=0.11.0
|
||||
version=0.11.0-SNAPSHOT
|
||||
catalog=0.12.0
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
package ltd.hlaeja.library.accountRegistry.event
|
||||
|
||||
import java.util.UUID
|
||||
|
||||
data class AccountMessage(
|
||||
val userId: UUID,
|
||||
val change: List<String>,
|
||||
val timestamp: Long = System.currentTimeMillis(),
|
||||
)
|
||||
13
src/main/kotlin/ltd/hlaeja/library/deviceRegistry/Devices.kt
Normal file
13
src/main/kotlin/ltd/hlaeja/library/deviceRegistry/Devices.kt
Normal file
@@ -0,0 +1,13 @@
|
||||
package ltd.hlaeja.library.deviceRegistry
|
||||
|
||||
import java.time.ZonedDateTime
|
||||
import java.util.UUID
|
||||
|
||||
object Devices {
|
||||
|
||||
data class Response(
|
||||
val id: UUID,
|
||||
val type: UUID,
|
||||
val timestamp: ZonedDateTime,
|
||||
)
|
||||
}
|
||||
15
src/main/kotlin/ltd/hlaeja/library/deviceRegistry/Nodes.kt
Normal file
15
src/main/kotlin/ltd/hlaeja/library/deviceRegistry/Nodes.kt
Normal file
@@ -0,0 +1,15 @@
|
||||
package ltd.hlaeja.library.deviceRegistry
|
||||
|
||||
import java.time.ZonedDateTime
|
||||
import java.util.UUID
|
||||
|
||||
object Nodes {
|
||||
|
||||
data class Response(
|
||||
val id: UUID,
|
||||
val timestamp: ZonedDateTime,
|
||||
val client: UUID,
|
||||
val device: UUID,
|
||||
val name: String,
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user