@nosto/search-js 1.4.1 → 1.5.1
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.
- package/README.md +3 -39
- package/dist/core/core.d.ts +2 -2
- package/dist/core/src/applyDecorators.d.ts +9 -9
- package/dist/core/src/search.d.ts +9 -9
- package/dist/core/src/searchWithRetries.d.ts +2 -2
- package/dist/core/src/types.d.ts +5 -6
- package/dist/currencies/currencies.d.ts +2 -2
- package/dist/currencies/src/getCurrencyFormatting.d.ts +2 -3
- package/dist/currencies/src/priceDecorator.d.ts +2 -2
- package/dist/preact/preact.cjs.js +1 -1
- package/dist/preact/preact.d.ts +24 -5
- package/dist/preact/preact.es.js +741 -100
- package/dist/preact/src/actions/newSearch.d.ts +4 -0
- package/dist/preact/src/actions/replaceFilter.d.ts +3 -0
- package/dist/preact/src/actions/toggleProductFilter.d.ts +2 -0
- package/dist/preact/src/actions/types.d.ts +6 -0
- package/dist/preact/src/actions/updateSearch.d.ts +4 -0
- package/dist/preact/src/api/types.d.ts +4 -0
- package/dist/preact/src/components/SearchInput.d.ts +7 -0
- package/dist/preact/src/components/SerpElement.d.ts +18 -0
- package/dist/preact/src/config/base/baseConfig.d.ts +41 -0
- package/dist/preact/src/config/config.d.ts +4 -0
- package/dist/preact/src/config/configContext.d.ts +6 -0
- package/dist/preact/src/config/pages/autocomplete/config.d.ts +15 -0
- package/dist/preact/src/config/pages/autocomplete/provider.d.ts +10 -0
- package/dist/preact/src/config/pages/category/config.d.ts +44 -0
- package/dist/preact/src/config/pages/category/provider.d.ts +10 -0
- package/dist/preact/src/config/pages/serp/config.d.ts +34 -0
- package/dist/preact/src/config/pages/serp/provider.d.ts +10 -0
- package/dist/preact/src/dom/renderHeadless.d.ts +18 -0
- package/dist/preact/src/dom/utils.d.ts +5 -0
- package/dist/preact/src/hooks/useActions.d.ts +32 -0
- package/dist/preact/src/hooks/useCheckClientScript.d.ts +1 -0
- package/dist/preact/src/hooks/useDecoratedSearchResults.d.ts +27 -0
- package/dist/preact/src/hooks/useFacet.d.ts +60 -0
- package/dist/preact/src/hooks/useFacets.d.ts +39 -0
- package/dist/preact/src/hooks/useNostoAppState.d.ts +1 -1
- package/dist/preact/src/hooks/usePersonalization.d.ts +1 -1
- package/dist/preact/src/hooks/useProductFilters/useProductFilters.d.ts +59 -0
- package/dist/preact/src/hooks/useProductFilters/useProductFiltersUtils.d.ts +48 -0
- package/dist/preact/src/hooks/useRange.d.ts +34 -0
- package/dist/preact/src/hooks/useRangeSelector.d.ts +98 -0
- package/dist/preact/src/hooks/useResponse.d.ts +82 -0
- package/dist/preact/src/hooks/useSelectedFiltersCount.d.ts +17 -0
- package/dist/preact/src/hooks/useSizeOptions.d.ts +50 -0
- package/dist/preact/src/hooks/useSort/useSort.d.ts +47 -0
- package/dist/preact/src/hooks/useSort/utils.d.ts +9 -0
- package/dist/preact/src/search/defaults.d.ts +45 -0
- package/dist/preact/src/search/resultCaching.d.ts +4 -0
- package/dist/preact/src/store.d.ts +9 -1387
- package/dist/preact/src/storeContext.d.ts +5 -1389
- package/dist/preact/src/storeExtensions.d.ts +17 -0
- package/dist/thumbnails/src/generateThumbnailUrl.d.ts +1 -1
- package/dist/thumbnails/src/nostoThumbnailDecorator.d.ts +2 -2
- package/dist/thumbnails/src/shopifyThumbnailDecorator.d.ts +2 -2
- package/dist/thumbnails/src/thumbnailDecorator.d.ts +2 -2
- package/dist/thumbnails/thumbnails.d.ts +5 -5
- package/dist/utils/src/deepFreeze.d.ts +1 -1
- package/dist/utils/src/deepMerge.d.ts +5 -3
- package/dist/utils/src/mergeArrays.d.ts +2 -1
- package/dist/utils/src/parseNumber.d.ts +1 -0
- package/dist/utils/src/performance.d.ts +1 -0
- package/dist/utils/src/savePageScroll.d.ts +2 -0
- package/dist/utils/src/simplify.d.ts +1 -1
- package/dist/utils/src/storage.d.ts +6 -0
- package/dist/utils/src/types.d.ts +3 -0
- package/dist/utils/src/unique.d.ts +1 -0
- package/package.json +22 -15
- package/dist/preact/test/mocks/mocks.d.ts +0 -1384
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SearchQuery, SearchResult } from '@nosto/nosto-js/client';
|
|
2
2
|
/**
|
|
3
3
|
* Preact state includes all changing variables of the app.
|
|
4
4
|
* After each change page is automatically rerendered.
|
|
@@ -13,10 +13,6 @@ export interface State {
|
|
|
13
13
|
* Current search query that includes all user input like search text, filters, sort, page, etc.
|
|
14
14
|
*/
|
|
15
15
|
query: SearchQuery;
|
|
16
|
-
/**
|
|
17
|
-
* Displays which page type it is - category | search
|
|
18
|
-
*/
|
|
19
|
-
pageType: SearchPageType | undefined;
|
|
20
16
|
/**
|
|
21
17
|
* Current search response that includes found products, keywords and other results.
|
|
22
18
|
*/
|
|
@@ -25,1396 +21,22 @@ export interface State {
|
|
|
25
21
|
* Indicates that preact app is initialized.
|
|
26
22
|
*/
|
|
27
23
|
initialized: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Custom params from URL
|
|
30
|
-
*/
|
|
31
|
-
customParams: Record<string, unknown>;
|
|
32
24
|
/**
|
|
33
25
|
* History items
|
|
34
26
|
*/
|
|
35
27
|
historyItems?: string[];
|
|
36
28
|
}
|
|
37
29
|
export declare const defaultState: State;
|
|
38
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Create a standard Nosto store to manage the state of the app.
|
|
32
|
+
*
|
|
33
|
+
* If you use Nosto providers, you don't need to create a store manually.
|
|
34
|
+
* @param overrides Initial state overrides.
|
|
35
|
+
*/
|
|
36
|
+
export declare function createStore(overrides?: Partial<State>): {
|
|
39
37
|
updateState: (newState: Partial<State>) => void;
|
|
40
38
|
getState: () => State;
|
|
41
|
-
getInitialState: () =>
|
|
42
|
-
loading: boolean;
|
|
43
|
-
query: Readonly<{
|
|
44
|
-
explain?: boolean | undefined;
|
|
45
|
-
query?: string | undefined;
|
|
46
|
-
redirect?: string | undefined;
|
|
47
|
-
abTests?: readonly Readonly<{
|
|
48
|
-
id: string;
|
|
49
|
-
activeVariation: Readonly<{
|
|
50
|
-
id: string;
|
|
51
|
-
}>;
|
|
52
|
-
}>[] | undefined;
|
|
53
|
-
accountId?: string | undefined;
|
|
54
|
-
customRules?: readonly Readonly<{
|
|
55
|
-
enabled?: boolean | undefined;
|
|
56
|
-
id: string;
|
|
57
|
-
match?: Readonly<{
|
|
58
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
59
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
60
|
-
everything?: boolean | undefined;
|
|
61
|
-
function?: import("@nosto/nosto-js/client").SearchParamComparisonFunction | undefined;
|
|
62
|
-
not?: Readonly</*elided*/ any> | undefined;
|
|
63
|
-
param?: string | undefined;
|
|
64
|
-
value?: readonly string[] | undefined;
|
|
65
|
-
}> | undefined;
|
|
66
|
-
name?: string | undefined;
|
|
67
|
-
schedule?: readonly Readonly<{
|
|
68
|
-
from?: string | undefined;
|
|
69
|
-
fromTime?: string | undefined;
|
|
70
|
-
timezone?: string | undefined;
|
|
71
|
-
to?: string | undefined;
|
|
72
|
-
toTime?: string | undefined;
|
|
73
|
-
type?: import("@nosto/nosto-js/client").SearchRuleScheduleType | undefined;
|
|
74
|
-
weekDays?: readonly import("@nosto/nosto-js/client").SearchRuleScheduleWeekday[] | undefined;
|
|
75
|
-
}>[] | undefined;
|
|
76
|
-
set?: Readonly<{
|
|
77
|
-
accountId?: string | undefined;
|
|
78
|
-
customRules?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
79
|
-
explain?: boolean | undefined;
|
|
80
|
-
keywords?: Readonly<{
|
|
81
|
-
boost?: readonly Readonly<{
|
|
82
|
-
all?: readonly Readonly<{
|
|
83
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
84
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
85
|
-
field?: string | undefined;
|
|
86
|
-
hasValue?: boolean | undefined;
|
|
87
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
88
|
-
prefix?: readonly string[] | undefined;
|
|
89
|
-
range?: readonly Readonly<{
|
|
90
|
-
gt?: string | undefined;
|
|
91
|
-
gte?: string | undefined;
|
|
92
|
-
lt?: string | undefined;
|
|
93
|
-
lte?: string | undefined;
|
|
94
|
-
}>[] | undefined;
|
|
95
|
-
value?: readonly string[] | undefined;
|
|
96
|
-
}>[] | undefined;
|
|
97
|
-
any?: readonly Readonly<{
|
|
98
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
99
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
100
|
-
field?: string | undefined;
|
|
101
|
-
hasValue?: boolean | undefined;
|
|
102
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
103
|
-
prefix?: readonly string[] | undefined;
|
|
104
|
-
range?: readonly Readonly<{
|
|
105
|
-
gt?: string | undefined;
|
|
106
|
-
gte?: string | undefined;
|
|
107
|
-
lt?: string | undefined;
|
|
108
|
-
lte?: string | undefined;
|
|
109
|
-
}>[] | undefined;
|
|
110
|
-
value?: readonly string[] | undefined;
|
|
111
|
-
}>[] | undefined;
|
|
112
|
-
field?: string | undefined;
|
|
113
|
-
hasValue?: boolean | undefined;
|
|
114
|
-
not?: readonly Readonly<{
|
|
115
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
116
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
117
|
-
field?: string | undefined;
|
|
118
|
-
hasValue?: boolean | undefined;
|
|
119
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
120
|
-
prefix?: readonly string[] | undefined;
|
|
121
|
-
range?: readonly Readonly<{
|
|
122
|
-
gt?: string | undefined;
|
|
123
|
-
gte?: string | undefined;
|
|
124
|
-
lt?: string | undefined;
|
|
125
|
-
lte?: string | undefined;
|
|
126
|
-
}>[] | undefined;
|
|
127
|
-
value?: readonly string[] | undefined;
|
|
128
|
-
}>[] | undefined;
|
|
129
|
-
prefix?: readonly string[] | undefined;
|
|
130
|
-
range?: readonly Readonly<{
|
|
131
|
-
gt?: string | undefined;
|
|
132
|
-
gte?: string | undefined;
|
|
133
|
-
lt?: string | undefined;
|
|
134
|
-
lte?: string | undefined;
|
|
135
|
-
}>[] | undefined;
|
|
136
|
-
value?: readonly string[] | undefined;
|
|
137
|
-
weight: number;
|
|
138
|
-
}>[] | undefined;
|
|
139
|
-
emptyQueryMatchesAll?: boolean | undefined;
|
|
140
|
-
filter?: readonly Readonly<{
|
|
141
|
-
all?: readonly Readonly<{
|
|
142
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
143
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
144
|
-
field?: string | undefined;
|
|
145
|
-
hasValue?: boolean | undefined;
|
|
146
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
147
|
-
prefix?: readonly string[] | undefined;
|
|
148
|
-
range?: readonly Readonly<{
|
|
149
|
-
gt?: string | undefined;
|
|
150
|
-
gte?: string | undefined;
|
|
151
|
-
lt?: string | undefined;
|
|
152
|
-
lte?: string | undefined;
|
|
153
|
-
}>[] | undefined;
|
|
154
|
-
value?: readonly string[] | undefined;
|
|
155
|
-
}>[] | undefined;
|
|
156
|
-
any?: readonly Readonly<{
|
|
157
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
158
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
159
|
-
field?: string | undefined;
|
|
160
|
-
hasValue?: boolean | undefined;
|
|
161
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
162
|
-
prefix?: readonly string[] | undefined;
|
|
163
|
-
range?: readonly Readonly<{
|
|
164
|
-
gt?: string | undefined;
|
|
165
|
-
gte?: string | undefined;
|
|
166
|
-
lt?: string | undefined;
|
|
167
|
-
lte?: string | undefined;
|
|
168
|
-
}>[] | undefined;
|
|
169
|
-
value?: readonly string[] | undefined;
|
|
170
|
-
}>[] | undefined;
|
|
171
|
-
excludeFacets?: readonly string[] | undefined;
|
|
172
|
-
field?: string | undefined;
|
|
173
|
-
hasValue?: boolean | undefined;
|
|
174
|
-
not?: readonly Readonly<{
|
|
175
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
176
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
177
|
-
field?: string | undefined;
|
|
178
|
-
hasValue?: boolean | undefined;
|
|
179
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
180
|
-
prefix?: readonly string[] | undefined;
|
|
181
|
-
range?: readonly Readonly<{
|
|
182
|
-
gt?: string | undefined;
|
|
183
|
-
gte?: string | undefined;
|
|
184
|
-
lt?: string | undefined;
|
|
185
|
-
lte?: string | undefined;
|
|
186
|
-
}>[] | undefined;
|
|
187
|
-
value?: readonly string[] | undefined;
|
|
188
|
-
}>[] | undefined;
|
|
189
|
-
prefix?: readonly string[] | undefined;
|
|
190
|
-
range?: readonly Readonly<{
|
|
191
|
-
gt?: string | undefined;
|
|
192
|
-
gte?: string | undefined;
|
|
193
|
-
lt?: string | undefined;
|
|
194
|
-
lte?: string | undefined;
|
|
195
|
-
}>[] | undefined;
|
|
196
|
-
value?: readonly string[] | undefined;
|
|
197
|
-
}>[] | undefined;
|
|
198
|
-
from?: number | undefined;
|
|
199
|
-
highlight?: Readonly<{
|
|
200
|
-
postTag: string;
|
|
201
|
-
preTag: string;
|
|
202
|
-
}> | undefined;
|
|
203
|
-
size?: number | undefined;
|
|
204
|
-
sort?: readonly Readonly<{
|
|
205
|
-
field: string;
|
|
206
|
-
order: import("@nosto/nosto-js/client").SearchSortOrder;
|
|
207
|
-
}>[] | undefined;
|
|
208
|
-
}> | undefined;
|
|
209
|
-
products?: Readonly<{
|
|
210
|
-
boost?: readonly Readonly<{
|
|
211
|
-
all?: readonly Readonly<{
|
|
212
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
213
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
214
|
-
field?: string | undefined;
|
|
215
|
-
hasValue?: boolean | undefined;
|
|
216
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
217
|
-
prefix?: readonly string[] | undefined;
|
|
218
|
-
range?: readonly Readonly<{
|
|
219
|
-
gt?: string | undefined;
|
|
220
|
-
gte?: string | undefined;
|
|
221
|
-
lt?: string | undefined;
|
|
222
|
-
lte?: string | undefined;
|
|
223
|
-
}>[] | undefined;
|
|
224
|
-
value?: readonly string[] | undefined;
|
|
225
|
-
}>[] | undefined;
|
|
226
|
-
any?: readonly Readonly<{
|
|
227
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
228
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
229
|
-
field?: string | undefined;
|
|
230
|
-
hasValue?: boolean | undefined;
|
|
231
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
232
|
-
prefix?: readonly string[] | undefined;
|
|
233
|
-
range?: readonly Readonly<{
|
|
234
|
-
gt?: string | undefined;
|
|
235
|
-
gte?: string | undefined;
|
|
236
|
-
lt?: string | undefined;
|
|
237
|
-
lte?: string | undefined;
|
|
238
|
-
}>[] | undefined;
|
|
239
|
-
value?: readonly string[] | undefined;
|
|
240
|
-
}>[] | undefined;
|
|
241
|
-
field?: string | undefined;
|
|
242
|
-
hasValue?: boolean | undefined;
|
|
243
|
-
not?: readonly Readonly<{
|
|
244
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
245
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
246
|
-
field?: string | undefined;
|
|
247
|
-
hasValue?: boolean | undefined;
|
|
248
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
249
|
-
prefix?: readonly string[] | undefined;
|
|
250
|
-
range?: readonly Readonly<{
|
|
251
|
-
gt?: string | undefined;
|
|
252
|
-
gte?: string | undefined;
|
|
253
|
-
lt?: string | undefined;
|
|
254
|
-
lte?: string | undefined;
|
|
255
|
-
}>[] | undefined;
|
|
256
|
-
value?: readonly string[] | undefined;
|
|
257
|
-
}>[] | undefined;
|
|
258
|
-
prefix?: readonly string[] | undefined;
|
|
259
|
-
range?: readonly Readonly<{
|
|
260
|
-
gt?: string | undefined;
|
|
261
|
-
gte?: string | undefined;
|
|
262
|
-
lt?: string | undefined;
|
|
263
|
-
lte?: string | undefined;
|
|
264
|
-
}>[] | undefined;
|
|
265
|
-
value?: readonly string[] | undefined;
|
|
266
|
-
weight: number;
|
|
267
|
-
}>[] | undefined;
|
|
268
|
-
categoryId?: string | undefined;
|
|
269
|
-
categoryPath?: string | undefined;
|
|
270
|
-
collapse?: string | undefined;
|
|
271
|
-
customFacets?: readonly Readonly<{
|
|
272
|
-
enabled?: boolean | undefined;
|
|
273
|
-
field?: string | undefined;
|
|
274
|
-
id: string;
|
|
275
|
-
infix?: readonly string[] | undefined;
|
|
276
|
-
name?: string | undefined;
|
|
277
|
-
order?: import("@nosto/nosto-js/client").SearchFacetOrder | undefined;
|
|
278
|
-
position?: number | undefined;
|
|
279
|
-
prefix?: readonly string[] | undefined;
|
|
280
|
-
size?: number | undefined;
|
|
281
|
-
type?: import("@nosto/nosto-js/client").SearchFacetType | undefined;
|
|
282
|
-
}>[] | undefined;
|
|
283
|
-
emptyQueryMatchesAll?: boolean | undefined;
|
|
284
|
-
exclusionBehaviour?: import("@nosto/nosto-js/client").SearchExclusionBehaviour | undefined;
|
|
285
|
-
facets?: readonly string[] | undefined;
|
|
286
|
-
filter?: readonly Readonly<{
|
|
287
|
-
all?: readonly Readonly<{
|
|
288
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
289
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
290
|
-
field?: string | undefined;
|
|
291
|
-
hasValue?: boolean | undefined;
|
|
292
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
293
|
-
prefix?: readonly string[] | undefined;
|
|
294
|
-
range?: readonly Readonly<{
|
|
295
|
-
gt?: string | undefined;
|
|
296
|
-
gte?: string | undefined;
|
|
297
|
-
lt?: string | undefined;
|
|
298
|
-
lte?: string | undefined;
|
|
299
|
-
}>[] | undefined;
|
|
300
|
-
value?: readonly string[] | undefined;
|
|
301
|
-
}>[] | undefined;
|
|
302
|
-
any?: readonly Readonly<{
|
|
303
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
304
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
305
|
-
field?: string | undefined;
|
|
306
|
-
hasValue?: boolean | undefined;
|
|
307
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
308
|
-
prefix?: readonly string[] | undefined;
|
|
309
|
-
range?: readonly Readonly<{
|
|
310
|
-
gt?: string | undefined;
|
|
311
|
-
gte?: string | undefined;
|
|
312
|
-
lt?: string | undefined;
|
|
313
|
-
lte?: string | undefined;
|
|
314
|
-
}>[] | undefined;
|
|
315
|
-
value?: readonly string[] | undefined;
|
|
316
|
-
}>[] | undefined;
|
|
317
|
-
excludeFacets?: readonly string[] | undefined;
|
|
318
|
-
field?: string | undefined;
|
|
319
|
-
hasValue?: boolean | undefined;
|
|
320
|
-
not?: readonly Readonly<{
|
|
321
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
322
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
323
|
-
field?: string | undefined;
|
|
324
|
-
hasValue?: boolean | undefined;
|
|
325
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
326
|
-
prefix?: readonly string[] | undefined;
|
|
327
|
-
range?: readonly Readonly<{
|
|
328
|
-
gt?: string | undefined;
|
|
329
|
-
gte?: string | undefined;
|
|
330
|
-
lt?: string | undefined;
|
|
331
|
-
lte?: string | undefined;
|
|
332
|
-
}>[] | undefined;
|
|
333
|
-
value?: readonly string[] | undefined;
|
|
334
|
-
}>[] | undefined;
|
|
335
|
-
prefix?: readonly string[] | undefined;
|
|
336
|
-
range?: readonly Readonly<{
|
|
337
|
-
gt?: string | undefined;
|
|
338
|
-
gte?: string | undefined;
|
|
339
|
-
lt?: string | undefined;
|
|
340
|
-
lte?: string | undefined;
|
|
341
|
-
}>[] | undefined;
|
|
342
|
-
value?: readonly string[] | undefined;
|
|
343
|
-
}>[] | undefined;
|
|
344
|
-
from?: number | undefined;
|
|
345
|
-
outOfStockBehaviour?: import("@nosto/nosto-js/client").SearchOutOfStockBehaviour | undefined;
|
|
346
|
-
personalizationBoost?: readonly Readonly<{
|
|
347
|
-
all?: readonly Readonly<{
|
|
348
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
349
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
350
|
-
field?: string | undefined;
|
|
351
|
-
hasValue?: boolean | undefined;
|
|
352
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
353
|
-
prefix?: readonly string[] | undefined;
|
|
354
|
-
range?: readonly Readonly<{
|
|
355
|
-
gt?: string | undefined;
|
|
356
|
-
gte?: string | undefined;
|
|
357
|
-
lt?: string | undefined;
|
|
358
|
-
lte?: string | undefined;
|
|
359
|
-
}>[] | undefined;
|
|
360
|
-
value?: readonly string[] | undefined;
|
|
361
|
-
}>[] | undefined;
|
|
362
|
-
any?: readonly Readonly<{
|
|
363
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
364
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
365
|
-
field?: string | undefined;
|
|
366
|
-
hasValue?: boolean | undefined;
|
|
367
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
368
|
-
prefix?: readonly string[] | undefined;
|
|
369
|
-
range?: readonly Readonly<{
|
|
370
|
-
gt?: string | undefined;
|
|
371
|
-
gte?: string | undefined;
|
|
372
|
-
lt?: string | undefined;
|
|
373
|
-
lte?: string | undefined;
|
|
374
|
-
}>[] | undefined;
|
|
375
|
-
value?: readonly string[] | undefined;
|
|
376
|
-
}>[] | undefined;
|
|
377
|
-
field?: string | undefined;
|
|
378
|
-
hasValue?: boolean | undefined;
|
|
379
|
-
not?: readonly Readonly<{
|
|
380
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
381
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
382
|
-
field?: string | undefined;
|
|
383
|
-
hasValue?: boolean | undefined;
|
|
384
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
385
|
-
prefix?: readonly string[] | undefined;
|
|
386
|
-
range?: readonly Readonly<{
|
|
387
|
-
gt?: string | undefined;
|
|
388
|
-
gte?: string | undefined;
|
|
389
|
-
lt?: string | undefined;
|
|
390
|
-
lte?: string | undefined;
|
|
391
|
-
}>[] | undefined;
|
|
392
|
-
value?: readonly string[] | undefined;
|
|
393
|
-
}>[] | undefined;
|
|
394
|
-
prefix?: readonly string[] | undefined;
|
|
395
|
-
range?: readonly Readonly<{
|
|
396
|
-
gt?: string | undefined;
|
|
397
|
-
gte?: string | undefined;
|
|
398
|
-
lt?: string | undefined;
|
|
399
|
-
lte?: string | undefined;
|
|
400
|
-
}>[] | undefined;
|
|
401
|
-
value?: readonly string[] | undefined;
|
|
402
|
-
weight: number;
|
|
403
|
-
}>[] | undefined;
|
|
404
|
-
personalizationWeight?: number | undefined;
|
|
405
|
-
pin?: readonly Readonly<{
|
|
406
|
-
field?: string | undefined;
|
|
407
|
-
position: number;
|
|
408
|
-
value: readonly string[];
|
|
409
|
-
}>[] | undefined;
|
|
410
|
-
preFilter?: readonly Readonly<{
|
|
411
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
412
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
413
|
-
field?: string | undefined;
|
|
414
|
-
hasValue?: boolean | undefined;
|
|
415
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
416
|
-
prefix?: readonly string[] | undefined;
|
|
417
|
-
range?: readonly Readonly<{
|
|
418
|
-
gt?: string | undefined;
|
|
419
|
-
gte?: string | undefined;
|
|
420
|
-
lt?: string | undefined;
|
|
421
|
-
lte?: string | undefined;
|
|
422
|
-
}>[] | undefined;
|
|
423
|
-
value?: readonly string[] | undefined;
|
|
424
|
-
}>[] | undefined;
|
|
425
|
-
queryFields?: readonly import("@nosto/nosto-js/client").SearchQueryField[] | undefined;
|
|
426
|
-
relevanceWeight?: number | undefined;
|
|
427
|
-
showPrivateFields?: boolean | undefined;
|
|
428
|
-
size?: number | undefined;
|
|
429
|
-
sort?: readonly Readonly<{
|
|
430
|
-
field: string;
|
|
431
|
-
order: import("@nosto/nosto-js/client").SearchSortOrder;
|
|
432
|
-
}>[] | undefined;
|
|
433
|
-
variationId?: string | undefined;
|
|
434
|
-
}> | undefined;
|
|
435
|
-
query?: string | undefined;
|
|
436
|
-
redirect?: string | undefined;
|
|
437
|
-
rules?: readonly string[] | undefined;
|
|
438
|
-
segments?: readonly string[] | undefined;
|
|
439
|
-
sessionParams?: Readonly</*elided*/ any> | undefined;
|
|
440
|
-
abTests?: readonly Readonly<{
|
|
441
|
-
id: string;
|
|
442
|
-
activeVariation: Readonly<{
|
|
443
|
-
id: string;
|
|
444
|
-
}>;
|
|
445
|
-
}>[] | undefined;
|
|
446
|
-
time?: number | undefined;
|
|
447
|
-
}> | undefined;
|
|
448
|
-
}>[] | undefined;
|
|
449
|
-
rules?: readonly string[] | undefined;
|
|
450
|
-
segments?: readonly string[] | undefined;
|
|
451
|
-
sessionParams?: Readonly<{
|
|
452
|
-
accountId?: string | undefined;
|
|
453
|
-
customRules?: readonly Readonly<{
|
|
454
|
-
enabled?: boolean | undefined;
|
|
455
|
-
id: string;
|
|
456
|
-
match?: Readonly<{
|
|
457
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
458
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
459
|
-
everything?: boolean | undefined;
|
|
460
|
-
function?: import("@nosto/nosto-js/client").SearchParamComparisonFunction | undefined;
|
|
461
|
-
not?: Readonly</*elided*/ any> | undefined;
|
|
462
|
-
param?: string | undefined;
|
|
463
|
-
value?: readonly string[] | undefined;
|
|
464
|
-
}> | undefined;
|
|
465
|
-
name?: string | undefined;
|
|
466
|
-
schedule?: readonly Readonly<{
|
|
467
|
-
from?: string | undefined;
|
|
468
|
-
fromTime?: string | undefined;
|
|
469
|
-
timezone?: string | undefined;
|
|
470
|
-
to?: string | undefined;
|
|
471
|
-
toTime?: string | undefined;
|
|
472
|
-
type?: import("@nosto/nosto-js/client").SearchRuleScheduleType | undefined;
|
|
473
|
-
weekDays?: readonly import("@nosto/nosto-js/client").SearchRuleScheduleWeekday[] | undefined;
|
|
474
|
-
}>[] | undefined;
|
|
475
|
-
set?: Readonly</*elided*/ any> | undefined;
|
|
476
|
-
}>[] | undefined;
|
|
477
|
-
explain?: boolean | undefined;
|
|
478
|
-
keywords?: Readonly<{
|
|
479
|
-
boost?: readonly Readonly<{
|
|
480
|
-
all?: readonly Readonly<{
|
|
481
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
482
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
483
|
-
field?: string | undefined;
|
|
484
|
-
hasValue?: boolean | undefined;
|
|
485
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
486
|
-
prefix?: readonly string[] | undefined;
|
|
487
|
-
range?: readonly Readonly<{
|
|
488
|
-
gt?: string | undefined;
|
|
489
|
-
gte?: string | undefined;
|
|
490
|
-
lt?: string | undefined;
|
|
491
|
-
lte?: string | undefined;
|
|
492
|
-
}>[] | undefined;
|
|
493
|
-
value?: readonly string[] | undefined;
|
|
494
|
-
}>[] | undefined;
|
|
495
|
-
any?: readonly Readonly<{
|
|
496
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
497
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
498
|
-
field?: string | undefined;
|
|
499
|
-
hasValue?: boolean | undefined;
|
|
500
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
501
|
-
prefix?: readonly string[] | undefined;
|
|
502
|
-
range?: readonly Readonly<{
|
|
503
|
-
gt?: string | undefined;
|
|
504
|
-
gte?: string | undefined;
|
|
505
|
-
lt?: string | undefined;
|
|
506
|
-
lte?: string | undefined;
|
|
507
|
-
}>[] | undefined;
|
|
508
|
-
value?: readonly string[] | undefined;
|
|
509
|
-
}>[] | undefined;
|
|
510
|
-
field?: string | undefined;
|
|
511
|
-
hasValue?: boolean | undefined;
|
|
512
|
-
not?: readonly Readonly<{
|
|
513
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
514
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
515
|
-
field?: string | undefined;
|
|
516
|
-
hasValue?: boolean | undefined;
|
|
517
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
518
|
-
prefix?: readonly string[] | undefined;
|
|
519
|
-
range?: readonly Readonly<{
|
|
520
|
-
gt?: string | undefined;
|
|
521
|
-
gte?: string | undefined;
|
|
522
|
-
lt?: string | undefined;
|
|
523
|
-
lte?: string | undefined;
|
|
524
|
-
}>[] | undefined;
|
|
525
|
-
value?: readonly string[] | undefined;
|
|
526
|
-
}>[] | undefined;
|
|
527
|
-
prefix?: readonly string[] | undefined;
|
|
528
|
-
range?: readonly Readonly<{
|
|
529
|
-
gt?: string | undefined;
|
|
530
|
-
gte?: string | undefined;
|
|
531
|
-
lt?: string | undefined;
|
|
532
|
-
lte?: string | undefined;
|
|
533
|
-
}>[] | undefined;
|
|
534
|
-
value?: readonly string[] | undefined;
|
|
535
|
-
weight: number;
|
|
536
|
-
}>[] | undefined;
|
|
537
|
-
emptyQueryMatchesAll?: boolean | undefined;
|
|
538
|
-
filter?: readonly Readonly<{
|
|
539
|
-
all?: readonly Readonly<{
|
|
540
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
541
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
542
|
-
field?: string | undefined;
|
|
543
|
-
hasValue?: boolean | undefined;
|
|
544
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
545
|
-
prefix?: readonly string[] | undefined;
|
|
546
|
-
range?: readonly Readonly<{
|
|
547
|
-
gt?: string | undefined;
|
|
548
|
-
gte?: string | undefined;
|
|
549
|
-
lt?: string | undefined;
|
|
550
|
-
lte?: string | undefined;
|
|
551
|
-
}>[] | undefined;
|
|
552
|
-
value?: readonly string[] | undefined;
|
|
553
|
-
}>[] | undefined;
|
|
554
|
-
any?: readonly Readonly<{
|
|
555
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
556
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
557
|
-
field?: string | undefined;
|
|
558
|
-
hasValue?: boolean | undefined;
|
|
559
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
560
|
-
prefix?: readonly string[] | undefined;
|
|
561
|
-
range?: readonly Readonly<{
|
|
562
|
-
gt?: string | undefined;
|
|
563
|
-
gte?: string | undefined;
|
|
564
|
-
lt?: string | undefined;
|
|
565
|
-
lte?: string | undefined;
|
|
566
|
-
}>[] | undefined;
|
|
567
|
-
value?: readonly string[] | undefined;
|
|
568
|
-
}>[] | undefined;
|
|
569
|
-
excludeFacets?: readonly string[] | undefined;
|
|
570
|
-
field?: string | undefined;
|
|
571
|
-
hasValue?: boolean | undefined;
|
|
572
|
-
not?: readonly Readonly<{
|
|
573
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
574
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
575
|
-
field?: string | undefined;
|
|
576
|
-
hasValue?: boolean | undefined;
|
|
577
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
578
|
-
prefix?: readonly string[] | undefined;
|
|
579
|
-
range?: readonly Readonly<{
|
|
580
|
-
gt?: string | undefined;
|
|
581
|
-
gte?: string | undefined;
|
|
582
|
-
lt?: string | undefined;
|
|
583
|
-
lte?: string | undefined;
|
|
584
|
-
}>[] | undefined;
|
|
585
|
-
value?: readonly string[] | undefined;
|
|
586
|
-
}>[] | undefined;
|
|
587
|
-
prefix?: readonly string[] | undefined;
|
|
588
|
-
range?: readonly Readonly<{
|
|
589
|
-
gt?: string | undefined;
|
|
590
|
-
gte?: string | undefined;
|
|
591
|
-
lt?: string | undefined;
|
|
592
|
-
lte?: string | undefined;
|
|
593
|
-
}>[] | undefined;
|
|
594
|
-
value?: readonly string[] | undefined;
|
|
595
|
-
}>[] | undefined;
|
|
596
|
-
from?: number | undefined;
|
|
597
|
-
highlight?: Readonly<{
|
|
598
|
-
postTag: string;
|
|
599
|
-
preTag: string;
|
|
600
|
-
}> | undefined;
|
|
601
|
-
size?: number | undefined;
|
|
602
|
-
sort?: readonly Readonly<{
|
|
603
|
-
field: string;
|
|
604
|
-
order: import("@nosto/nosto-js/client").SearchSortOrder;
|
|
605
|
-
}>[] | undefined;
|
|
606
|
-
}> | undefined;
|
|
607
|
-
products?: Readonly<{
|
|
608
|
-
boost?: readonly Readonly<{
|
|
609
|
-
all?: readonly Readonly<{
|
|
610
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
611
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
612
|
-
field?: string | undefined;
|
|
613
|
-
hasValue?: boolean | undefined;
|
|
614
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
615
|
-
prefix?: readonly string[] | undefined;
|
|
616
|
-
range?: readonly Readonly<{
|
|
617
|
-
gt?: string | undefined;
|
|
618
|
-
gte?: string | undefined;
|
|
619
|
-
lt?: string | undefined;
|
|
620
|
-
lte?: string | undefined;
|
|
621
|
-
}>[] | undefined;
|
|
622
|
-
value?: readonly string[] | undefined;
|
|
623
|
-
}>[] | undefined;
|
|
624
|
-
any?: readonly Readonly<{
|
|
625
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
626
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
627
|
-
field?: string | undefined;
|
|
628
|
-
hasValue?: boolean | undefined;
|
|
629
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
630
|
-
prefix?: readonly string[] | undefined;
|
|
631
|
-
range?: readonly Readonly<{
|
|
632
|
-
gt?: string | undefined;
|
|
633
|
-
gte?: string | undefined;
|
|
634
|
-
lt?: string | undefined;
|
|
635
|
-
lte?: string | undefined;
|
|
636
|
-
}>[] | undefined;
|
|
637
|
-
value?: readonly string[] | undefined;
|
|
638
|
-
}>[] | undefined;
|
|
639
|
-
field?: string | undefined;
|
|
640
|
-
hasValue?: boolean | undefined;
|
|
641
|
-
not?: readonly Readonly<{
|
|
642
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
643
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
644
|
-
field?: string | undefined;
|
|
645
|
-
hasValue?: boolean | undefined;
|
|
646
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
647
|
-
prefix?: readonly string[] | undefined;
|
|
648
|
-
range?: readonly Readonly<{
|
|
649
|
-
gt?: string | undefined;
|
|
650
|
-
gte?: string | undefined;
|
|
651
|
-
lt?: string | undefined;
|
|
652
|
-
lte?: string | undefined;
|
|
653
|
-
}>[] | undefined;
|
|
654
|
-
value?: readonly string[] | undefined;
|
|
655
|
-
}>[] | undefined;
|
|
656
|
-
prefix?: readonly string[] | undefined;
|
|
657
|
-
range?: readonly Readonly<{
|
|
658
|
-
gt?: string | undefined;
|
|
659
|
-
gte?: string | undefined;
|
|
660
|
-
lt?: string | undefined;
|
|
661
|
-
lte?: string | undefined;
|
|
662
|
-
}>[] | undefined;
|
|
663
|
-
value?: readonly string[] | undefined;
|
|
664
|
-
weight: number;
|
|
665
|
-
}>[] | undefined;
|
|
666
|
-
categoryId?: string | undefined;
|
|
667
|
-
categoryPath?: string | undefined;
|
|
668
|
-
collapse?: string | undefined;
|
|
669
|
-
customFacets?: readonly Readonly<{
|
|
670
|
-
enabled?: boolean | undefined;
|
|
671
|
-
field?: string | undefined;
|
|
672
|
-
id: string;
|
|
673
|
-
infix?: readonly string[] | undefined;
|
|
674
|
-
name?: string | undefined;
|
|
675
|
-
order?: import("@nosto/nosto-js/client").SearchFacetOrder | undefined;
|
|
676
|
-
position?: number | undefined;
|
|
677
|
-
prefix?: readonly string[] | undefined;
|
|
678
|
-
size?: number | undefined;
|
|
679
|
-
type?: import("@nosto/nosto-js/client").SearchFacetType | undefined;
|
|
680
|
-
}>[] | undefined;
|
|
681
|
-
emptyQueryMatchesAll?: boolean | undefined;
|
|
682
|
-
exclusionBehaviour?: import("@nosto/nosto-js/client").SearchExclusionBehaviour | undefined;
|
|
683
|
-
facets?: readonly string[] | undefined;
|
|
684
|
-
filter?: readonly Readonly<{
|
|
685
|
-
all?: readonly Readonly<{
|
|
686
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
687
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
688
|
-
field?: string | undefined;
|
|
689
|
-
hasValue?: boolean | undefined;
|
|
690
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
691
|
-
prefix?: readonly string[] | undefined;
|
|
692
|
-
range?: readonly Readonly<{
|
|
693
|
-
gt?: string | undefined;
|
|
694
|
-
gte?: string | undefined;
|
|
695
|
-
lt?: string | undefined;
|
|
696
|
-
lte?: string | undefined;
|
|
697
|
-
}>[] | undefined;
|
|
698
|
-
value?: readonly string[] | undefined;
|
|
699
|
-
}>[] | undefined;
|
|
700
|
-
any?: readonly Readonly<{
|
|
701
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
702
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
703
|
-
field?: string | undefined;
|
|
704
|
-
hasValue?: boolean | undefined;
|
|
705
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
706
|
-
prefix?: readonly string[] | undefined;
|
|
707
|
-
range?: readonly Readonly<{
|
|
708
|
-
gt?: string | undefined;
|
|
709
|
-
gte?: string | undefined;
|
|
710
|
-
lt?: string | undefined;
|
|
711
|
-
lte?: string | undefined;
|
|
712
|
-
}>[] | undefined;
|
|
713
|
-
value?: readonly string[] | undefined;
|
|
714
|
-
}>[] | undefined;
|
|
715
|
-
excludeFacets?: readonly string[] | undefined;
|
|
716
|
-
field?: string | undefined;
|
|
717
|
-
hasValue?: boolean | undefined;
|
|
718
|
-
not?: readonly Readonly<{
|
|
719
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
720
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
721
|
-
field?: string | undefined;
|
|
722
|
-
hasValue?: boolean | undefined;
|
|
723
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
724
|
-
prefix?: readonly string[] | undefined;
|
|
725
|
-
range?: readonly Readonly<{
|
|
726
|
-
gt?: string | undefined;
|
|
727
|
-
gte?: string | undefined;
|
|
728
|
-
lt?: string | undefined;
|
|
729
|
-
lte?: string | undefined;
|
|
730
|
-
}>[] | undefined;
|
|
731
|
-
value?: readonly string[] | undefined;
|
|
732
|
-
}>[] | undefined;
|
|
733
|
-
prefix?: readonly string[] | undefined;
|
|
734
|
-
range?: readonly Readonly<{
|
|
735
|
-
gt?: string | undefined;
|
|
736
|
-
gte?: string | undefined;
|
|
737
|
-
lt?: string | undefined;
|
|
738
|
-
lte?: string | undefined;
|
|
739
|
-
}>[] | undefined;
|
|
740
|
-
value?: readonly string[] | undefined;
|
|
741
|
-
}>[] | undefined;
|
|
742
|
-
from?: number | undefined;
|
|
743
|
-
outOfStockBehaviour?: import("@nosto/nosto-js/client").SearchOutOfStockBehaviour | undefined;
|
|
744
|
-
personalizationBoost?: readonly Readonly<{
|
|
745
|
-
all?: readonly Readonly<{
|
|
746
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
747
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
748
|
-
field?: string | undefined;
|
|
749
|
-
hasValue?: boolean | undefined;
|
|
750
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
751
|
-
prefix?: readonly string[] | undefined;
|
|
752
|
-
range?: readonly Readonly<{
|
|
753
|
-
gt?: string | undefined;
|
|
754
|
-
gte?: string | undefined;
|
|
755
|
-
lt?: string | undefined;
|
|
756
|
-
lte?: string | undefined;
|
|
757
|
-
}>[] | undefined;
|
|
758
|
-
value?: readonly string[] | undefined;
|
|
759
|
-
}>[] | undefined;
|
|
760
|
-
any?: readonly Readonly<{
|
|
761
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
762
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
763
|
-
field?: string | undefined;
|
|
764
|
-
hasValue?: boolean | undefined;
|
|
765
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
766
|
-
prefix?: readonly string[] | undefined;
|
|
767
|
-
range?: readonly Readonly<{
|
|
768
|
-
gt?: string | undefined;
|
|
769
|
-
gte?: string | undefined;
|
|
770
|
-
lt?: string | undefined;
|
|
771
|
-
lte?: string | undefined;
|
|
772
|
-
}>[] | undefined;
|
|
773
|
-
value?: readonly string[] | undefined;
|
|
774
|
-
}>[] | undefined;
|
|
775
|
-
field?: string | undefined;
|
|
776
|
-
hasValue?: boolean | undefined;
|
|
777
|
-
not?: readonly Readonly<{
|
|
778
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
779
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
780
|
-
field?: string | undefined;
|
|
781
|
-
hasValue?: boolean | undefined;
|
|
782
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
783
|
-
prefix?: readonly string[] | undefined;
|
|
784
|
-
range?: readonly Readonly<{
|
|
785
|
-
gt?: string | undefined;
|
|
786
|
-
gte?: string | undefined;
|
|
787
|
-
lt?: string | undefined;
|
|
788
|
-
lte?: string | undefined;
|
|
789
|
-
}>[] | undefined;
|
|
790
|
-
value?: readonly string[] | undefined;
|
|
791
|
-
}>[] | undefined;
|
|
792
|
-
prefix?: readonly string[] | undefined;
|
|
793
|
-
range?: readonly Readonly<{
|
|
794
|
-
gt?: string | undefined;
|
|
795
|
-
gte?: string | undefined;
|
|
796
|
-
lt?: string | undefined;
|
|
797
|
-
lte?: string | undefined;
|
|
798
|
-
}>[] | undefined;
|
|
799
|
-
value?: readonly string[] | undefined;
|
|
800
|
-
weight: number;
|
|
801
|
-
}>[] | undefined;
|
|
802
|
-
personalizationWeight?: number | undefined;
|
|
803
|
-
pin?: readonly Readonly<{
|
|
804
|
-
field?: string | undefined;
|
|
805
|
-
position: number;
|
|
806
|
-
value: readonly string[];
|
|
807
|
-
}>[] | undefined;
|
|
808
|
-
preFilter?: readonly Readonly<{
|
|
809
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
810
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
811
|
-
field?: string | undefined;
|
|
812
|
-
hasValue?: boolean | undefined;
|
|
813
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
814
|
-
prefix?: readonly string[] | undefined;
|
|
815
|
-
range?: readonly Readonly<{
|
|
816
|
-
gt?: string | undefined;
|
|
817
|
-
gte?: string | undefined;
|
|
818
|
-
lt?: string | undefined;
|
|
819
|
-
lte?: string | undefined;
|
|
820
|
-
}>[] | undefined;
|
|
821
|
-
value?: readonly string[] | undefined;
|
|
822
|
-
}>[] | undefined;
|
|
823
|
-
queryFields?: readonly import("@nosto/nosto-js/client").SearchQueryField[] | undefined;
|
|
824
|
-
relevanceWeight?: number | undefined;
|
|
825
|
-
showPrivateFields?: boolean | undefined;
|
|
826
|
-
size?: number | undefined;
|
|
827
|
-
sort?: readonly Readonly<{
|
|
828
|
-
field: string;
|
|
829
|
-
order: import("@nosto/nosto-js/client").SearchSortOrder;
|
|
830
|
-
}>[] | undefined;
|
|
831
|
-
variationId?: string | undefined;
|
|
832
|
-
}> | undefined;
|
|
833
|
-
query?: string | undefined;
|
|
834
|
-
redirect?: string | undefined;
|
|
835
|
-
rules?: readonly string[] | undefined;
|
|
836
|
-
segments?: readonly string[] | undefined;
|
|
837
|
-
sessionParams?: Readonly</*elided*/ any> | undefined;
|
|
838
|
-
abTests?: readonly Readonly<{
|
|
839
|
-
id: string;
|
|
840
|
-
activeVariation: Readonly<{
|
|
841
|
-
id: string;
|
|
842
|
-
}>;
|
|
843
|
-
}>[] | undefined;
|
|
844
|
-
time?: number | undefined;
|
|
845
|
-
}> | undefined;
|
|
846
|
-
time?: number | undefined;
|
|
847
|
-
keywords?: Readonly<{
|
|
848
|
-
boost?: readonly Readonly<{
|
|
849
|
-
all?: readonly Readonly<{
|
|
850
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
851
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
852
|
-
field?: string | undefined;
|
|
853
|
-
hasValue?: boolean | undefined;
|
|
854
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
855
|
-
prefix?: readonly string[] | undefined;
|
|
856
|
-
range?: readonly Readonly<{
|
|
857
|
-
gt?: string | undefined;
|
|
858
|
-
gte?: string | undefined;
|
|
859
|
-
lt?: string | undefined;
|
|
860
|
-
lte?: string | undefined;
|
|
861
|
-
}>[] | undefined;
|
|
862
|
-
value?: readonly string[] | undefined;
|
|
863
|
-
}>[] | undefined;
|
|
864
|
-
any?: readonly Readonly<{
|
|
865
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
866
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
867
|
-
field?: string | undefined;
|
|
868
|
-
hasValue?: boolean | undefined;
|
|
869
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
870
|
-
prefix?: readonly string[] | undefined;
|
|
871
|
-
range?: readonly Readonly<{
|
|
872
|
-
gt?: string | undefined;
|
|
873
|
-
gte?: string | undefined;
|
|
874
|
-
lt?: string | undefined;
|
|
875
|
-
lte?: string | undefined;
|
|
876
|
-
}>[] | undefined;
|
|
877
|
-
value?: readonly string[] | undefined;
|
|
878
|
-
}>[] | undefined;
|
|
879
|
-
field?: string | undefined;
|
|
880
|
-
hasValue?: boolean | undefined;
|
|
881
|
-
not?: readonly Readonly<{
|
|
882
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
883
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
884
|
-
field?: string | undefined;
|
|
885
|
-
hasValue?: boolean | undefined;
|
|
886
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
887
|
-
prefix?: readonly string[] | undefined;
|
|
888
|
-
range?: readonly Readonly<{
|
|
889
|
-
gt?: string | undefined;
|
|
890
|
-
gte?: string | undefined;
|
|
891
|
-
lt?: string | undefined;
|
|
892
|
-
lte?: string | undefined;
|
|
893
|
-
}>[] | undefined;
|
|
894
|
-
value?: readonly string[] | undefined;
|
|
895
|
-
}>[] | undefined;
|
|
896
|
-
prefix?: readonly string[] | undefined;
|
|
897
|
-
range?: readonly Readonly<{
|
|
898
|
-
gt?: string | undefined;
|
|
899
|
-
gte?: string | undefined;
|
|
900
|
-
lt?: string | undefined;
|
|
901
|
-
lte?: string | undefined;
|
|
902
|
-
}>[] | undefined;
|
|
903
|
-
value?: readonly string[] | undefined;
|
|
904
|
-
weight: number;
|
|
905
|
-
}>[] | undefined;
|
|
906
|
-
emptyQueryMatchesAll?: boolean | undefined;
|
|
907
|
-
filter?: readonly Readonly<{
|
|
908
|
-
all?: readonly Readonly<{
|
|
909
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
910
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
911
|
-
field?: string | undefined;
|
|
912
|
-
hasValue?: boolean | undefined;
|
|
913
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
914
|
-
prefix?: readonly string[] | undefined;
|
|
915
|
-
range?: readonly Readonly<{
|
|
916
|
-
gt?: string | undefined;
|
|
917
|
-
gte?: string | undefined;
|
|
918
|
-
lt?: string | undefined;
|
|
919
|
-
lte?: string | undefined;
|
|
920
|
-
}>[] | undefined;
|
|
921
|
-
value?: readonly string[] | undefined;
|
|
922
|
-
}>[] | undefined;
|
|
923
|
-
any?: readonly Readonly<{
|
|
924
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
925
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
926
|
-
field?: string | undefined;
|
|
927
|
-
hasValue?: boolean | undefined;
|
|
928
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
929
|
-
prefix?: readonly string[] | undefined;
|
|
930
|
-
range?: readonly Readonly<{
|
|
931
|
-
gt?: string | undefined;
|
|
932
|
-
gte?: string | undefined;
|
|
933
|
-
lt?: string | undefined;
|
|
934
|
-
lte?: string | undefined;
|
|
935
|
-
}>[] | undefined;
|
|
936
|
-
value?: readonly string[] | undefined;
|
|
937
|
-
}>[] | undefined;
|
|
938
|
-
excludeFacets?: readonly string[] | undefined;
|
|
939
|
-
field?: string | undefined;
|
|
940
|
-
hasValue?: boolean | undefined;
|
|
941
|
-
not?: readonly Readonly<{
|
|
942
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
943
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
944
|
-
field?: string | undefined;
|
|
945
|
-
hasValue?: boolean | undefined;
|
|
946
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
947
|
-
prefix?: readonly string[] | undefined;
|
|
948
|
-
range?: readonly Readonly<{
|
|
949
|
-
gt?: string | undefined;
|
|
950
|
-
gte?: string | undefined;
|
|
951
|
-
lt?: string | undefined;
|
|
952
|
-
lte?: string | undefined;
|
|
953
|
-
}>[] | undefined;
|
|
954
|
-
value?: readonly string[] | undefined;
|
|
955
|
-
}>[] | undefined;
|
|
956
|
-
prefix?: readonly string[] | undefined;
|
|
957
|
-
range?: readonly Readonly<{
|
|
958
|
-
gt?: string | undefined;
|
|
959
|
-
gte?: string | undefined;
|
|
960
|
-
lt?: string | undefined;
|
|
961
|
-
lte?: string | undefined;
|
|
962
|
-
}>[] | undefined;
|
|
963
|
-
value?: readonly string[] | undefined;
|
|
964
|
-
}>[] | undefined;
|
|
965
|
-
from?: number | undefined;
|
|
966
|
-
highlight?: Readonly<{
|
|
967
|
-
postTag: string;
|
|
968
|
-
preTag: string;
|
|
969
|
-
}> | undefined;
|
|
970
|
-
size?: number | undefined;
|
|
971
|
-
sort?: readonly Readonly<{
|
|
972
|
-
field: string;
|
|
973
|
-
order: import("@nosto/nosto-js/client").SearchSortOrder;
|
|
974
|
-
}>[] | undefined;
|
|
975
|
-
fields: readonly string[];
|
|
976
|
-
facets: readonly string[];
|
|
977
|
-
}> | undefined;
|
|
978
|
-
products?: Readonly<{
|
|
979
|
-
boost?: readonly Readonly<{
|
|
980
|
-
all?: readonly Readonly<{
|
|
981
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
982
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
983
|
-
field?: string | undefined;
|
|
984
|
-
hasValue?: boolean | undefined;
|
|
985
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
986
|
-
prefix?: readonly string[] | undefined;
|
|
987
|
-
range?: readonly Readonly<{
|
|
988
|
-
gt?: string | undefined;
|
|
989
|
-
gte?: string | undefined;
|
|
990
|
-
lt?: string | undefined;
|
|
991
|
-
lte?: string | undefined;
|
|
992
|
-
}>[] | undefined;
|
|
993
|
-
value?: readonly string[] | undefined;
|
|
994
|
-
}>[] | undefined;
|
|
995
|
-
any?: readonly Readonly<{
|
|
996
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
997
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
998
|
-
field?: string | undefined;
|
|
999
|
-
hasValue?: boolean | undefined;
|
|
1000
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1001
|
-
prefix?: readonly string[] | undefined;
|
|
1002
|
-
range?: readonly Readonly<{
|
|
1003
|
-
gt?: string | undefined;
|
|
1004
|
-
gte?: string | undefined;
|
|
1005
|
-
lt?: string | undefined;
|
|
1006
|
-
lte?: string | undefined;
|
|
1007
|
-
}>[] | undefined;
|
|
1008
|
-
value?: readonly string[] | undefined;
|
|
1009
|
-
}>[] | undefined;
|
|
1010
|
-
field?: string | undefined;
|
|
1011
|
-
hasValue?: boolean | undefined;
|
|
1012
|
-
not?: readonly Readonly<{
|
|
1013
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1014
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1015
|
-
field?: string | undefined;
|
|
1016
|
-
hasValue?: boolean | undefined;
|
|
1017
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1018
|
-
prefix?: readonly string[] | undefined;
|
|
1019
|
-
range?: readonly Readonly<{
|
|
1020
|
-
gt?: string | undefined;
|
|
1021
|
-
gte?: string | undefined;
|
|
1022
|
-
lt?: string | undefined;
|
|
1023
|
-
lte?: string | undefined;
|
|
1024
|
-
}>[] | undefined;
|
|
1025
|
-
value?: readonly string[] | undefined;
|
|
1026
|
-
}>[] | undefined;
|
|
1027
|
-
prefix?: readonly string[] | undefined;
|
|
1028
|
-
range?: readonly Readonly<{
|
|
1029
|
-
gt?: string | undefined;
|
|
1030
|
-
gte?: string | undefined;
|
|
1031
|
-
lt?: string | undefined;
|
|
1032
|
-
lte?: string | undefined;
|
|
1033
|
-
}>[] | undefined;
|
|
1034
|
-
value?: readonly string[] | undefined;
|
|
1035
|
-
weight: number;
|
|
1036
|
-
}>[] | undefined;
|
|
1037
|
-
categoryId?: string | undefined;
|
|
1038
|
-
categoryPath?: string | undefined;
|
|
1039
|
-
collapse?: string | undefined;
|
|
1040
|
-
customFacets?: readonly Readonly<{
|
|
1041
|
-
enabled?: boolean | undefined;
|
|
1042
|
-
field?: string | undefined;
|
|
1043
|
-
id: string;
|
|
1044
|
-
infix?: readonly string[] | undefined;
|
|
1045
|
-
name?: string | undefined;
|
|
1046
|
-
order?: import("@nosto/nosto-js/client").SearchFacetOrder | undefined;
|
|
1047
|
-
position?: number | undefined;
|
|
1048
|
-
prefix?: readonly string[] | undefined;
|
|
1049
|
-
size?: number | undefined;
|
|
1050
|
-
type?: import("@nosto/nosto-js/client").SearchFacetType | undefined;
|
|
1051
|
-
}>[] | undefined;
|
|
1052
|
-
emptyQueryMatchesAll?: boolean | undefined;
|
|
1053
|
-
exclusionBehaviour?: import("@nosto/nosto-js/client").SearchExclusionBehaviour | undefined;
|
|
1054
|
-
facets?: readonly string[] | undefined;
|
|
1055
|
-
filter?: readonly Readonly<{
|
|
1056
|
-
all?: readonly Readonly<{
|
|
1057
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1058
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1059
|
-
field?: string | undefined;
|
|
1060
|
-
hasValue?: boolean | undefined;
|
|
1061
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1062
|
-
prefix?: readonly string[] | undefined;
|
|
1063
|
-
range?: readonly Readonly<{
|
|
1064
|
-
gt?: string | undefined;
|
|
1065
|
-
gte?: string | undefined;
|
|
1066
|
-
lt?: string | undefined;
|
|
1067
|
-
lte?: string | undefined;
|
|
1068
|
-
}>[] | undefined;
|
|
1069
|
-
value?: readonly string[] | undefined;
|
|
1070
|
-
}>[] | undefined;
|
|
1071
|
-
any?: readonly Readonly<{
|
|
1072
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1073
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1074
|
-
field?: string | undefined;
|
|
1075
|
-
hasValue?: boolean | undefined;
|
|
1076
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1077
|
-
prefix?: readonly string[] | undefined;
|
|
1078
|
-
range?: readonly Readonly<{
|
|
1079
|
-
gt?: string | undefined;
|
|
1080
|
-
gte?: string | undefined;
|
|
1081
|
-
lt?: string | undefined;
|
|
1082
|
-
lte?: string | undefined;
|
|
1083
|
-
}>[] | undefined;
|
|
1084
|
-
value?: readonly string[] | undefined;
|
|
1085
|
-
}>[] | undefined;
|
|
1086
|
-
excludeFacets?: readonly string[] | undefined;
|
|
1087
|
-
field?: string | undefined;
|
|
1088
|
-
hasValue?: boolean | undefined;
|
|
1089
|
-
not?: readonly Readonly<{
|
|
1090
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1091
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1092
|
-
field?: string | undefined;
|
|
1093
|
-
hasValue?: boolean | undefined;
|
|
1094
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1095
|
-
prefix?: readonly string[] | undefined;
|
|
1096
|
-
range?: readonly Readonly<{
|
|
1097
|
-
gt?: string | undefined;
|
|
1098
|
-
gte?: string | undefined;
|
|
1099
|
-
lt?: string | undefined;
|
|
1100
|
-
lte?: string | undefined;
|
|
1101
|
-
}>[] | undefined;
|
|
1102
|
-
value?: readonly string[] | undefined;
|
|
1103
|
-
}>[] | undefined;
|
|
1104
|
-
prefix?: readonly string[] | undefined;
|
|
1105
|
-
range?: readonly Readonly<{
|
|
1106
|
-
gt?: string | undefined;
|
|
1107
|
-
gte?: string | undefined;
|
|
1108
|
-
lt?: string | undefined;
|
|
1109
|
-
lte?: string | undefined;
|
|
1110
|
-
}>[] | undefined;
|
|
1111
|
-
value?: readonly string[] | undefined;
|
|
1112
|
-
}>[] | undefined;
|
|
1113
|
-
from?: number | undefined;
|
|
1114
|
-
outOfStockBehaviour?: import("@nosto/nosto-js/client").SearchOutOfStockBehaviour | undefined;
|
|
1115
|
-
personalizationBoost?: readonly Readonly<{
|
|
1116
|
-
all?: readonly Readonly<{
|
|
1117
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1118
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1119
|
-
field?: string | undefined;
|
|
1120
|
-
hasValue?: boolean | undefined;
|
|
1121
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1122
|
-
prefix?: readonly string[] | undefined;
|
|
1123
|
-
range?: readonly Readonly<{
|
|
1124
|
-
gt?: string | undefined;
|
|
1125
|
-
gte?: string | undefined;
|
|
1126
|
-
lt?: string | undefined;
|
|
1127
|
-
lte?: string | undefined;
|
|
1128
|
-
}>[] | undefined;
|
|
1129
|
-
value?: readonly string[] | undefined;
|
|
1130
|
-
}>[] | undefined;
|
|
1131
|
-
any?: readonly Readonly<{
|
|
1132
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1133
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1134
|
-
field?: string | undefined;
|
|
1135
|
-
hasValue?: boolean | undefined;
|
|
1136
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1137
|
-
prefix?: readonly string[] | undefined;
|
|
1138
|
-
range?: readonly Readonly<{
|
|
1139
|
-
gt?: string | undefined;
|
|
1140
|
-
gte?: string | undefined;
|
|
1141
|
-
lt?: string | undefined;
|
|
1142
|
-
lte?: string | undefined;
|
|
1143
|
-
}>[] | undefined;
|
|
1144
|
-
value?: readonly string[] | undefined;
|
|
1145
|
-
}>[] | undefined;
|
|
1146
|
-
field?: string | undefined;
|
|
1147
|
-
hasValue?: boolean | undefined;
|
|
1148
|
-
not?: readonly Readonly<{
|
|
1149
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1150
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1151
|
-
field?: string | undefined;
|
|
1152
|
-
hasValue?: boolean | undefined;
|
|
1153
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1154
|
-
prefix?: readonly string[] | undefined;
|
|
1155
|
-
range?: readonly Readonly<{
|
|
1156
|
-
gt?: string | undefined;
|
|
1157
|
-
gte?: string | undefined;
|
|
1158
|
-
lt?: string | undefined;
|
|
1159
|
-
lte?: string | undefined;
|
|
1160
|
-
}>[] | undefined;
|
|
1161
|
-
value?: readonly string[] | undefined;
|
|
1162
|
-
}>[] | undefined;
|
|
1163
|
-
prefix?: readonly string[] | undefined;
|
|
1164
|
-
range?: readonly Readonly<{
|
|
1165
|
-
gt?: string | undefined;
|
|
1166
|
-
gte?: string | undefined;
|
|
1167
|
-
lt?: string | undefined;
|
|
1168
|
-
lte?: string | undefined;
|
|
1169
|
-
}>[] | undefined;
|
|
1170
|
-
value?: readonly string[] | undefined;
|
|
1171
|
-
weight: number;
|
|
1172
|
-
}>[] | undefined;
|
|
1173
|
-
personalizationWeight?: number | undefined;
|
|
1174
|
-
pin?: readonly Readonly<{
|
|
1175
|
-
field?: string | undefined;
|
|
1176
|
-
position: number;
|
|
1177
|
-
value: readonly string[];
|
|
1178
|
-
}>[] | undefined;
|
|
1179
|
-
preFilter?: readonly Readonly<{
|
|
1180
|
-
all?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1181
|
-
any?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1182
|
-
field?: string | undefined;
|
|
1183
|
-
hasValue?: boolean | undefined;
|
|
1184
|
-
not?: readonly Readonly</*elided*/ any>[] | undefined;
|
|
1185
|
-
prefix?: readonly string[] | undefined;
|
|
1186
|
-
range?: readonly Readonly<{
|
|
1187
|
-
gt?: string | undefined;
|
|
1188
|
-
gte?: string | undefined;
|
|
1189
|
-
lt?: string | undefined;
|
|
1190
|
-
lte?: string | undefined;
|
|
1191
|
-
}>[] | undefined;
|
|
1192
|
-
value?: readonly string[] | undefined;
|
|
1193
|
-
}>[] | undefined;
|
|
1194
|
-
queryFields?: readonly import("@nosto/nosto-js/client").SearchQueryField[] | undefined;
|
|
1195
|
-
relevanceWeight?: number | undefined;
|
|
1196
|
-
showPrivateFields?: boolean | undefined;
|
|
1197
|
-
size?: number | undefined;
|
|
1198
|
-
sort?: readonly Readonly<{
|
|
1199
|
-
field: string;
|
|
1200
|
-
order: import("@nosto/nosto-js/client").SearchSortOrder;
|
|
1201
|
-
}>[] | undefined;
|
|
1202
|
-
variationId?: string | undefined;
|
|
1203
|
-
fields?: readonly string[] | undefined;
|
|
1204
|
-
}> | undefined;
|
|
1205
|
-
name?: string | undefined;
|
|
1206
|
-
}>;
|
|
1207
|
-
pageType: SearchPageType | undefined;
|
|
1208
|
-
response: Readonly<{
|
|
1209
|
-
autocorrect?: Readonly<{
|
|
1210
|
-
original: string;
|
|
1211
|
-
}> | undefined;
|
|
1212
|
-
explain?: Readonly<{
|
|
1213
|
-
matchedRules: readonly Readonly<{
|
|
1214
|
-
id: string;
|
|
1215
|
-
name?: string | undefined;
|
|
1216
|
-
set?: unknown;
|
|
1217
|
-
}>[];
|
|
1218
|
-
}> | undefined;
|
|
1219
|
-
keywords?: Readonly<{
|
|
1220
|
-
from?: number | undefined;
|
|
1221
|
-
fuzzy?: boolean | undefined;
|
|
1222
|
-
hits: readonly Readonly<{
|
|
1223
|
-
_explain?: unknown;
|
|
1224
|
-
_highlight?: Readonly<{
|
|
1225
|
-
keyword?: string | undefined;
|
|
1226
|
-
}> | undefined;
|
|
1227
|
-
_redirect?: string | undefined;
|
|
1228
|
-
_score?: number | undefined;
|
|
1229
|
-
facets: readonly (Readonly<{
|
|
1230
|
-
field: string;
|
|
1231
|
-
id: string;
|
|
1232
|
-
max: number;
|
|
1233
|
-
min: number;
|
|
1234
|
-
name: string;
|
|
1235
|
-
type: import("@nosto/nosto-js/client").SearchFacetType;
|
|
1236
|
-
}> | Readonly<{
|
|
1237
|
-
data: readonly Readonly<{
|
|
1238
|
-
count: number;
|
|
1239
|
-
selected: boolean;
|
|
1240
|
-
value: string;
|
|
1241
|
-
}>[];
|
|
1242
|
-
field: string;
|
|
1243
|
-
id: string;
|
|
1244
|
-
name: string;
|
|
1245
|
-
type: import("@nosto/nosto-js/client").SearchFacetType;
|
|
1246
|
-
}>)[];
|
|
1247
|
-
keyword: string;
|
|
1248
|
-
position?: number | undefined;
|
|
1249
|
-
priority: number;
|
|
1250
|
-
total: number;
|
|
1251
|
-
}>[];
|
|
1252
|
-
size?: number | undefined;
|
|
1253
|
-
total: number;
|
|
1254
|
-
}> | undefined;
|
|
1255
|
-
products?: Readonly<{
|
|
1256
|
-
categoryId?: string | undefined;
|
|
1257
|
-
categoryPath?: string | undefined;
|
|
1258
|
-
collapse?: string | undefined;
|
|
1259
|
-
facets?: readonly (Readonly<{
|
|
1260
|
-
field: string;
|
|
1261
|
-
id: string;
|
|
1262
|
-
max: number;
|
|
1263
|
-
min: number;
|
|
1264
|
-
name: string;
|
|
1265
|
-
type: import("@nosto/nosto-js/client").SearchFacetType;
|
|
1266
|
-
}> | Readonly<{
|
|
1267
|
-
data: readonly Readonly<{
|
|
1268
|
-
count: number;
|
|
1269
|
-
selected: boolean;
|
|
1270
|
-
value: string;
|
|
1271
|
-
}>[];
|
|
1272
|
-
field: string;
|
|
1273
|
-
id: string;
|
|
1274
|
-
name: string;
|
|
1275
|
-
type: import("@nosto/nosto-js/client").SearchFacetType;
|
|
1276
|
-
}>)[] | undefined;
|
|
1277
|
-
from?: number | undefined;
|
|
1278
|
-
fuzzy?: boolean | undefined;
|
|
1279
|
-
hits: readonly Readonly<{
|
|
1280
|
-
_explain?: unknown;
|
|
1281
|
-
_pinned?: boolean | undefined;
|
|
1282
|
-
_score?: number | undefined;
|
|
1283
|
-
affinities?: Readonly<{
|
|
1284
|
-
brand?: string | undefined;
|
|
1285
|
-
categories?: readonly string[] | undefined;
|
|
1286
|
-
color?: readonly string[] | undefined;
|
|
1287
|
-
size?: readonly string[] | undefined;
|
|
1288
|
-
}> | undefined;
|
|
1289
|
-
ageGroup?: string | undefined;
|
|
1290
|
-
ai?: Readonly<{
|
|
1291
|
-
dominantColors?: readonly string[] | undefined;
|
|
1292
|
-
overridingColor?: string | undefined;
|
|
1293
|
-
primaryColor?: string | undefined;
|
|
1294
|
-
}> | undefined;
|
|
1295
|
-
alternateImageUrls?: readonly string[] | undefined;
|
|
1296
|
-
alternateImageHashes?: readonly string[] | undefined;
|
|
1297
|
-
availability?: string | undefined;
|
|
1298
|
-
available?: boolean | undefined;
|
|
1299
|
-
brand?: string | undefined;
|
|
1300
|
-
categories?: readonly string[] | undefined;
|
|
1301
|
-
categoryIds?: readonly string[] | undefined;
|
|
1302
|
-
condition?: string | undefined;
|
|
1303
|
-
customFields?: readonly Readonly<{
|
|
1304
|
-
key: string;
|
|
1305
|
-
value: string;
|
|
1306
|
-
}>[] | undefined;
|
|
1307
|
-
datePublished?: number | undefined;
|
|
1308
|
-
description?: string | undefined;
|
|
1309
|
-
extra?: readonly Readonly<{
|
|
1310
|
-
key: string;
|
|
1311
|
-
value: readonly string[];
|
|
1312
|
-
}>[] | undefined;
|
|
1313
|
-
gender?: string | undefined;
|
|
1314
|
-
googleCategory?: string | undefined;
|
|
1315
|
-
gtin?: string | undefined;
|
|
1316
|
-
imageUrl?: string | undefined;
|
|
1317
|
-
imageHash?: string | undefined;
|
|
1318
|
-
inventoryLevel?: number | undefined;
|
|
1319
|
-
isExcluded?: boolean | undefined;
|
|
1320
|
-
listPrice?: number | undefined;
|
|
1321
|
-
name?: string | undefined;
|
|
1322
|
-
onDiscount?: boolean | undefined;
|
|
1323
|
-
pid?: string | undefined;
|
|
1324
|
-
price?: number | undefined;
|
|
1325
|
-
priceCurrencyCode?: string | undefined;
|
|
1326
|
-
priceText?: string | undefined;
|
|
1327
|
-
productId?: string | undefined;
|
|
1328
|
-
ratingValue?: number | undefined;
|
|
1329
|
-
realVariantIds?: readonly string[] | undefined;
|
|
1330
|
-
reviewCount?: number | undefined;
|
|
1331
|
-
saleable?: boolean | undefined;
|
|
1332
|
-
skus?: readonly Readonly<{
|
|
1333
|
-
ai?: Readonly<{
|
|
1334
|
-
dominantColors?: readonly string[] | undefined;
|
|
1335
|
-
overridingColor?: string | undefined;
|
|
1336
|
-
primaryColor?: string | undefined;
|
|
1337
|
-
}> | undefined;
|
|
1338
|
-
availability?: string | undefined;
|
|
1339
|
-
customFields?: readonly Readonly<{
|
|
1340
|
-
key: string;
|
|
1341
|
-
value: string;
|
|
1342
|
-
}>[] | undefined;
|
|
1343
|
-
id?: string | undefined;
|
|
1344
|
-
imageUrl?: string | undefined;
|
|
1345
|
-
imageHash?: string | undefined;
|
|
1346
|
-
inventoryLevel?: number | undefined;
|
|
1347
|
-
listPrice?: number | undefined;
|
|
1348
|
-
name?: string | undefined;
|
|
1349
|
-
price?: number | undefined;
|
|
1350
|
-
priceText?: string | undefined;
|
|
1351
|
-
url?: string | undefined;
|
|
1352
|
-
}>[] | undefined;
|
|
1353
|
-
stats?: Readonly<{
|
|
1354
|
-
age?: number | undefined;
|
|
1355
|
-
availabilityRatio?: number | undefined;
|
|
1356
|
-
buys?: number | undefined;
|
|
1357
|
-
cartRatio?: number | undefined;
|
|
1358
|
-
clicks?: number | undefined;
|
|
1359
|
-
conversion?: number | undefined;
|
|
1360
|
-
discount?: number | undefined;
|
|
1361
|
-
impressions?: number | undefined;
|
|
1362
|
-
inventoryLevel?: number | undefined;
|
|
1363
|
-
inventoryTurnover?: number | undefined;
|
|
1364
|
-
listPrice?: number | undefined;
|
|
1365
|
-
margin?: number | undefined;
|
|
1366
|
-
marginPercentage?: number | undefined;
|
|
1367
|
-
orders?: number | undefined;
|
|
1368
|
-
price?: number | undefined;
|
|
1369
|
-
profitPerImpression?: number | undefined;
|
|
1370
|
-
profitPerView?: number | undefined;
|
|
1371
|
-
published?: number | undefined;
|
|
1372
|
-
ratingValue?: number | undefined;
|
|
1373
|
-
revenue?: number | undefined;
|
|
1374
|
-
revenuePerImpression?: number | undefined;
|
|
1375
|
-
revenuePerView?: number | undefined;
|
|
1376
|
-
reviewCount?: number | undefined;
|
|
1377
|
-
views?: number | undefined;
|
|
1378
|
-
}> | undefined;
|
|
1379
|
-
supplierCost?: number | undefined;
|
|
1380
|
-
tags1?: readonly string[] | undefined;
|
|
1381
|
-
tags2?: readonly string[] | undefined;
|
|
1382
|
-
tags3?: readonly string[] | undefined;
|
|
1383
|
-
thumbUrl?: string | undefined;
|
|
1384
|
-
thumbHash?: string | undefined;
|
|
1385
|
-
unitPricingBaseMeasure?: number | undefined;
|
|
1386
|
-
unitPricingMeasure?: number | undefined;
|
|
1387
|
-
unitPricingUnit?: string | undefined;
|
|
1388
|
-
url?: string | undefined;
|
|
1389
|
-
variantId?: string | undefined;
|
|
1390
|
-
variations?: readonly Readonly<{
|
|
1391
|
-
key: string;
|
|
1392
|
-
value: Readonly<{
|
|
1393
|
-
availability?: string | undefined;
|
|
1394
|
-
listPrice?: number | undefined;
|
|
1395
|
-
price?: number | undefined;
|
|
1396
|
-
priceCurrencyCode?: string | undefined;
|
|
1397
|
-
}>;
|
|
1398
|
-
}>[] | undefined;
|
|
1399
|
-
}>[];
|
|
1400
|
-
size?: number | undefined;
|
|
1401
|
-
total: number;
|
|
1402
|
-
}> | undefined;
|
|
1403
|
-
query?: string | undefined;
|
|
1404
|
-
redirect?: string | undefined;
|
|
1405
|
-
abTests?: readonly Readonly<{
|
|
1406
|
-
id: string;
|
|
1407
|
-
activeVariation: Readonly<{
|
|
1408
|
-
id: string;
|
|
1409
|
-
}>;
|
|
1410
|
-
}>[] | undefined;
|
|
1411
|
-
}>;
|
|
1412
|
-
initialized: boolean;
|
|
1413
|
-
customParams: Readonly<{
|
|
1414
|
-
[x: string]: unknown;
|
|
1415
|
-
}>;
|
|
1416
|
-
historyItems?: readonly string[] | undefined;
|
|
1417
|
-
}>>;
|
|
39
|
+
getInitialState: () => State;
|
|
1418
40
|
onChange: <T>(selector: (state: State) => T, callback: (piece: T) => void) => void;
|
|
1419
41
|
clearOnChange: <T>(callback: (piece: T) => void) => void;
|
|
1420
42
|
};
|