123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- "use strict";
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.default = void 0;
- var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
- var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
- var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
- var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
- var _ParseObject2 = _interopRequireDefault(require("./ParseObject"));
- /**
- * Copyright (c) 2015-present, Parse, LLC.
- * All rights reserved.
- *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
- *
- * @flow
- */
- var Installation =
- /*#__PURE__*/
- function (_ParseObject) {
- (0, _inherits2.default)(Installation, _ParseObject);
- function Installation(attributes
- /*: ?AttributeMap*/
- ) {
- var _this;
- (0, _classCallCheck2.default)(this, Installation);
- _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(Installation).call(this, '_Installation'));
- if (attributes && (0, _typeof2.default)(attributes) === 'object') {
- if (!_this.set(attributes || {})) {
- throw new Error('Can\'t create an invalid Session');
- }
- }
- return _this;
- }
- return Installation;
- }(_ParseObject2.default);
- exports.default = Installation;
- _ParseObject2.default.registerSubclass('_Installation', Installation);
|