@bridgeline-digital/hawksearch-handlebars-ui 5.1.1 → 5.1.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Handlebars from 'handlebars';
|
|
2
|
-
import { ItemType, RecommendationsResponse, SearchRequest, SearchResponse } from '@models';
|
|
2
|
+
import { ItemType, RecommendationsResponse, RequestType, SearchRequest, SearchResponse } from '@models';
|
|
3
3
|
import { AutocompleteService, RecommendationsService, SearchService, TrackingService } from '../services';
|
|
4
4
|
export interface BaseComponentConfig {
|
|
5
5
|
/**
|
|
@@ -433,6 +433,13 @@ export interface HawkSearchConfig {
|
|
|
433
433
|
* `'sort'`
|
|
434
434
|
*/
|
|
435
435
|
sort?: string;
|
|
436
|
+
/**
|
|
437
|
+
* Sets RequestType field to toggle between Keyword search, Image search or Concept search
|
|
438
|
+
*
|
|
439
|
+
* #### Default Value
|
|
440
|
+
* `'DefaultSearch'`
|
|
441
|
+
*/
|
|
442
|
+
requestType?: RequestType;
|
|
436
443
|
};
|
|
437
444
|
/**
|
|
438
445
|
* Whether to automatically URI decode the search query value. Runs recursively until value is fully decoded. For example, `Test%2520Value` would become `Test Value`.
|
|
@@ -448,13 +455,6 @@ export interface HawkSearchConfig {
|
|
|
448
455
|
* `false`
|
|
449
456
|
*/
|
|
450
457
|
decodeFacetValues?: boolean;
|
|
451
|
-
/**
|
|
452
|
-
* Sets RequestType field to toggle ImageSearch or ConceptSearch
|
|
453
|
-
*
|
|
454
|
-
* #### Default Value
|
|
455
|
-
* `['ConceptSearch', 'ImageSearch']`
|
|
456
|
-
*/
|
|
457
|
-
requestType?: string;
|
|
458
458
|
};
|
|
459
459
|
recommendations?: {
|
|
460
460
|
/**
|