mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
29 lines • 1.41 kB
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "../../services/internal/StitchServiceRoutes", "./StitchAppAuthRoutes", "./StitchRoutes"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var StitchServiceRoutes_1 = __importDefault(require("../../services/internal/StitchServiceRoutes"));
var StitchAppAuthRoutes_1 = __importDefault(require("./StitchAppAuthRoutes"));
var StitchRoutes_1 = require("./StitchRoutes");
var StitchAppRoutes = (function () {
function StitchAppRoutes(clientAppId) {
this.clientAppId = clientAppId;
this.authRoutes = new StitchAppAuthRoutes_1.default(clientAppId);
this.serviceRoutes = new StitchServiceRoutes_1.default(clientAppId);
this.functionCallRoute = StitchRoutes_1.getFunctionCallRoute(clientAppId);
}
return StitchAppRoutes;
}());
exports.default = StitchAppRoutes;
});
//# sourceMappingURL=StitchAppRoutes.js.map