@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.
@@ -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, params }) => (0, x_adapter_1.buildUrl)(url, params),
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,oDAA0F;AAE1F,uFAAkF;AAErE,QAAA,sBAAsB,GAAG,IAAA,kCAAsB,EAAuB;IACjF,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,IAAA,oBAAQ,EAAC,GAAG,EAAE,MAAM,CAAC;IACpD,UAAU,EAAE,4BAAgB;IAC5B,aAAa,EAAE,6CAAoB;CACpC,CAAC,CAAC","sourcesContent":["import { beaconHttpClient, endpointAdapterFactory, buildUrl } 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, params }) => buildUrl(url, params),\n httpClient: beaconHttpClient,\n requestMapper: taggingRequestMapper\n});\n"]}
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 x_adapter_1 = require("@empathyco/x-adapter");
5
- const tagging_request_schema_1 = require("../../schemas/requests/tagging-request.schema");
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":";;;AAAA,oDAA2D;AAE3D,0FAA4F;AAE/E,QAAA,oBAAoB,GAAG,IAAA,+BAAmB,EACrD,oDAA2B,CAC5B,CAAC","sourcesContent":["import { schemaMapperFactory } from '@empathyco/x-adapter';\nimport { TaggingRequest } from '@empathyco/x-types';\nimport { taggingRequestMutableSchema } from '../../schemas/requests/tagging-request.schema';\n\nexport const taggingRequestMapper = schemaMapperFactory<TaggingRequest, any>(\n taggingRequestMutableSchema\n);\n"]}
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;AACxC,mEAAyC","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';\nexport * from './tagging-request.schema';\n"]}
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, buildUrl } from '@empathyco/x-adapter';
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, params }) => buildUrl(url, params),
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,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAElF,MAAM,CAAC,MAAM,sBAAsB,GAAG,sBAAsB,CAAuB;IACjF,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACpD,UAAU,EAAE,gBAAgB;IAC5B,aAAa,EAAE,oBAAoB;CACpC,CAAC,CAAC","sourcesContent":["import { beaconHttpClient, endpointAdapterFactory, buildUrl } 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, params }) => buildUrl(url, params),\n httpClient: beaconHttpClient,\n requestMapper: taggingRequestMapper\n});\n"]}
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
- import { schemaMapperFactory } from '@empathyco/x-adapter';
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":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,+CAA+C,CAAC;AAE5F,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,2BAA2B,CAC5B,CAAC","sourcesContent":["import { schemaMapperFactory } from '@empathyco/x-adapter';\nimport { TaggingRequest } from '@empathyco/x-types';\nimport { taggingRequestMutableSchema } from '../../schemas/requests/tagging-request.schema';\n\nexport const taggingRequestMapper = schemaMapperFactory<TaggingRequest, any>(\n taggingRequestMutableSchema\n);\n"]}
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;AACxC,cAAc,0BAA0B,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';\nexport * from './tagging-request.schema';\n"]}
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: import("@empathyco/x-adapter").Mapper<TaggingRequest, any>;
3
+ export declare const taggingRequestMapper: Mapper<TaggingRequest, any>;
@@ -5,4 +5,3 @@ 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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empathyco/x-adapter-platform",
3
- "version": "1.0.0-alpha.22",
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.2",
39
- "@empathyco/x-types": "^10.0.0-alpha.26",
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": "4f0b22a49c3fe9bfbba789012e168c04ec976265"
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,3 +0,0 @@
1
- import { createMutableSchema } from '@empathyco/x-adapter';
2
- export const taggingRequestMutableSchema = createMutableSchema({});
3
- //# 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,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"]}
@@ -1,3 +0,0 @@
1
- import { Schema } from '@empathyco/x-adapter';
2
- import { TaggingRequest } from '@empathyco/x-types';
3
- export declare const taggingRequestMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<TaggingRequest, any>>;