Package-level declarations

Types

Link copied to clipboard
data class DrawState(val stories: Map<Int, DrawStory> = emptyMap(), val focusId: String? = null)

The state of document of the TextEditor of Writeopia. This class has all the stories in their updated state and which one has the current focus.

Link copied to clipboard
data class DrawStory(val storyStep: StoryStep, val isSelected: Boolean)

Class meant to be draw in the screen. It contains both the information of a story step and meta information and the state of the TextEditor like if the message is selected

Link copied to clipboard
sealed class LastEdit

Last edition. This signs how the last edition in the Document was made and it allows the SDK to react properly, for example saving just one line of change instead saving the whole document.

Link copied to clipboard
data class PositionNode(val parentId: String, val position: Int, val nextPosition: PositionNode? = null)
Link copied to clipboard
data class StoryState(val stories: Map<Int, StoryStep>, val lastEdit: LastEdit, val focusId: String? = null)

The state of document of the TextEditor of Writeopia. This class has all the stories in their updated state and which one has the current focus.