@empathyco/x-adapter 7.0.0-alpha.22 → 7.0.0-alpha.25
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.types.js","sourceRoot":"","sources":["../../../src/types/response.types.ts"],"names":[],"mappings":"","sourcesContent":["import {\n Banner,\n Facet,\n NextQuery,\n PartialResult,\n Promoted,\n Redirection,\n RelatedTag,\n Result,\n Suggestion,\n TaggingInfo\n} from '@empathyco/x-types';\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface RelatedTagsResponse {\n relatedTags: RelatedTag[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SuggestionsResponse {\n suggestions: Suggestion[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SearchByIdResponse {\n results: Result[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface TrackableShowResponse {\n showTagging: TaggingInfo;\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SearchResponse {\n banners
|
|
1
|
+
{"version":3,"file":"response.types.js","sourceRoot":"","sources":["../../../src/types/response.types.ts"],"names":[],"mappings":"","sourcesContent":["import {\n Banner,\n Facet,\n NextQuery,\n PartialResult,\n Promoted,\n Redirection,\n RelatedTag,\n Result,\n Suggestion,\n TaggingInfo\n} from '@empathyco/x-types';\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface RelatedTagsResponse {\n relatedTags: RelatedTag[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SuggestionsResponse {\n suggestions: Suggestion[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SearchByIdResponse {\n results: Result[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface TrackableShowResponse {\n showTagging: TaggingInfo;\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SearchResponse {\n banners?: Banner[];\n facets?: Facet[];\n partialResults?: PartialResult[];\n promoteds?: Promoted[];\n queryTagging: TaggingInfo;\n redirections?: Redirection[];\n results: Result[];\n spellcheck?: string;\n totalResults: number;\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface NextQueriesResponse {\n nextQueries: NextQuery[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface TopRecommendationsResponse {\n results: Result[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SectionRecommendationsResponse extends TrackableShowResponse {\n results: Result[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface ClicksRecommendationsResponse extends TrackableShowResponse {\n results: Result[];\n totalResults: number;\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface QueriesRecommendationsResponse extends TrackableShowResponse {\n results: Result[];\n totalResults: number;\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface UserRecommendationsResponse extends TrackableShowResponse {\n results: Result[];\n totalResults: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.types.js","sourceRoot":"","sources":["../../../src/types/response.types.ts"],"names":[],"mappings":"","sourcesContent":["import {\n Banner,\n Facet,\n NextQuery,\n PartialResult,\n Promoted,\n Redirection,\n RelatedTag,\n Result,\n Suggestion,\n TaggingInfo\n} from '@empathyco/x-types';\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface RelatedTagsResponse {\n relatedTags: RelatedTag[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SuggestionsResponse {\n suggestions: Suggestion[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SearchByIdResponse {\n results: Result[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface TrackableShowResponse {\n showTagging: TaggingInfo;\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SearchResponse {\n banners
|
|
1
|
+
{"version":3,"file":"response.types.js","sourceRoot":"","sources":["../../../src/types/response.types.ts"],"names":[],"mappings":"","sourcesContent":["import {\n Banner,\n Facet,\n NextQuery,\n PartialResult,\n Promoted,\n Redirection,\n RelatedTag,\n Result,\n Suggestion,\n TaggingInfo\n} from '@empathyco/x-types';\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface RelatedTagsResponse {\n relatedTags: RelatedTag[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SuggestionsResponse {\n suggestions: Suggestion[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SearchByIdResponse {\n results: Result[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface TrackableShowResponse {\n showTagging: TaggingInfo;\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SearchResponse {\n banners?: Banner[];\n facets?: Facet[];\n partialResults?: PartialResult[];\n promoteds?: Promoted[];\n queryTagging: TaggingInfo;\n redirections?: Redirection[];\n results: Result[];\n spellcheck?: string;\n totalResults: number;\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface NextQueriesResponse {\n nextQueries: NextQuery[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface TopRecommendationsResponse {\n results: Result[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface SectionRecommendationsResponse extends TrackableShowResponse {\n results: Result[];\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface ClicksRecommendationsResponse extends TrackableShowResponse {\n results: Result[];\n totalResults: number;\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface QueriesRecommendationsResponse extends TrackableShowResponse {\n results: Result[];\n totalResults: number;\n}\n\n/**\n * TODO https://searchbroker.atlassian.net/browse/EX-2163\n *\n * @public\n */\nexport interface UserRecommendationsResponse extends TrackableShowResponse {\n results: Result[];\n totalResults: number;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-adapter",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.25",
|
|
4
4
|
"description": "A search client for the Empathy search API ",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"test:coverage": "jest --coverage"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@empathyco/x-deep-merge": "^1.3.0-alpha.
|
|
43
|
+
"@empathyco/x-deep-merge": "^1.3.0-alpha.12",
|
|
44
44
|
"@empathyco/x-get-safe-property-chain": "^1.3.0-alpha.3",
|
|
45
45
|
"@empathyco/x-logger": "^1.1.0",
|
|
46
46
|
"@empathyco/x-storage-service": "^2.0.0-alpha.2",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "e4c2dc7bb0f0948795cf52a9d62b7c8390d6d564"
|
|
66
66
|
}
|
|
@@ -22159,7 +22159,7 @@
|
|
|
22159
22159
|
"excerptTokens": [
|
|
22160
22160
|
{
|
|
22161
22161
|
"kind": "Content",
|
|
22162
|
-
"text": "banners
|
|
22162
|
+
"text": "banners?: "
|
|
22163
22163
|
},
|
|
22164
22164
|
{
|
|
22165
22165
|
"kind": "Reference",
|
|
@@ -22175,7 +22175,7 @@
|
|
|
22175
22175
|
"text": ";"
|
|
22176
22176
|
}
|
|
22177
22177
|
],
|
|
22178
|
-
"isOptional":
|
|
22178
|
+
"isOptional": true,
|
|
22179
22179
|
"releaseTag": "Public",
|
|
22180
22180
|
"name": "banners",
|
|
22181
22181
|
"propertyTypeTokenRange": {
|
|
@@ -22221,7 +22221,7 @@
|
|
|
22221
22221
|
"excerptTokens": [
|
|
22222
22222
|
{
|
|
22223
22223
|
"kind": "Content",
|
|
22224
|
-
"text": "partialResults
|
|
22224
|
+
"text": "partialResults?: "
|
|
22225
22225
|
},
|
|
22226
22226
|
{
|
|
22227
22227
|
"kind": "Reference",
|
|
@@ -22237,7 +22237,7 @@
|
|
|
22237
22237
|
"text": ";"
|
|
22238
22238
|
}
|
|
22239
22239
|
],
|
|
22240
|
-
"isOptional":
|
|
22240
|
+
"isOptional": true,
|
|
22241
22241
|
"releaseTag": "Public",
|
|
22242
22242
|
"name": "partialResults",
|
|
22243
22243
|
"propertyTypeTokenRange": {
|
|
@@ -22252,7 +22252,7 @@
|
|
|
22252
22252
|
"excerptTokens": [
|
|
22253
22253
|
{
|
|
22254
22254
|
"kind": "Content",
|
|
22255
|
-
"text": "promoteds
|
|
22255
|
+
"text": "promoteds?: "
|
|
22256
22256
|
},
|
|
22257
22257
|
{
|
|
22258
22258
|
"kind": "Reference",
|
|
@@ -22268,7 +22268,7 @@
|
|
|
22268
22268
|
"text": ";"
|
|
22269
22269
|
}
|
|
22270
22270
|
],
|
|
22271
|
-
"isOptional":
|
|
22271
|
+
"isOptional": true,
|
|
22272
22272
|
"releaseTag": "Public",
|
|
22273
22273
|
"name": "promoteds",
|
|
22274
22274
|
"propertyTypeTokenRange": {
|
|
@@ -22310,7 +22310,7 @@
|
|
|
22310
22310
|
"excerptTokens": [
|
|
22311
22311
|
{
|
|
22312
22312
|
"kind": "Content",
|
|
22313
|
-
"text": "redirections
|
|
22313
|
+
"text": "redirections?: "
|
|
22314
22314
|
},
|
|
22315
22315
|
{
|
|
22316
22316
|
"kind": "Reference",
|
|
@@ -22326,7 +22326,7 @@
|
|
|
22326
22326
|
"text": ";"
|
|
22327
22327
|
}
|
|
22328
22328
|
],
|
|
22329
|
-
"isOptional":
|
|
22329
|
+
"isOptional": true,
|
|
22330
22330
|
"releaseTag": "Public",
|
|
22331
22331
|
"name": "redirections",
|
|
22332
22332
|
"propertyTypeTokenRange": {
|
|
@@ -22372,7 +22372,7 @@
|
|
|
22372
22372
|
"excerptTokens": [
|
|
22373
22373
|
{
|
|
22374
22374
|
"kind": "Content",
|
|
22375
|
-
"text": "spellcheck
|
|
22375
|
+
"text": "spellcheck?: "
|
|
22376
22376
|
},
|
|
22377
22377
|
{
|
|
22378
22378
|
"kind": "Content",
|
|
@@ -22383,7 +22383,7 @@
|
|
|
22383
22383
|
"text": ";"
|
|
22384
22384
|
}
|
|
22385
22385
|
],
|
|
22386
|
-
"isOptional":
|
|
22386
|
+
"isOptional": true,
|
|
22387
22387
|
"releaseTag": "Public",
|
|
22388
22388
|
"name": "spellcheck",
|
|
22389
22389
|
"propertyTypeTokenRange": {
|
package/report/x-adapter.api.md
CHANGED
|
@@ -1337,21 +1337,21 @@ export interface SearchRequest extends QueryableRequest, FilterableRequest, Page
|
|
|
1337
1337
|
// @public
|
|
1338
1338
|
export interface SearchResponse {
|
|
1339
1339
|
// (undocumented)
|
|
1340
|
-
banners
|
|
1340
|
+
banners?: Banner[];
|
|
1341
1341
|
// (undocumented)
|
|
1342
1342
|
facets?: Facet[];
|
|
1343
1343
|
// (undocumented)
|
|
1344
|
-
partialResults
|
|
1344
|
+
partialResults?: PartialResult[];
|
|
1345
1345
|
// (undocumented)
|
|
1346
|
-
promoteds
|
|
1346
|
+
promoteds?: Promoted[];
|
|
1347
1347
|
// (undocumented)
|
|
1348
1348
|
queryTagging: TaggingInfo;
|
|
1349
1349
|
// (undocumented)
|
|
1350
|
-
redirections
|
|
1350
|
+
redirections?: Redirection[];
|
|
1351
1351
|
// (undocumented)
|
|
1352
1352
|
results: Result[];
|
|
1353
1353
|
// (undocumented)
|
|
1354
|
-
spellcheck
|
|
1354
|
+
spellcheck?: string;
|
|
1355
1355
|
// (undocumented)
|
|
1356
1356
|
totalResults: number;
|
|
1357
1357
|
}
|
|
@@ -37,14 +37,14 @@ export interface TrackableShowResponse {
|
|
|
37
37
|
* @public
|
|
38
38
|
*/
|
|
39
39
|
export interface SearchResponse {
|
|
40
|
-
banners
|
|
40
|
+
banners?: Banner[];
|
|
41
41
|
facets?: Facet[];
|
|
42
|
-
partialResults
|
|
43
|
-
promoteds
|
|
42
|
+
partialResults?: PartialResult[];
|
|
43
|
+
promoteds?: Promoted[];
|
|
44
44
|
queryTagging: TaggingInfo;
|
|
45
|
-
redirections
|
|
45
|
+
redirections?: Redirection[];
|
|
46
46
|
results: Result[];
|
|
47
|
-
spellcheck
|
|
47
|
+
spellcheck?: string;
|
|
48
48
|
totalResults: number;
|
|
49
49
|
}
|
|
50
50
|
/**
|