UNPKG

@pubby/sdk

Version:
40 lines (35 loc) 1.4 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var tslib = require('tslib'); var module$2 = require('../../module.js'); require('../auth/index.js'); var playlist = require('./services/playlist.js'); var room = require('./services/room.js'); var user = require('./services/user.js'); var _enum = require('./services/enum.js'); var friendships = require('./services/friendships.js'); var media = require('./services/media.js'); var recovery = require('./services/recovery.js'); var roles = require('./services/roles.js'); var module$1 = require('../auth/module.js'); var ApiModule = /** @class */ (function (_super) { tslib.__extends(ApiModule, _super); function ApiModule(client) { var _this = _super.call(this, client) || this; _this.playlist = new playlist(_this); _this.room = new room(_this); _this.user = new user(_this); _this.enum = new _enum(_this); _this.friendships = new friendships(_this); _this.media = new media(_this); _this.recovery = new recovery(_this); _this.roles = new roles(_this); client.api = _this; // Requer o módulo de Auth client.require(module$1.AuthModule); return _this; } ApiModule.prototype.init = function () { }; return ApiModule; }(module$2.PubbyModule)); exports.ApiModule = ApiModule;