net.wiringbits.webapp.utils.ui.web.models

Type members

Classlikes

case class ButtonAction(text: String, onClick: String => Future[_])
Value parameters:
onClick

this callback has the resource ID of the clicked element

text

button label that's going to be displayed in react-admin

case class Column(name: String, `type`: ColumnType, disabled: Boolean)
sealed trait ColumnType extends Product with Serializable
Companion:
object
object ColumnType
Companion:
class
case class DataExplorerSettings(canDelete: Boolean, actions: List[TableAction])
case class TableAction(tableName: String, actions: List[ButtonAction])