UNPKG

@awhere/api

Version:

The awesome aWhere API for JavaScript.

50 lines 1.53 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Configuration = /** @class */ (function () { function Configuration(props) { if (props === void 0) { props = {}; } this.theme = props.theme; this.defaultBasemap = props.defaultBasemap; this.idleDetection = props.idleDetection; } Object.defineProperty(Configuration.prototype, "theme", { get: function () { return this._theme; }, set: function (value) { this._theme = value; }, enumerable: false, configurable: true }); Object.defineProperty(Configuration.prototype, "defaultBasemap", { get: function () { return this._defaultBasemap; }, set: function (value) { this._defaultBasemap = value; }, enumerable: false, configurable: true }); Object.defineProperty(Configuration.prototype, "idleDetection", { get: function () { return this._idleDetection; }, set: function (value) { this._idleDetection = value; }, enumerable: false, configurable: true }); Configuration.prototype.toJSON = function () { return { theme: this._theme, defaultBasemap: this._defaultBasemap, idleDetection: this._idleDetection, }; }; return Configuration; }()); exports.default = Configuration; //# sourceMappingURL=Configuration.js.map