From 6ed97d1c19b37b951ae0287401b54ba8989966c5 Mon Sep 17 00:00:00 2001 From: qdequele Date: Wed, 18 Sep 2019 17:04:31 +0200 Subject: [PATCH] chore: re-export UpdateType/DetailedDuration/UpdateStatus --- meilidb-data/src/database/mod.rs | 6 +++++- meilidb-data/src/lib.rs | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/meilidb-data/src/database/mod.rs b/meilidb-data/src/database/mod.rs index b1391ac49..def7885f9 100644 --- a/meilidb-data/src/database/mod.rs +++ b/meilidb-data/src/database/mod.rs @@ -12,7 +12,11 @@ mod update; use crate::CfTree; pub use self::error::Error; -pub use self::index::{Index, CustomSettingsIndex, CommonIndex, RankingOrdering, StopWords, RankingOrder, DistinctField, RankingRules}; +pub use self::index::{ + Index, CustomSettingsIndex, CommonIndex, RankingOrdering, + StopWords, RankingOrder, DistinctField, RankingRules, + UpdateType, DetailedDuration, UpdateStatus +}; pub use self::update::DocumentsAddition; pub use self::update::DocumentsDeletion; diff --git a/meilidb-data/src/lib.rs b/meilidb-data/src/lib.rs index 168311755..32f6a22f4 100644 --- a/meilidb-data/src/lib.rs +++ b/meilidb-data/src/lib.rs @@ -7,7 +7,11 @@ mod ranked_map; mod serde; pub use self::cf_tree::{CfTree, CfIter}; -pub use self::database::{Database, Index, CustomSettingsIndex, RankingOrdering, StopWords, RankingOrder, DistinctField, RankingRules}; +pub use self::database::{ + Database, Index, CustomSettingsIndex, RankingOrdering, + StopWords, RankingOrder, DistinctField, RankingRules, + UpdateType, DetailedDuration, UpdateStatus +}; pub use self::number::Number; pub use self::ranked_map::RankedMap; pub use self::serde::{compute_document_id, extract_document_id, value_to_string};