/*-------------------------------------------------------------------------
 * Copyright (c) Microsoft Corporation.  All rights reserved.
 *
 * documentdb_gateway_core/src/context/mod.rs
 *
 *-------------------------------------------------------------------------
 */

mod connection;
mod cursor;
mod request;
mod service;
mod session;
mod store_key;
mod transaction;

pub use connection::ConnectionContext;
pub use cursor::{Cursor, CursorId, CursorKey, CursorRef, CursorStore, CursorStoreEntry};
pub use request::RequestContext;
pub use service::ServiceContext;
pub use session::{LogicalSessionId, SessionManager};
pub use store_key::StoreKey;
pub(crate) use transaction::transaction_error::map_transaction_error;
pub use transaction::{
    GatewayTransaction, RequestTransactionInfo, TransactionError, TransactionNumber,
    TransactionStore,
};
