DocumentEntity

data class DocumentEntity(val id: String, val title: String, val createdAt: Long, val lastUpdatedAt: Long, val userId: String, val favorite: Boolean, val parentId: String, val icon: String? = null)

Constructors

Link copied to clipboard
constructor(id: String, title: String, createdAt: Long, lastUpdatedAt: Long, userId: String, favorite: Boolean, parentId: String, icon: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val icon: String? = null
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun DocumentEntity.toModel(content: Map<Int, StoryStep> = emptyMap()): Document