mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Make it work with the dumps
This commit is contained in:
parent
0b08413c98
commit
29961b8c6b
3 changed files with 7 additions and 2 deletions
|
@ -183,7 +183,7 @@ impl CompatV5ToV6 {
|
|||
.map(|index| match index {
|
||||
v5::StarOr::Star => v6::StarOr::Star,
|
||||
v5::StarOr::Other(uid) => {
|
||||
v6::StarOr::Other(v6::IndexUid::new_unchecked(uid.as_str()))
|
||||
v6::StarOr::Other(v6::IndexUidPattern::new_unchecked(uid.as_str()))
|
||||
}
|
||||
})
|
||||
.collect(),
|
||||
|
|
|
@ -35,7 +35,7 @@ pub type PaginationSettings = meilisearch_types::settings::PaginationSettings;
|
|||
// everything related to the api keys
|
||||
pub type Action = meilisearch_types::keys::Action;
|
||||
pub type StarOr<T> = meilisearch_types::star_or::StarOr<T>;
|
||||
pub type IndexUid = meilisearch_types::index_uid::IndexUid;
|
||||
pub type IndexUidPattern = meilisearch_types::index_uid_pattern::IndexUidPattern;
|
||||
|
||||
// everything related to the errors
|
||||
pub type ResponseError = meilisearch_types::error::ResponseError;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue