6 Commits

Author SHA1 Message Date
44c468e546 [RELEASE] - release version: 0.8.0 2025-04-05 12:38:39 +02:00
bc4524b77f extract type response to types and add timestamp, and description to type 2025-04-01 19:23:50 +02:00
4cf3fb6985 [RELEASE] - bump version 2025-02-07 16:51:24 +01:00
1683686742 [RELEASE] - release version: 0.7.0 2025-02-07 16:51:19 +01:00
557254b406 change Account Request
- override toString dont print password
- make password nullable
2025-01-28 17:05:44 +01:00
59f0ab4c58 [RELEASE] - bump version 2025-01-02 07:09:38 +01:00
4 changed files with 22 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
kotlin.code.style=official kotlin.code.style=official
version=0.6.0 version=0.8.0
catalog=0.8.0 catalog=0.8.0

View File

@@ -7,10 +7,12 @@ object Account {
data class Request( data class Request(
val username: String, val username: String,
val password: CharSequence, val password: CharSequence?,
val enabled: Boolean, val enabled: Boolean,
val roles: List<String>, val roles: List<String>,
) ) {
override fun toString(): String = "Request(username=$username, password=******, enabled=$enabled, roles=$roles)"
}
data class Response( data class Response(
val id: UUID, val id: UUID,

View File

@@ -1,15 +1,19 @@
package ltd.hlaeja.library.deviceRegistry package ltd.hlaeja.library.deviceRegistry
import java.time.ZonedDateTime
import java.util.UUID import java.util.UUID
object Type { object Type {
data class Request( data class Request(
val name: String, val name: String,
val description: String,
) )
data class Response( data class Response(
val id: UUID, val id: UUID,
val timestamp: ZonedDateTime,
val name: String, val name: String,
val description: String,
) )
} }

View File

@@ -0,0 +1,13 @@
package ltd.hlaeja.library.deviceRegistry
import java.time.ZonedDateTime
import java.util.UUID
object Types {
data class Response(
val id: UUID,
val name: String,
val timestamp: ZonedDateTime,
)
}