@empathyco/x-adapter-platform 1.6.1 → 1.7.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.
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.platformAdapter = void 0;
|
|
4
4
|
const suggestions_search_endpoint_adapter_1 = require("./endpoint-adapters/ai/suggestions-search.endpoint-adapter");
|
|
5
5
|
const suggestions_endpoint_adapter_1 = require("./endpoint-adapters/ai/suggestions.endpoint-adapter");
|
|
6
|
+
const browse_endpoint_adapter_1 = require("./endpoint-adapters/browse.endpoint-adapter");
|
|
6
7
|
const experience_controls_endpoint_adapter_1 = require("./endpoint-adapters/experience-controls.endpoint-adapter");
|
|
7
8
|
const facets_endpoint_adapter_1 = require("./endpoint-adapters/facets.endpoint-adapter");
|
|
8
9
|
const identifier_results_endpoint_adapter_1 = require("./endpoint-adapters/identifier-results.endpoint-adapter");
|
|
@@ -35,5 +36,6 @@ exports.platformAdapter = {
|
|
|
35
36
|
aiSuggestions: suggestions_endpoint_adapter_1.aiSuggestionsEndpointAdapter,
|
|
36
37
|
aiSuggestionsSearch: suggestions_search_endpoint_adapter_1.aiSuggestionsSearchEndpointAdapter,
|
|
37
38
|
facets: facets_endpoint_adapter_1.facetsEndpointAdapter,
|
|
39
|
+
browse: browse_endpoint_adapter_1.browseEndpointAdapter,
|
|
38
40
|
};
|
|
39
41
|
//# sourceMappingURL=platform.adapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.adapter.js","sourceRoot":"","sources":["../../src/platform.adapter.ts"],"names":[],"mappings":";;;AACA,oHAA+G;AAC/G,sGAAkG;AAClG,mHAA4G;AAC5G,yFAAmF;AACnF,iHAA0G;AAC1G,qGAA8F;AAC9F,6GAAsG;AACtG,+GAAwG;AACxG,2GAAqG;AACrG,2GAAoG;AACpG,qGAA8F;AAC9F,yFAAmF;AACnF,6GAAsG;AACtG,2FAAqF;AAErF;;;;GAIG;AACU,QAAA,eAAe,GAAoB;IAC9C,MAAM,EAAE,+CAAqB;IAC7B,eAAe,EAAE,kEAA8B;IAC/C,eAAe,EAAE,iEAA8B;IAC/C,WAAW,EAAE,0DAA0B;IACvC,gBAAgB,EAAE,oEAA+B;IACjD,cAAc,EAAE,gEAA6B;IAC7C,WAAW,EAAE,0DAA0B;IACvC,iBAAiB,EAAE,sEAAgC;IACnD,OAAO,EAAE,iDAAsB;IAC/B,eAAe,EAAE,kEAA8B;IAC/C,kBAAkB,EAAE,wEAAiC;IACrD,aAAa,EAAE,2DAA4B;IAC3C,mBAAmB,EAAE,wEAAkC;IACvD,MAAM,EAAE,+CAAqB;CAC9B,CAAA","sourcesContent":["import type { PlatformAdapter } from './types/platform-adapter.types'\nimport { aiSuggestionsSearchEndpointAdapter } from './endpoint-adapters/ai/suggestions-search.endpoint-adapter'\nimport { aiSuggestionsEndpointAdapter } from './endpoint-adapters/ai/suggestions.endpoint-adapter'\nimport { experienceControlsEndpointAdapter } from './endpoint-adapters/experience-controls.endpoint-adapter'\nimport { facetsEndpointAdapter } from './endpoint-adapters/facets.endpoint-adapter'\nimport { identifierResultsEndpointAdapter } from './endpoint-adapters/identifier-results.endpoint-adapter'\nimport { nextQueriesEndpointAdapter } from './endpoint-adapters/next-queries.endpoint-adapter'\nimport { popularSearchesEndpointAdapter } from './endpoint-adapters/popular-searches.endpoint-adapter'\nimport { querySuggestionsEndpointAdapter } from './endpoint-adapters/query-suggestions.endpoint-adapter'\nimport { recommendationsEndpointAdapter } from './endpoint-adapters/recommendations.endpoint-adapter'\nimport { relatedPromptsEndpointAdapter } from './endpoint-adapters/related-prompts.endpoint-adapter'\nimport { relatedTagsEndpointAdapter } from './endpoint-adapters/related-tags.endpoint-adapter'\nimport { searchEndpointAdapter } from './endpoint-adapters/search.endpoint-adapter'\nimport { semanticQueriesEndpointAdapter } from './endpoint-adapters/semantic-queries.endpoint-adapter'\nimport { taggingEndpointAdapter } from './endpoint-adapters/tagging.endpoint-adapter'\n\n/**\n * Default implementation for the PlatformAdapter.\n *\n * @public\n */\nexport const platformAdapter: PlatformAdapter = {\n search: searchEndpointAdapter,\n popularSearches: popularSearchesEndpointAdapter,\n recommendations: recommendationsEndpointAdapter,\n nextQueries: nextQueriesEndpointAdapter,\n querySuggestions: querySuggestionsEndpointAdapter,\n relatedPrompts: relatedPromptsEndpointAdapter,\n relatedTags: relatedTagsEndpointAdapter,\n identifierResults: identifierResultsEndpointAdapter,\n tagging: taggingEndpointAdapter,\n semanticQueries: semanticQueriesEndpointAdapter,\n experienceControls: experienceControlsEndpointAdapter,\n aiSuggestions: aiSuggestionsEndpointAdapter,\n aiSuggestionsSearch: aiSuggestionsSearchEndpointAdapter,\n facets: facetsEndpointAdapter,\n}\n"]}
|
|
1
|
+
{"version":3,"file":"platform.adapter.js","sourceRoot":"","sources":["../../src/platform.adapter.ts"],"names":[],"mappings":";;;AACA,oHAA+G;AAC/G,sGAAkG;AAClG,yFAAmF;AACnF,mHAA4G;AAC5G,yFAAmF;AACnF,iHAA0G;AAC1G,qGAA8F;AAC9F,6GAAsG;AACtG,+GAAwG;AACxG,2GAAqG;AACrG,2GAAoG;AACpG,qGAA8F;AAC9F,yFAAmF;AACnF,6GAAsG;AACtG,2FAAqF;AAErF;;;;GAIG;AACU,QAAA,eAAe,GAAoB;IAC9C,MAAM,EAAE,+CAAqB;IAC7B,eAAe,EAAE,kEAA8B;IAC/C,eAAe,EAAE,iEAA8B;IAC/C,WAAW,EAAE,0DAA0B;IACvC,gBAAgB,EAAE,oEAA+B;IACjD,cAAc,EAAE,gEAA6B;IAC7C,WAAW,EAAE,0DAA0B;IACvC,iBAAiB,EAAE,sEAAgC;IACnD,OAAO,EAAE,iDAAsB;IAC/B,eAAe,EAAE,kEAA8B;IAC/C,kBAAkB,EAAE,wEAAiC;IACrD,aAAa,EAAE,2DAA4B;IAC3C,mBAAmB,EAAE,wEAAkC;IACvD,MAAM,EAAE,+CAAqB;IAC7B,MAAM,EAAE,+CAAqB;CAC9B,CAAA","sourcesContent":["import type { PlatformAdapter } from './types/platform-adapter.types'\nimport { aiSuggestionsSearchEndpointAdapter } from './endpoint-adapters/ai/suggestions-search.endpoint-adapter'\nimport { aiSuggestionsEndpointAdapter } from './endpoint-adapters/ai/suggestions.endpoint-adapter'\nimport { browseEndpointAdapter } from './endpoint-adapters/browse.endpoint-adapter'\nimport { experienceControlsEndpointAdapter } from './endpoint-adapters/experience-controls.endpoint-adapter'\nimport { facetsEndpointAdapter } from './endpoint-adapters/facets.endpoint-adapter'\nimport { identifierResultsEndpointAdapter } from './endpoint-adapters/identifier-results.endpoint-adapter'\nimport { nextQueriesEndpointAdapter } from './endpoint-adapters/next-queries.endpoint-adapter'\nimport { popularSearchesEndpointAdapter } from './endpoint-adapters/popular-searches.endpoint-adapter'\nimport { querySuggestionsEndpointAdapter } from './endpoint-adapters/query-suggestions.endpoint-adapter'\nimport { recommendationsEndpointAdapter } from './endpoint-adapters/recommendations.endpoint-adapter'\nimport { relatedPromptsEndpointAdapter } from './endpoint-adapters/related-prompts.endpoint-adapter'\nimport { relatedTagsEndpointAdapter } from './endpoint-adapters/related-tags.endpoint-adapter'\nimport { searchEndpointAdapter } from './endpoint-adapters/search.endpoint-adapter'\nimport { semanticQueriesEndpointAdapter } from './endpoint-adapters/semantic-queries.endpoint-adapter'\nimport { taggingEndpointAdapter } from './endpoint-adapters/tagging.endpoint-adapter'\n\n/**\n * Default implementation for the PlatformAdapter.\n *\n * @public\n */\nexport const platformAdapter: PlatformAdapter = {\n search: searchEndpointAdapter,\n popularSearches: popularSearchesEndpointAdapter,\n recommendations: recommendationsEndpointAdapter,\n nextQueries: nextQueriesEndpointAdapter,\n querySuggestions: querySuggestionsEndpointAdapter,\n relatedPrompts: relatedPromptsEndpointAdapter,\n relatedTags: relatedTagsEndpointAdapter,\n identifierResults: identifierResultsEndpointAdapter,\n tagging: taggingEndpointAdapter,\n semanticQueries: semanticQueriesEndpointAdapter,\n experienceControls: experienceControlsEndpointAdapter,\n aiSuggestions: aiSuggestionsEndpointAdapter,\n aiSuggestionsSearch: aiSuggestionsSearchEndpointAdapter,\n facets: facetsEndpointAdapter,\n browse: browseEndpointAdapter,\n}\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { aiSuggestionsSearchEndpointAdapter } from './endpoint-adapters/ai/suggestions-search.endpoint-adapter';
|
|
2
2
|
import { aiSuggestionsEndpointAdapter } from './endpoint-adapters/ai/suggestions.endpoint-adapter';
|
|
3
|
+
import { browseEndpointAdapter } from './endpoint-adapters/browse.endpoint-adapter';
|
|
3
4
|
import { experienceControlsEndpointAdapter } from './endpoint-adapters/experience-controls.endpoint-adapter';
|
|
4
5
|
import { facetsEndpointAdapter } from './endpoint-adapters/facets.endpoint-adapter';
|
|
5
6
|
import { identifierResultsEndpointAdapter } from './endpoint-adapters/identifier-results.endpoint-adapter';
|
|
@@ -32,5 +33,6 @@ export const platformAdapter = {
|
|
|
32
33
|
aiSuggestions: aiSuggestionsEndpointAdapter,
|
|
33
34
|
aiSuggestionsSearch: aiSuggestionsSearchEndpointAdapter,
|
|
34
35
|
facets: facetsEndpointAdapter,
|
|
36
|
+
browse: browseEndpointAdapter,
|
|
35
37
|
};
|
|
36
38
|
//# sourceMappingURL=platform.adapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.adapter.js","sourceRoot":"","sources":["../../src/platform.adapter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kCAAkC,EAAE,MAAM,4DAA4D,CAAA;AAC/G,OAAO,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAA;AAClG,OAAO,EAAE,iCAAiC,EAAE,MAAM,0DAA0D,CAAA;AAC5G,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AACnF,OAAO,EAAE,gCAAgC,EAAE,MAAM,yDAAyD,CAAA;AAC1G,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAA;AAC9F,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAA;AACtG,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAA;AACxG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAA;AACrG,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAA;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAA;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AACnF,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAA;AACtG,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAA;AAErF;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,MAAM,EAAE,qBAAqB;IAC7B,eAAe,EAAE,8BAA8B;IAC/C,eAAe,EAAE,8BAA8B;IAC/C,WAAW,EAAE,0BAA0B;IACvC,gBAAgB,EAAE,+BAA+B;IACjD,cAAc,EAAE,6BAA6B;IAC7C,WAAW,EAAE,0BAA0B;IACvC,iBAAiB,EAAE,gCAAgC;IACnD,OAAO,EAAE,sBAAsB;IAC/B,eAAe,EAAE,8BAA8B;IAC/C,kBAAkB,EAAE,iCAAiC;IACrD,aAAa,EAAE,4BAA4B;IAC3C,mBAAmB,EAAE,kCAAkC;IACvD,MAAM,EAAE,qBAAqB;CAC9B,CAAA","sourcesContent":["import type { PlatformAdapter } from './types/platform-adapter.types'\nimport { aiSuggestionsSearchEndpointAdapter } from './endpoint-adapters/ai/suggestions-search.endpoint-adapter'\nimport { aiSuggestionsEndpointAdapter } from './endpoint-adapters/ai/suggestions.endpoint-adapter'\nimport { experienceControlsEndpointAdapter } from './endpoint-adapters/experience-controls.endpoint-adapter'\nimport { facetsEndpointAdapter } from './endpoint-adapters/facets.endpoint-adapter'\nimport { identifierResultsEndpointAdapter } from './endpoint-adapters/identifier-results.endpoint-adapter'\nimport { nextQueriesEndpointAdapter } from './endpoint-adapters/next-queries.endpoint-adapter'\nimport { popularSearchesEndpointAdapter } from './endpoint-adapters/popular-searches.endpoint-adapter'\nimport { querySuggestionsEndpointAdapter } from './endpoint-adapters/query-suggestions.endpoint-adapter'\nimport { recommendationsEndpointAdapter } from './endpoint-adapters/recommendations.endpoint-adapter'\nimport { relatedPromptsEndpointAdapter } from './endpoint-adapters/related-prompts.endpoint-adapter'\nimport { relatedTagsEndpointAdapter } from './endpoint-adapters/related-tags.endpoint-adapter'\nimport { searchEndpointAdapter } from './endpoint-adapters/search.endpoint-adapter'\nimport { semanticQueriesEndpointAdapter } from './endpoint-adapters/semantic-queries.endpoint-adapter'\nimport { taggingEndpointAdapter } from './endpoint-adapters/tagging.endpoint-adapter'\n\n/**\n * Default implementation for the PlatformAdapter.\n *\n * @public\n */\nexport const platformAdapter: PlatformAdapter = {\n search: searchEndpointAdapter,\n popularSearches: popularSearchesEndpointAdapter,\n recommendations: recommendationsEndpointAdapter,\n nextQueries: nextQueriesEndpointAdapter,\n querySuggestions: querySuggestionsEndpointAdapter,\n relatedPrompts: relatedPromptsEndpointAdapter,\n relatedTags: relatedTagsEndpointAdapter,\n identifierResults: identifierResultsEndpointAdapter,\n tagging: taggingEndpointAdapter,\n semanticQueries: semanticQueriesEndpointAdapter,\n experienceControls: experienceControlsEndpointAdapter,\n aiSuggestions: aiSuggestionsEndpointAdapter,\n aiSuggestionsSearch: aiSuggestionsSearchEndpointAdapter,\n facets: facetsEndpointAdapter,\n}\n"]}
|
|
1
|
+
{"version":3,"file":"platform.adapter.js","sourceRoot":"","sources":["../../src/platform.adapter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kCAAkC,EAAE,MAAM,4DAA4D,CAAA;AAC/G,OAAO,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAA;AAClG,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AACnF,OAAO,EAAE,iCAAiC,EAAE,MAAM,0DAA0D,CAAA;AAC5G,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AACnF,OAAO,EAAE,gCAAgC,EAAE,MAAM,yDAAyD,CAAA;AAC1G,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAA;AAC9F,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAA;AACtG,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAA;AACxG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAA;AACrG,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAA;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAA;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AACnF,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAA;AACtG,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAA;AAErF;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,MAAM,EAAE,qBAAqB;IAC7B,eAAe,EAAE,8BAA8B;IAC/C,eAAe,EAAE,8BAA8B;IAC/C,WAAW,EAAE,0BAA0B;IACvC,gBAAgB,EAAE,+BAA+B;IACjD,cAAc,EAAE,6BAA6B;IAC7C,WAAW,EAAE,0BAA0B;IACvC,iBAAiB,EAAE,gCAAgC;IACnD,OAAO,EAAE,sBAAsB;IAC/B,eAAe,EAAE,8BAA8B;IAC/C,kBAAkB,EAAE,iCAAiC;IACrD,aAAa,EAAE,4BAA4B;IAC3C,mBAAmB,EAAE,kCAAkC;IACvD,MAAM,EAAE,qBAAqB;IAC7B,MAAM,EAAE,qBAAqB;CAC9B,CAAA","sourcesContent":["import type { PlatformAdapter } from './types/platform-adapter.types'\nimport { aiSuggestionsSearchEndpointAdapter } from './endpoint-adapters/ai/suggestions-search.endpoint-adapter'\nimport { aiSuggestionsEndpointAdapter } from './endpoint-adapters/ai/suggestions.endpoint-adapter'\nimport { browseEndpointAdapter } from './endpoint-adapters/browse.endpoint-adapter'\nimport { experienceControlsEndpointAdapter } from './endpoint-adapters/experience-controls.endpoint-adapter'\nimport { facetsEndpointAdapter } from './endpoint-adapters/facets.endpoint-adapter'\nimport { identifierResultsEndpointAdapter } from './endpoint-adapters/identifier-results.endpoint-adapter'\nimport { nextQueriesEndpointAdapter } from './endpoint-adapters/next-queries.endpoint-adapter'\nimport { popularSearchesEndpointAdapter } from './endpoint-adapters/popular-searches.endpoint-adapter'\nimport { querySuggestionsEndpointAdapter } from './endpoint-adapters/query-suggestions.endpoint-adapter'\nimport { recommendationsEndpointAdapter } from './endpoint-adapters/recommendations.endpoint-adapter'\nimport { relatedPromptsEndpointAdapter } from './endpoint-adapters/related-prompts.endpoint-adapter'\nimport { relatedTagsEndpointAdapter } from './endpoint-adapters/related-tags.endpoint-adapter'\nimport { searchEndpointAdapter } from './endpoint-adapters/search.endpoint-adapter'\nimport { semanticQueriesEndpointAdapter } from './endpoint-adapters/semantic-queries.endpoint-adapter'\nimport { taggingEndpointAdapter } from './endpoint-adapters/tagging.endpoint-adapter'\n\n/**\n * Default implementation for the PlatformAdapter.\n *\n * @public\n */\nexport const platformAdapter: PlatformAdapter = {\n search: searchEndpointAdapter,\n popularSearches: popularSearchesEndpointAdapter,\n recommendations: recommendationsEndpointAdapter,\n nextQueries: nextQueriesEndpointAdapter,\n querySuggestions: querySuggestionsEndpointAdapter,\n relatedPrompts: relatedPromptsEndpointAdapter,\n relatedTags: relatedTagsEndpointAdapter,\n identifierResults: identifierResultsEndpointAdapter,\n tagging: taggingEndpointAdapter,\n semanticQueries: semanticQueriesEndpointAdapter,\n experienceControls: experienceControlsEndpointAdapter,\n aiSuggestions: aiSuggestionsEndpointAdapter,\n aiSuggestionsSearch: aiSuggestionsSearchEndpointAdapter,\n facets: facetsEndpointAdapter,\n browse: browseEndpointAdapter,\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-adapter-platform",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "A search client for the Empathy Platform API",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@empathyco/x-adapter": "8.1.8",
|
|
51
|
-
"@empathyco/x-types": "10.
|
|
51
|
+
"@empathyco/x-types": "10.5.0",
|
|
52
52
|
"@empathyco/x-utils": "1.0.9"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "23e3552d048891be2001b0ba6264f694b1d54618"
|
|
66
66
|
}
|