1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! The prelude contains all common imports when using the `dittolive` crate.

pub use crate::{
    auth::{authenticator::DittoAuthenticator, login_provider::DittoAuthenticationEventHandler},
    disk_usage::DiskUsage,
    ditto::{builder::DittoBuilder, AppId, Ditto, LogLevel, SiteId},
    error::DittoError,
    ffi_sdk::{
        BoxedDitto, BoxedDocument, CLogLevel, COrderByParam, QuerySortDirection,
        StringPrimitiveFormat,
    },
    fs::{DittoRoot, PersistentRoot, TempRoot},
    identity::{
        self, Identity, Manual, OfflinePlayground, OnlinePlayground, OnlineWithAuthentication,
        SharedKey,
    },
    observer::Observer,
    small_peer_info::DittoSmallPeerInfoSyncScope,
    store::{
        collection::{
            document::{DittoDocument, DittoMutDocument},
            document_id::DocumentId,
            pending_cursor_operation::PendingCursorOperation,
            pending_id_specific_operation::PendingIdSpecificOperation,
            Collection,
        },
        collections::{
            event::CollectionsEvent,
            pending_collections_operation::{CollectionsEventHandler, PendingCollectionsOperation},
        },
        ditto_attachment::DittoAttachment,
        ditto_attachment_fetch_event::DittoAttachmentFetchEvent,
        ditto_attachment_fetcher::DittoAttachmentFetcher,
        ditto_attachment_token::DittoAttachmentToken,
        live_query::{
            EventHandler, LiveQuery, LiveQueryEvent, LiveQueryMove, SingleDocumentEventHandler,
            SingleDocumentLiveQueryEvent,
        },
        timeseries::TimeSeries,
        Store, WriteStrategy,
    },
    subscription::Subscription,
    transport::{
        on_connecting::InfoValue,
        presence::Presence,
        presence_observer::{PeersObserver, PresenceObserver},
        HttpListenConfig, TcpListenConfig, TransportConfig,
    },
    types::{DittoCounter, DittoRegister},
};