@empathyco/x-adapter-platform 1.0.0-alpha.73 → 1.0.0-alpha.74
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/dist/cjs/schemas/requests/semantic-queries-request.schema.js +2 -2
- package/dist/cjs/schemas/requests/semantic-queries-request.schema.js.map +1 -1
- package/dist/esm/schemas/requests/semantic-queries-request.schema.js +1 -1
- package/dist/esm/schemas/requests/semantic-queries-request.schema.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.semanticQueriesRequestSchema = void 0;
|
|
4
4
|
const x_adapter_1 = require("@empathyco/x-adapter");
|
|
5
|
-
const
|
|
5
|
+
const x_utils_1 = require("@empathyco/x-utils");
|
|
6
6
|
/**
|
|
7
7
|
* Default implementation for the SemanticQueriesRequestSchema.
|
|
8
8
|
*
|
|
@@ -11,7 +11,7 @@ const src_1 = require("@empathyco/x-utils/src");
|
|
|
11
11
|
exports.semanticQueriesRequestSchema = (0, x_adapter_1.createMutableSchema)({
|
|
12
12
|
q: 'query',
|
|
13
13
|
extraParams: ({ extraParams }) => {
|
|
14
|
-
return (0,
|
|
14
|
+
return (0, x_utils_1.objectFilter)(extraParams, key => key !== 'instance');
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
//# sourceMappingURL=semantic-queries-request.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semantic-queries-request.schema.js","sourceRoot":"","sources":["../../../../src/schemas/requests/semantic-queries-request.schema.ts"],"names":[],"mappings":";;;AAAA,oDAA2D;AAE3D,
|
|
1
|
+
{"version":3,"file":"semantic-queries-request.schema.js","sourceRoot":"","sources":["../../../../src/schemas/requests/semantic-queries-request.schema.ts"],"names":[],"mappings":";;;AAAA,oDAA2D;AAE3D,gDAAkD;AAGlD;;;;GAIG;AACU,QAAA,4BAA4B,GAAG,IAAA,+BAAmB,EAG7D;IACA,CAAC,EAAE,OAAO;IACV,WAAW,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE;QAC/B,OAAO,IAAA,sBAAY,EAAC,WAAW,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,UAAU,CAAC,CAAC;IAC9D,CAAC;CACF,CAAC,CAAC","sourcesContent":["import { createMutableSchema } from '@empathyco/x-adapter';\nimport { SemanticQueriesRequest } from '@empathyco/x-types';\nimport { objectFilter } from '@empathyco/x-utils';\nimport { PlatformSemanticQueriesRequest } from '../../types';\n\n/**\n * Default implementation for the SemanticQueriesRequestSchema.\n *\n * @public\n */\nexport const semanticQueriesRequestSchema = createMutableSchema<\n SemanticQueriesRequest,\n PlatformSemanticQueriesRequest\n>({\n q: 'query',\n extraParams: ({ extraParams }) => {\n return objectFilter(extraParams, key => key !== 'instance');\n }\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semantic-queries-request.schema.js","sourceRoot":"","sources":["../../../../src/schemas/requests/semantic-queries-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"semantic-queries-request.schema.js","sourceRoot":"","sources":["../../../../src/schemas/requests/semantic-queries-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD;;;;GAIG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,mBAAmB,CAG7D;IACA,CAAC,EAAE,OAAO;IACV,WAAW,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE;QAC/B,OAAO,YAAY,CAAC,WAAW,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,UAAU,CAAC,CAAC;IAC9D,CAAC;CACF,CAAC,CAAC","sourcesContent":["import { createMutableSchema } from '@empathyco/x-adapter';\nimport { SemanticQueriesRequest } from '@empathyco/x-types';\nimport { objectFilter } from '@empathyco/x-utils';\nimport { PlatformSemanticQueriesRequest } from '../../types';\n\n/**\n * Default implementation for the SemanticQueriesRequestSchema.\n *\n * @public\n */\nexport const semanticQueriesRequestSchema = createMutableSchema<\n SemanticQueriesRequest,\n PlatformSemanticQueriesRequest\n>({\n q: 'query',\n extraParams: ({ extraParams }) => {\n return objectFilter(extraParams, key => key !== 'instance');\n }\n});\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-adapter-platform",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.74",
|
|
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",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "43c97a54135fa96f84a810623d813e1e75eed617"
|
|
62
62
|
}
|