UNPKG

diffusion

Version:

Diffusion JavaScript client

29 lines (28 loc) 920 B
"use strict"; /** * @module Session.notifications */ Object.defineProperty(exports, "__esModule", { value: true }); exports.TopicNotificationType = void 0; /** * The type of topic notification that has been received. */ var TopicNotificationType; (function (TopicNotificationType) { /** * The topic was added. */ TopicNotificationType[TopicNotificationType["ADDED"] = 0] = "ADDED"; /** * The topic existed at the time of the selector registration. */ TopicNotificationType[TopicNotificationType["SELECTED"] = 1] = "SELECTED"; /** * The topic was removed. */ TopicNotificationType[TopicNotificationType["REMOVED"] = 2] = "REMOVED"; /** * The topic was deselected. */ TopicNotificationType[TopicNotificationType["DESELECTED"] = 3] = "DESELECTED"; })(TopicNotificationType = exports.TopicNotificationType || (exports.TopicNotificationType = {}));