mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
remove all warnings
This commit is contained in:
parent
1a20ef2a79
commit
50dfe06efe
14 changed files with 26 additions and 521 deletions
|
@ -19,7 +19,7 @@ use crate::{IndexMetadata, Result, Version};
|
|||
|
||||
use self::meta::{DumpMeta, IndexUuid};
|
||||
|
||||
use super::{compat::v4_to_v5::CompatV4ToV5, DumpReader, IndexReader};
|
||||
use super::compat::v4_to_v5::CompatV4ToV5;
|
||||
|
||||
pub type Document = serde_json::Map<String, serde_json::Value>;
|
||||
pub type Settings<T> = settings::Settings<T>;
|
||||
|
@ -30,21 +30,11 @@ pub type Task = tasks::Task;
|
|||
pub type UpdateFile = File;
|
||||
pub type Key = keys::Key;
|
||||
|
||||
// ===== Other types to clarify the code of the compat module
|
||||
// everything related to the tasks
|
||||
pub type Status = tasks::TaskStatus;
|
||||
pub type Kind = tasks::TaskType;
|
||||
pub type Details = tasks::TaskDetails;
|
||||
|
||||
// everything related to the settings
|
||||
pub type Setting<T> = settings::Setting<T>;
|
||||
pub type TypoTolerance = settings::TypoSettings;
|
||||
pub type MinWordSizeForTypos = settings::MinWordSizeTyposSetting;
|
||||
|
||||
// everything related to the api keys
|
||||
pub type Action = keys::Action;
|
||||
pub type StarOr<T> = meta::StarOr<T>;
|
||||
pub type IndexUid = meta::IndexUid;
|
||||
|
||||
// everything related to the errors
|
||||
pub type ResponseError = errors::ResponseError;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue