saveOnStoryChanges

abstract suspend fun saveOnStoryChanges(documentEditionFlow: Flow<Pair<StoryState, DocumentInfo>>, userId: String)

Saves both the state of the document using StoryState and also the meta information with DocumentInfo. A flow should be provided that notifies about the changes in the document.