//! Typesense client library for flora.
pub mod client;
mod model;
pub mod typesense_types;
#[cfg(feature = "serde")]
pub mod wrappers;

#[cfg(feature = "serde")]
pub use wrappers::SearchParametersWrapper;

#[cfg(feature = "client")]
pub use client::{SearchClient, SearchClientConfig, SearchClientError};
pub use model::{Collection, Schema, SearchRecord};

pub use typesense_types::FieldName;
pub use typesense_types::search_parameters::{
    FilterBy, SearchParameters, SortBy, SortByField, SortOrder,
};
pub use typesense_types::search_response::{self, Hit, RequestParams, SearchResponse};
