mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
start writting the compat layer between v5 and v6
This commit is contained in:
@ -45,13 +45,6 @@ use uuid::Uuid;
|
||||
|
||||
use crate::{IndexMetadata, Result, Version};
|
||||
|
||||
use self::{
|
||||
keys::Key,
|
||||
meta::{DumpMeta, IndexUuid},
|
||||
settings::{Checked, Settings, Unchecked},
|
||||
tasks::Task,
|
||||
};
|
||||
|
||||
use super::{DumpReader, IndexReader};
|
||||
|
||||
mod keys;
|
||||
@ -59,6 +52,14 @@ mod meta;
|
||||
mod settings;
|
||||
mod tasks;
|
||||
|
||||
pub use keys::*;
|
||||
pub use meta::*;
|
||||
pub use settings::*;
|
||||
pub use tasks::*;
|
||||
|
||||
pub type Document = serde_json::Map<String, serde_json::Value>;
|
||||
pub type UpdateFile = File;
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Metadata {
|
||||
|
Reference in New Issue
Block a user