mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
start writting the compat layer between v5 and v6
This commit is contained in:
parent
998b3533f5
commit
4958bf3a55
11 changed files with 909 additions and 38 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue