@appbaseio/searchbase
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -39,4 +39,4 @@ export type MicStatusField = 'INACTIVE' | 'ACTIVE' | 'DENIED'; | ||
export type BaseConfig = { | ||
index: string; | ||
url: string; | ||
index?: string; | ||
url?: string; | ||
credentials?: string; | ||
@@ -65,23 +65,23 @@ appbaseConfig?: AppbaseSettings; | ||
// called when value changes | ||
onValueChange: (next: string, prev: string) => void; | ||
onValueChange?: (next: string, prev: string) => void; | ||
// called when results change | ||
onResults: (next: string, prev: string) => void; | ||
onResults?: (next: string, prev: string) => void; | ||
// called when composite aggregations change | ||
onAggregationData: (next: Array<Object>, prev: Array<Object>) => void; | ||
onAggregationData?: (next: Array<Object>, prev: Array<Object>) => void; | ||
// called when there is an error while fetching results | ||
onError: (error: any) => void; | ||
onError?: (error: any) => void; | ||
// called when request status changes | ||
onRequestStatusChange: (next: string, prev: string) => void; | ||
onRequestStatusChange?: (next: string, prev: string) => void; | ||
// called when query changes | ||
onQueryChange: (next: string, prev: string) => void; | ||
onQueryChange?: (next: string, prev: string) => void; | ||
// called when mic status changes | ||
onMicStatusChange: (next: string, prev: string) => void; | ||
onMicStatusChange?: (next: string, prev: string) => void; | ||
id: string; | ||
id?: string; | ||
@@ -88,0 +88,0 @@ type?: QueryType; |
{ | ||
"name": "@appbaseio/searchbase", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Headless core + common utilities for search", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
276102