trello-for-wolves
Version:
Node.js wrapper for Trello API...for wolves.
55 lines (54 loc) • 2.38 kB
JavaScript
;
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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.BoardPref = void 0;
var BaseResource_1 = require("./BaseResource");
var BoardPref = /** @class */ (function (_super) {
__extends(BoardPref, _super);
function BoardPref() {
return _super !== null && _super.apply(this, arguments) || this;
}
BoardPref.prototype.updateBackground = function (value) {
return this.apiPut("/background", { value: value });
};
BoardPref.prototype.updateCalendarFeedEnabled = function (value) {
return this.apiPut("/calendarFeedEnabled", { value: value });
};
BoardPref.prototype.updateCardAging = function (value) {
return this.apiPut("/cardAging", { value: value });
};
BoardPref.prototype.updateCardCovers = function (value) {
return this.apiPut("/cardCovers", { value: value });
};
BoardPref.prototype.updateComments = function (value) {
return this.apiPut("/comments", { value: value });
};
BoardPref.prototype.updateInvitations = function (value) {
return this.apiPut("/invitations", { value: value });
};
BoardPref.prototype.updatePermissionLevel = function (value) {
return this.apiPut("/permissionLevel", { value: value });
};
BoardPref.prototype.updateSelfJoin = function (value) {
return this.apiPut("/selfJoin", { value: value });
};
BoardPref.prototype.updateVoting = function (value) {
return this.apiPut("/voting", { value: value });
};
return BoardPref;
}(BaseResource_1.BaseResource));
exports.BoardPref = BoardPref;