1 |
|
2 |
|
3 | import { __assign } from "tslib";
|
4 | import { ConsoleLogger as Logger } from '@aws-amplify/core';
|
5 | var logger = new Logger('AbstractInteractionsProvider');
|
6 | var AbstractInteractionsProvider = (function () {
|
7 | function AbstractInteractionsProvider(options) {
|
8 | if (options === void 0) { options = {}; }
|
9 | this._config = options;
|
10 | }
|
11 | AbstractInteractionsProvider.prototype.configure = function (config) {
|
12 | if (config === void 0) { config = {}; }
|
13 | this._config = __assign(__assign({}, this._config), config);
|
14 | logger.debug("configure " + this.getProviderName(), this._config);
|
15 | return this.options;
|
16 | };
|
17 | AbstractInteractionsProvider.prototype.getCategory = function () {
|
18 | return 'Interactions';
|
19 | };
|
20 | Object.defineProperty(AbstractInteractionsProvider.prototype, "options", {
|
21 | get: function () {
|
22 | return __assign({}, this._config);
|
23 | },
|
24 | enumerable: true,
|
25 | configurable: true
|
26 | });
|
27 | return AbstractInteractionsProvider;
|
28 | }());
|
29 | export { AbstractInteractionsProvider };
|
30 |
|
\ | No newline at end of file |