"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "AuthAdapter", { enumerable: true, get: function () { return _AuthAdapter.default; } }); Object.defineProperty(exports, "FileSystemAdapter", { enumerable: true, get: function () { return _fsFilesAdapter.default; } }); exports.GCSAdapter = void 0; Object.defineProperty(exports, "InMemoryCacheAdapter", { enumerable: true, get: function () { return _InMemoryCacheAdapter.default; } }); Object.defineProperty(exports, "LRUCacheAdapter", { enumerable: true, get: function () { return _LRUCache.default; } }); Object.defineProperty(exports, "NullCacheAdapter", { enumerable: true, get: function () { return _NullCacheAdapter.default; } }); Object.defineProperty(exports, "ParseGraphQLServer", { enumerable: true, get: function () { return _ParseGraphQLServer.ParseGraphQLServer; } }); exports.ParseServer = void 0; Object.defineProperty(exports, "PushWorker", { enumerable: true, get: function () { return _PushWorker.PushWorker; } }); Object.defineProperty(exports, "RedisCacheAdapter", { enumerable: true, get: function () { return _RedisCacheAdapter.default; } }); exports.default = exports.TestUtils = exports.SchemaMigrations = exports.S3Adapter = void 0; var _ParseServer2 = _interopRequireDefault(require("./ParseServer")); var _fsFilesAdapter = _interopRequireDefault(require("@parse/fs-files-adapter")); var _InMemoryCacheAdapter = _interopRequireDefault(require("./Adapters/Cache/InMemoryCacheAdapter")); var _NullCacheAdapter = _interopRequireDefault(require("./Adapters/Cache/NullCacheAdapter")); var _RedisCacheAdapter = _interopRequireDefault(require("./Adapters/Cache/RedisCacheAdapter")); var _LRUCache = _interopRequireDefault(require("./Adapters/Cache/LRUCache.js")); var TestUtils = _interopRequireWildcard(require("./TestUtils")); exports.TestUtils = TestUtils; var SchemaMigrations = _interopRequireWildcard(require("./SchemaMigrations/Migrations")); exports.SchemaMigrations = SchemaMigrations; var _AuthAdapter = _interopRequireDefault(require("./Adapters/Auth/AuthAdapter")); var _deprecated = require("./deprecated"); var _logger = require("./logger"); var _PushWorker = require("./Push/PushWorker"); var _Options = require("./Options"); var _ParseGraphQLServer = require("./GraphQL/ParseGraphQLServer"); function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } // Factory function const _ParseServer = function (options) { const server = new _ParseServer2.default(options); return server; }; // Mount the create liveQueryServer exports.ParseServer = _ParseServer; _ParseServer.createLiveQueryServer = _ParseServer2.default.createLiveQueryServer; _ParseServer.startApp = _ParseServer2.default.startApp; const S3Adapter = exports.S3Adapter = (0, _deprecated.useExternal)('S3Adapter', '@parse/s3-files-adapter'); const GCSAdapter = exports.GCSAdapter = (0, _deprecated.useExternal)('GCSAdapter', '@parse/gcs-files-adapter'); Object.defineProperty(module.exports, 'logger', { get: _logger.getLogger }); var _default = exports.default = _ParseServer2.default; //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfUGFyc2VTZXJ2ZXIyIiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJfZnNGaWxlc0FkYXB0ZXIiLCJfSW5NZW1vcnlDYWNoZUFkYXB0ZXIiLCJfTnVsbENhY2hlQWRhcHRlciIsIl9SZWRpc0NhY2hlQWRhcHRlciIsIl9MUlVDYWNoZSIsIlRlc3RVdGlscyIsIl9pbnRlcm9wUmVxdWlyZVdpbGRjYXJkIiwiZXhwb3J0cyIsIlNjaGVtYU1pZ3JhdGlvbnMiLCJfQXV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