@elastic/search-ui
Advanced tools
Comparing version 1.11.0-canary.0 to 1.11.0
@@ -17,3 +17,3 @@ import URLManager from "./URLManager"; | ||
debug?: boolean; | ||
initialState?: Partial<SearchState>; | ||
initialState?: Partial<RequestState>; | ||
onSearch?: onSearchHook; | ||
@@ -20,0 +20,0 @@ onAutocomplete?: onAutocompleteHook; |
@@ -59,4 +59,3 @@ "use strict"; | ||
onResultClick: jest.fn().mockReturnValue(Promise.resolve(true)), | ||
onAutocompleteResultClick: jest.fn().mockReturnValue(Promise.resolve(true)), | ||
state: {} | ||
onAutocompleteResultClick: jest.fn().mockReturnValue(Promise.resolve(true)) | ||
}; | ||
@@ -63,0 +62,0 @@ } |
@@ -72,2 +72,5 @@ import { SearchDriverActions } from ".."; | ||
}; | ||
export declare type SearchFieldConfiguration = { | ||
weight?: number; | ||
}; | ||
export declare type AutocompleteQueryConfig = { | ||
@@ -96,3 +99,3 @@ results?: QueryConfig; | ||
result_fields?: Record<string, FieldConfiguration>; | ||
search_fields?: Record<string, FieldConfiguration>; | ||
search_fields?: Record<string, SearchFieldConfiguration>; | ||
} & RequestState; | ||
@@ -107,3 +110,3 @@ export declare type AutocompleteSearchQuery = { | ||
onAutocompleteResultClick(params: any): void; | ||
state: any; | ||
state?: any; | ||
actions?: any; | ||
@@ -110,0 +113,0 @@ } |
@@ -17,3 +17,3 @@ import URLManager from "./URLManager"; | ||
debug?: boolean; | ||
initialState?: Partial<SearchState>; | ||
initialState?: Partial<RequestState>; | ||
onSearch?: onSearchHook; | ||
@@ -20,0 +20,0 @@ onAutocomplete?: onAutocompleteHook; |
@@ -53,4 +53,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
onResultClick: jest.fn().mockReturnValue(Promise.resolve(true)), | ||
onAutocompleteResultClick: jest.fn().mockReturnValue(Promise.resolve(true)), | ||
state: {} | ||
onAutocompleteResultClick: jest.fn().mockReturnValue(Promise.resolve(true)) | ||
}; | ||
@@ -57,0 +56,0 @@ } |
@@ -72,2 +72,5 @@ import { SearchDriverActions } from ".."; | ||
}; | ||
export declare type SearchFieldConfiguration = { | ||
weight?: number; | ||
}; | ||
export declare type AutocompleteQueryConfig = { | ||
@@ -96,3 +99,3 @@ results?: QueryConfig; | ||
result_fields?: Record<string, FieldConfiguration>; | ||
search_fields?: Record<string, FieldConfiguration>; | ||
search_fields?: Record<string, SearchFieldConfiguration>; | ||
} & RequestState; | ||
@@ -107,3 +110,3 @@ export declare type AutocompleteSearchQuery = { | ||
onAutocompleteResultClick(params: any): void; | ||
state: any; | ||
state?: any; | ||
actions?: any; | ||
@@ -110,0 +113,0 @@ } |
{ | ||
"name": "@elastic/search-ui", | ||
"version": "1.11.0-canary.0+7fabe6e", | ||
"version": "1.11.0", | ||
"description": "A Headless Search UI library", | ||
@@ -47,3 +47,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "7fabe6e66a2b31ebbe281c6283b6d11a6f8ef9ef" | ||
"gitHead": "ecef03091c26a070ec6c30fe8e37a1c36ab06078" | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
404012
9628
1
0