mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02:00
type setting struct
This commit is contained in:
parent
998d5ead34
commit
706643dfed
11 changed files with 47 additions and 29 deletions
|
@ -4,7 +4,7 @@ use chrono::{DateTime, Utc};
|
|||
use milli::update::{DocumentAdditionResult, IndexDocumentsMethod, UpdateFormat};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::index::Settings;
|
||||
use crate::index::{Checked, Settings};
|
||||
|
||||
pub type UpdateError = String;
|
||||
|
||||
|
@ -25,7 +25,7 @@ pub enum UpdateMeta {
|
|||
},
|
||||
ClearDocuments,
|
||||
DeleteDocuments,
|
||||
Settings(Settings),
|
||||
Settings(Settings<Checked>),
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue