@empathyco/x-adapter-platform 1.0.0-alpha.22 → 1.0.0-alpha.23
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/endpoint-adapters/tagging.endpoint-adapter.js +1 -1
- package/dist/cjs/endpoint-adapters/tagging.endpoint-adapter.js.map +1 -1
- package/dist/cjs/mappers/requests/tagging-request.mapper.js +2 -3
- package/dist/cjs/mappers/requests/tagging-request.mapper.js.map +1 -1
- package/dist/cjs/schemas/requests/index.js +0 -1
- package/dist/cjs/schemas/requests/index.js.map +1 -1
- package/dist/esm/endpoint-adapters/tagging.endpoint-adapter.js +2 -2
- package/dist/esm/endpoint-adapters/tagging.endpoint-adapter.js.map +1 -1
- package/dist/esm/mappers/requests/tagging-request.mapper.js +1 -3
- package/dist/esm/mappers/requests/tagging-request.mapper.js.map +1 -1
- package/dist/esm/schemas/requests/index.js +0 -1
- package/dist/esm/schemas/requests/index.js.map +1 -1
- package/dist/types/mappers/requests/tagging-request.mapper.d.ts +2 -1
- package/dist/types/schemas/requests/index.d.ts +0 -1
- package/package.json +4 -4
- package/dist/cjs/schemas/requests/tagging-request.schema.js +0 -6
- package/dist/cjs/schemas/requests/tagging-request.schema.js.map +0 -1
- package/dist/esm/schemas/requests/tagging-request.schema.js +0 -3
- package/dist/esm/schemas/requests/tagging-request.schema.js.map +0 -1
- package/dist/types/schemas/requests/tagging-request.schema.d.ts +0 -3
|
@@ -4,7 +4,7 @@ exports.taggingEndpointAdapter = void 0;
|
|
|
4
4
|
const x_adapter_1 = require("@empathyco/x-adapter");
|
|
5
5
|
const tagging_request_mapper_1 = require("../mappers/requests/tagging-request.mapper");
|
|
6
6
|
exports.taggingEndpointAdapter = (0, x_adapter_1.endpointAdapterFactory)({
|
|
7
|
-
endpoint: ({ url
|
|
7
|
+
endpoint: ({ url }) => url,
|
|
8
8
|
httpClient: x_adapter_1.beaconHttpClient,
|
|
9
9
|
requestMapper: tagging_request_mapper_1.taggingRequestMapper
|
|
10
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagging.endpoint-adapter.js","sourceRoot":"","sources":["../../../src/endpoint-adapters/tagging.endpoint-adapter.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"tagging.endpoint-adapter.js","sourceRoot":"","sources":["../../../src/endpoint-adapters/tagging.endpoint-adapter.ts"],"names":[],"mappings":";;;AAAA,oDAAgF;AAEhF,uFAAkF;AAErE,QAAA,sBAAsB,GAAG,IAAA,kCAAsB,EAAuB;IACjF,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG;IAC1B,UAAU,EAAE,4BAAgB;IAC5B,aAAa,EAAE,6CAAoB;CACpC,CAAC,CAAC","sourcesContent":["import { beaconHttpClient, endpointAdapterFactory } from '@empathyco/x-adapter';\nimport { TaggingRequest } from '@empathyco/x-types';\nimport { taggingRequestMapper } from '../mappers/requests/tagging-request.mapper';\n\nexport const taggingEndpointAdapter = endpointAdapterFactory<TaggingRequest, void>({\n endpoint: ({ url }) => url,\n httpClient: beaconHttpClient,\n requestMapper: taggingRequestMapper\n});\n"]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.taggingRequestMapper = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
exports.taggingRequestMapper = (0, x_adapter_1.schemaMapperFactory)(tagging_request_schema_1.taggingRequestMutableSchema);
|
|
4
|
+
const taggingRequestMapper = ({ params }) => params;
|
|
5
|
+
exports.taggingRequestMapper = taggingRequestMapper;
|
|
7
6
|
//# sourceMappingURL=tagging-request.mapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagging-request.mapper.js","sourceRoot":"","sources":["../../../../src/mappers/requests/tagging-request.mapper.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"tagging-request.mapper.js","sourceRoot":"","sources":["../../../../src/mappers/requests/tagging-request.mapper.ts"],"names":[],"mappings":";;;AAGO,MAAM,oBAAoB,GAAgC,CAAC,EAAE,MAAM,EAAkB,EAAE,EAAE,CAC9F,MAAM,CAAC;AADI,QAAA,oBAAoB,wBACxB","sourcesContent":["import { Mapper } from '@empathyco/x-adapter';\nimport { TaggingRequest } from '@empathyco/x-types';\n\nexport const taggingRequestMapper: Mapper<TaggingRequest, any> = ({ params }: TaggingRequest) =>\n params;\n"]}
|
|
@@ -8,5 +8,4 @@ tslib_1.__exportStar(require("./query-suggestions-request.schema"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./related-tags-request.schema"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./recommendations-request.schema"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./search-request.schema"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./tagging-request.schema"), exports);
|
|
12
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schemas/requests/index.ts"],"names":[],"mappings":";;;AAAA,8EAAoD;AACpD,wEAA8C;AAC9C,4EAAkD;AAClD,6EAAmD;AACnD,wEAA8C;AAC9C,2EAAiD;AACjD,kEAAwC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schemas/requests/index.ts"],"names":[],"mappings":";;;AAAA,8EAAoD;AACpD,wEAA8C;AAC9C,4EAAkD;AAClD,6EAAmD;AACnD,wEAA8C;AAC9C,2EAAiD;AACjD,kEAAwC","sourcesContent":["export * from './identifier-results-request.schema';\nexport * from './next-queries-request.schema';\nexport * from './popular-searches-request.schema';\nexport * from './query-suggestions-request.schema';\nexport * from './related-tags-request.schema';\nexport * from './recommendations-request.schema';\nexport * from './search-request.schema';\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { beaconHttpClient, endpointAdapterFactory
|
|
1
|
+
import { beaconHttpClient, endpointAdapterFactory } from '@empathyco/x-adapter';
|
|
2
2
|
import { taggingRequestMapper } from '../mappers/requests/tagging-request.mapper';
|
|
3
3
|
export const taggingEndpointAdapter = endpointAdapterFactory({
|
|
4
|
-
endpoint: ({ url
|
|
4
|
+
endpoint: ({ url }) => url,
|
|
5
5
|
httpClient: beaconHttpClient,
|
|
6
6
|
requestMapper: taggingRequestMapper
|
|
7
7
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagging.endpoint-adapter.js","sourceRoot":"","sources":["../../../src/endpoint-adapters/tagging.endpoint-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,
|
|
1
|
+
{"version":3,"file":"tagging.endpoint-adapter.js","sourceRoot":"","sources":["../../../src/endpoint-adapters/tagging.endpoint-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAEhF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAElF,MAAM,CAAC,MAAM,sBAAsB,GAAG,sBAAsB,CAAuB;IACjF,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG;IAC1B,UAAU,EAAE,gBAAgB;IAC5B,aAAa,EAAE,oBAAoB;CACpC,CAAC,CAAC","sourcesContent":["import { beaconHttpClient, endpointAdapterFactory } from '@empathyco/x-adapter';\nimport { TaggingRequest } from '@empathyco/x-types';\nimport { taggingRequestMapper } from '../mappers/requests/tagging-request.mapper';\n\nexport const taggingEndpointAdapter = endpointAdapterFactory<TaggingRequest, void>({\n endpoint: ({ url }) => url,\n httpClient: beaconHttpClient,\n requestMapper: taggingRequestMapper\n});\n"]}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { taggingRequestMutableSchema } from '../../schemas/requests/tagging-request.schema';
|
|
3
|
-
export const taggingRequestMapper = schemaMapperFactory(taggingRequestMutableSchema);
|
|
1
|
+
export const taggingRequestMapper = ({ params }) => params;
|
|
4
2
|
//# sourceMappingURL=tagging-request.mapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagging-request.mapper.js","sourceRoot":"","sources":["../../../../src/mappers/requests/tagging-request.mapper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tagging-request.mapper.js","sourceRoot":"","sources":["../../../../src/mappers/requests/tagging-request.mapper.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,oBAAoB,GAAgC,CAAC,EAAE,MAAM,EAAkB,EAAE,EAAE,CAC9F,MAAM,CAAC","sourcesContent":["import { Mapper } from '@empathyco/x-adapter';\nimport { TaggingRequest } from '@empathyco/x-types';\n\nexport const taggingRequestMapper: Mapper<TaggingRequest, any> = ({ params }: TaggingRequest) =>\n params;\n"]}
|
|
@@ -5,5 +5,4 @@ export * from './query-suggestions-request.schema';
|
|
|
5
5
|
export * from './related-tags-request.schema';
|
|
6
6
|
export * from './recommendations-request.schema';
|
|
7
7
|
export * from './search-request.schema';
|
|
8
|
-
export * from './tagging-request.schema';
|
|
9
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schemas/requests/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schemas/requests/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './identifier-results-request.schema';\nexport * from './next-queries-request.schema';\nexport * from './popular-searches-request.schema';\nexport * from './query-suggestions-request.schema';\nexport * from './related-tags-request.schema';\nexport * from './recommendations-request.schema';\nexport * from './search-request.schema';\n"]}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { Mapper } from '@empathyco/x-adapter';
|
|
1
2
|
import { TaggingRequest } from '@empathyco/x-types';
|
|
2
|
-
export declare const taggingRequestMapper:
|
|
3
|
+
export declare const taggingRequestMapper: Mapper<TaggingRequest, any>;
|
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.23",
|
|
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",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"prepublishOnly": "npm run build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@empathyco/x-adapter": "^8.0.0-alpha.
|
|
39
|
-
"@empathyco/x-types": "^10.0.0-alpha.
|
|
38
|
+
"@empathyco/x-adapter": "^8.0.0-alpha.3",
|
|
39
|
+
"@empathyco/x-types": "^10.0.0-alpha.27",
|
|
40
40
|
"@empathyco/x-utils": "^1.0.0-alpha.5",
|
|
41
41
|
"tslib": "~2.3.0"
|
|
42
42
|
},
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "a94853e17793bab55cecf8dc9cd6ffedd1ac8812"
|
|
57
57
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.taggingRequestMutableSchema = void 0;
|
|
4
|
-
const x_adapter_1 = require("@empathyco/x-adapter");
|
|
5
|
-
exports.taggingRequestMutableSchema = (0, x_adapter_1.createMutableSchema)({});
|
|
6
|
-
//# sourceMappingURL=tagging-request.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tagging-request.schema.js","sourceRoot":"","sources":["../../../../src/schemas/requests/tagging-request.schema.ts"],"names":[],"mappings":";;;AAAA,oDAAmE;AAGtD,QAAA,2BAA2B,GAAG,IAAA,+BAAmB,EAA8B,EAAE,CAAC,CAAC","sourcesContent":["import { createMutableSchema, Schema } from '@empathyco/x-adapter';\nimport { TaggingRequest } from '@empathyco/x-types';\n\nexport const taggingRequestMutableSchema = createMutableSchema<Schema<TaggingRequest, any>>({});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tagging-request.schema.js","sourceRoot":"","sources":["../../../../src/schemas/requests/tagging-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAU,MAAM,sBAAsB,CAAC;AAGnE,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAA8B,EAAE,CAAC,CAAC","sourcesContent":["import { createMutableSchema, Schema } from '@empathyco/x-adapter';\nimport { TaggingRequest } from '@empathyco/x-types';\n\nexport const taggingRequestMutableSchema = createMutableSchema<Schema<TaggingRequest, any>>({});\n"]}
|