@attraqt/search-commons
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -20,9 +20,2 @@ /* eslint-disable */ | ||
export interface FacetRequestOptions { | ||
/** | ||
* Selected facet to filter by | ||
* TODO: Should be removed after migration to ids | ||
* | ||
* @deprecated | ||
*/ | ||
attribute: string; | ||
/** Values of the facet used for filtering the results */ | ||
@@ -120,5 +113,32 @@ values: string[]; | ||
*/ | ||
variables: { [key: string]: any }; | ||
contextVariables: SearchContext_ContextVariable[]; | ||
} | ||
export interface SearchContext_ContextVariable { | ||
name: string; | ||
value?: SearchContext_ContextVariable_Value; | ||
} | ||
export interface SearchContext_ContextVariable_Value { | ||
stringValue?: string | undefined; | ||
longValue?: number | undefined; | ||
doubleValue?: number | undefined; | ||
boolValue?: boolean | undefined; | ||
dateValue?: | ||
| Date | ||
| undefined; | ||
/** | ||
* Currently the triggering doesn't support other types of lists | ||
* IntList int_list_value = 7; | ||
* FloatList float_list_value = 8; | ||
* BoolList bool_list_value = 9; | ||
* DateList date_list_value = 10; | ||
*/ | ||
stringListValue?: SearchContext_ContextVariable_Value_StringList | undefined; | ||
} | ||
export interface SearchContext_ContextVariable_Value_StringList { | ||
values: string[]; | ||
} | ||
export interface SearchContext_SessionEntry { | ||
@@ -129,7 +149,2 @@ key: string; | ||
export interface SearchContext_VariablesEntry { | ||
key: string; | ||
value?: any; | ||
} | ||
export interface SearchRequest { | ||
@@ -269,8 +284,3 @@ /** Search token, used by the client to authenticate himself */ | ||
id: string; | ||
/** | ||
* Attribute of detected facet | ||
* TODO: Should be removed after migration to ids | ||
* | ||
* @deprecated | ||
*/ | ||
/** Attribute of detected facet */ | ||
attribute: string; | ||
@@ -277,0 +287,0 @@ /** Title (set in XO Console) */ |
{ | ||
"name": "@attraqt/search-commons", | ||
"description": "Typescript generated code for the search API definition", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"author": "technique@attraqt.com", | ||
"types": "index.d.ts" | ||
} |
9601
335