UNPKG

@aecworks/bimbox-bimserver-sdk-js

Version:

AECWorks BIMBox 产品线 BIMServer 的 sdk 的 JavaScript 实现,采用Typescript语言

31 lines 1.24 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { 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 extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import * as proxy from '../proxy'; import ServiceBase from '../base'; var ViewingService = /** @class */ (function (_super) { __extends(ViewingService, _super); function ViewingService() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.getView = function (data) { var promise = _super.prototype.get.call(_this, { url: "/" + data.urn, }); return proxy.httpResultProxy(promise); }; return _this; } return ViewingService; }(ServiceBase)); export { ViewingService }; //# sourceMappingURL=viewing.js.map