UNPKG

ns2-front-module-common

Version:
28 lines 1.26 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 __()); }; })(); import { AbstractMessage } from "./abstract/abstract-message.model"; import { MESSAGE_HEADER_TYPE_SYSTEM, MESSAGE_HEADER_ACTION_INVITE, MESSAGE_RCPT_GROUP } from "./abstract/const"; /** * Модель уведомления о приглашении в группу */ var InviteSystemGroup = (function (_super) { __extends(InviteSystemGroup, _super); function InviteSystemGroup() { var _this = _super.call(this) || this; _this.header.type = MESSAGE_HEADER_TYPE_SYSTEM; _this.header.action = MESSAGE_HEADER_ACTION_INVITE; _this.header.rcpt = MESSAGE_RCPT_GROUP; return _this; } return InviteSystemGroup; }(AbstractMessage)); export { InviteSystemGroup }; //# sourceMappingURL=invite-system-group.model.js.map