ns2-front-module-common
Version:
NS2 common module
25 lines • 1.2 kB
JavaScript
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 __());
};
})();
import { AbstractMessage } from './abstract/abstract-message.model';
import { MESSAGE_HEADER_TYPE_MODERATION, MESSAGE_HEADER_ACTION_ACCEPT } from './abstract/const';
// Модель уведомления об успешной модерации профиля
var AcceptModeration = (function (_super) {
__extends(AcceptModeration, _super);
function AcceptModeration() {
var _this = _super.call(this) || this;
_this.header.type = MESSAGE_HEADER_TYPE_MODERATION;
_this.header.action = MESSAGE_HEADER_ACTION_ACCEPT;
return _this;
}
return AcceptModeration;
}(AbstractMessage));
export { AcceptModeration };
//# sourceMappingURL=accept-moderation.model.js.map