UNPKG

ns2-front-module-common

Version:
47 lines 1.66 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); // URL's для работы. import { BasicUrls } from './basic-urls.model'; /** GW для работы с риэлторами */ // @dynamic var RealtorsUrls = (function (_super) { __extends(RealtorsUrls, _super); function RealtorsUrls() { return _super !== null && _super.apply(this, arguments) || this; } Object.defineProperty(RealtorsUrls, "baseUrl", { // Базовый URL get: function () { return RealtorsUrls.endPoint + "/realtors"; }, enumerable: true, configurable: true }); Object.defineProperty(RealtorsUrls, "list", { // Список рилеторов get: function () { return "" + RealtorsUrls.baseUrl; }, enumerable: true, configurable: true }); Object.defineProperty(RealtorsUrls, "search", { // Поиск риелторов get: function () { return RealtorsUrls.baseUrl + "/search"; }, enumerable: true, configurable: true }); return RealtorsUrls; }(BasicUrls)); export { RealtorsUrls }; //# sourceMappingURL=realtors-urls.model.js.map