diffusion
Version:
Diffusion JavaScript client
29 lines (28 loc) • 923 B
JavaScript
;
/**
* @module Services.TopicNotifications
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.TopicNotificationEvent = void 0;
/**
* Data type for a TOPIC_NOTIFICATION_EVENTS request.
*/
var TopicNotificationEvent = /** @class */ (function () {
/**
* Create a new TopicNotificationEvent instance
*
* @param cid the conversation ID
* @param path the path that the topic notification refers to
* @param type the notification type
* @param specification the topic specification
*/
function TopicNotificationEvent(cid, path, type, specification) {
this.cid = cid;
this.path = path;
this.type = type;
this.specification = specification;
this.isDescendantEvent = false;
}
return TopicNotificationEvent;
}());
exports.TopicNotificationEvent = TopicNotificationEvent;