🚧 Starts frontend backend integration
This commit is contained in:
@@ -28,7 +28,7 @@ enum class ActionKind {
|
||||
}
|
||||
|
||||
@Serializable
|
||||
class ActionDTO(
|
||||
data class ActionDTO(
|
||||
val id: String,
|
||||
val name: String,
|
||||
val kind: ActionKind,
|
||||
@@ -39,7 +39,7 @@ class ActionDTO(
|
||||
)
|
||||
|
||||
@Serializable
|
||||
class NewActionDTO(
|
||||
data class NewActionDTO(
|
||||
val name: String,
|
||||
val kind: String,
|
||||
val source: String,
|
||||
@@ -47,14 +47,14 @@ class NewActionDTO(
|
||||
)
|
||||
|
||||
@Serializable
|
||||
class UpdateActionDTO(
|
||||
data class UpdateActionDTO(
|
||||
val name: String?,
|
||||
val kind: String?,
|
||||
val source: String?
|
||||
)
|
||||
|
||||
@Serializable
|
||||
class RunActionDTO(
|
||||
data class RunActionDTO(
|
||||
val pin: String,
|
||||
val key: String
|
||||
)
|
||||
|
@@ -10,14 +10,14 @@ import java.time.format.DateTimeFormatter
|
||||
import java.util.UUID
|
||||
|
||||
@Serializable
|
||||
class AuthDTO(
|
||||
data class AuthDTO(
|
||||
val id: String,
|
||||
val name: String,
|
||||
val createdAt: String
|
||||
)
|
||||
|
||||
@Serializable
|
||||
class NewAuthDTO(
|
||||
data class NewAuthDTO(
|
||||
val name: String,
|
||||
val pin: String,
|
||||
val key: String
|
||||
|
Reference in New Issue
Block a user