Type Aliases
The following type aliases are available globally.
-
This can be considered the default
DittoDocument
. Its inner value is of type[String: Any?]
. You can represent any document using this type.Declaration
Swift
public typealias DittoDictionaryDocument = DittoDocument<[String : Any?]>
-
The default type of
DittoLiveQuery
. It will use theDittoDictionaryDocument
type to represent documents when delivering updates.Declaration
Swift
public typealias DittoDictionaryLiveQuery = DittoLiveQuery<[String : Any?]>
-
The default type of
DittoSingleDocumentLiveQuery
. It will use theDittoDictionaryDocument
type to represent the document when delivering updates.Declaration
Swift
public typealias DittoSingleDocumentDictionaryLiveQuery = DittoSingleDocumentLiveQuery<[String : Any?]>