@selfcommunity/types
Version:
Types to integrate a community created with SelfCommunity.
69 lines (68 loc) • 4.74 kB
JavaScript
/**
* Notification types
*/
export var SCNotificationTypologyType;
(function (SCNotificationTypologyType) {
SCNotificationTypologyType["COMMENT"] = "comment";
SCNotificationTypologyType["NESTED_COMMENT"] = "nested_comment";
SCNotificationTypologyType["CONNECTION_REQUEST"] = "connection_request";
SCNotificationTypologyType["CONNECTION_ACCEPT"] = "connection_accept";
SCNotificationTypologyType["CONNECTION_REMOVE"] = "connection_remove";
SCNotificationTypologyType["CONNECTION_REJECT"] = "connection_reject";
SCNotificationTypologyType["CONNECTION_CANCEL_REJECT"] = "connection_cancel_reject";
SCNotificationTypologyType["CONNECTION_CANCEL_REQUEST"] = "connection_cancel_request";
SCNotificationTypologyType["MENTION"] = "mention";
SCNotificationTypologyType["VOTE_UP"] = "vote_up";
SCNotificationTypologyType["FOLLOW"] = "follow";
SCNotificationTypologyType["PRIVATE_MESSAGE"] = "private_message";
SCNotificationTypologyType["DELETE_PRIVATE_MESSAGE"] = "delete_private_message";
SCNotificationTypologyType["DELETED_FOR_ADVERTISING"] = "deleted_for_advertising";
SCNotificationTypologyType["DELETED_FOR_AGGRESSIVE"] = "deleted_for_aggressive";
SCNotificationTypologyType["DELETED_FOR_VULGAR"] = "deleted_for_vulgar";
SCNotificationTypologyType["DELETED_FOR_POOR"] = "deleted_for_poor";
SCNotificationTypologyType["DELETED_FOR_OFFTOPIC"] = "deleted_for_offtopic";
SCNotificationTypologyType["UNDELETED_FOR"] = "undeleted_for";
SCNotificationTypologyType["COLLAPSED_FOR_ADVERTISING"] = "collapsed_for_advertising";
SCNotificationTypologyType["COLLAPSED_FOR_AGGRESSIVE"] = "collapsed_for_aggressive";
SCNotificationTypologyType["COLLAPSED_FOR_VULGAR"] = "collapsed_for_vulgar";
SCNotificationTypologyType["COLLAPSED_FOR_POOR"] = "collapsed_for_poor";
SCNotificationTypologyType["COLLAPSED_FOR_OFFTOPIC"] = "collapsed_for_offtopic";
SCNotificationTypologyType["USER_FOLLOW"] = "user_follow";
SCNotificationTypologyType["USER_UNFOLLOW"] = "user_unfollow";
SCNotificationTypologyType["KINDLY_NOTICE_ADVERTISING"] = "kindly_notice_advertising";
SCNotificationTypologyType["KINDLY_NOTICE_AGGRESSIVE"] = "kindly_notice_aggressive";
SCNotificationTypologyType["KINDLY_NOTICE_VULGAR"] = "kindly_notice_vulgar";
SCNotificationTypologyType["KINDLY_NOTICE_POOR"] = "kindly_notice_poor";
SCNotificationTypologyType["KINDLY_NOTICE_OFFTOPIC"] = "kindly_notice_offtopic";
SCNotificationTypologyType["KINDLY_NOTICE_FLAG"] = "kindly_notice_flag";
SCNotificationTypologyType["BLOCKED_USER"] = "blocked_user";
SCNotificationTypologyType["UNBLOCKED_USER"] = "unblocked_user";
SCNotificationTypologyType["INCUBATOR_APPROVED"] = "incubator_approved";
SCNotificationTypologyType["CUSTOM_NOTIFICATION"] = "custom_notification";
SCNotificationTypologyType["NOTIFICATION_BANNER"] = "notification_banner";
SCNotificationTypologyType["CONTRIBUTION"] = "contribution";
SCNotificationTypologyType["USER_INVITED_TO_JOIN_GROUP"] = "user_invited_to_join_group";
SCNotificationTypologyType["USER_REQUESTED_TO_JOIN_GROUP"] = "user_requested_to_join_group";
SCNotificationTypologyType["USER_ACCEPTED_TO_JOIN_GROUP"] = "user_accepted_to_join_group";
SCNotificationTypologyType["USER_ADDED_TO_GROUP"] = "user_added_to_group";
SCNotificationTypologyType["USER_INVITED_TO_JOIN_EVENT"] = "user_invited_to_join_event";
SCNotificationTypologyType["USER_REQUESTED_TO_JOIN_EVENT"] = "user_requested_to_join_event";
SCNotificationTypologyType["USER_ACCEPTED_TO_JOIN_EVENT"] = "user_accepted_to_join_event";
SCNotificationTypologyType["USER_ADDED_TO_EVENT"] = "user_added_to_event";
SCNotificationTypologyType["LIVE_STREAM_STARTED"] = "live_stream_started";
SCNotificationTypologyType["USER_INVITED_TO_JOIN_COURSE"] = "user_invited_to_join_course";
SCNotificationTypologyType["USER_REQUESTED_TO_JOIN_COURSE"] = "user_requested_to_join_course";
SCNotificationTypologyType["USER_ACCEPTED_TO_JOIN_COURSE"] = "user_accepted_to_join_course";
SCNotificationTypologyType["USER_COMMENTED_A_COURSE_LESSON"] = "user_commented_a_course_lesson";
SCNotificationTypologyType["USER_ADDED_TO_COURSE"] = "user_added_to_course";
SCNotificationTypologyType["MANAGER_ADDED_TO_COURSE"] = "manager_added_to_course";
})(SCNotificationTypologyType || (SCNotificationTypologyType = {}));
/**
* Define topic for notifications
* Usefull for websocket
*/
export var SCNotificationTopicType;
(function (SCNotificationTopicType) {
SCNotificationTopicType["INTERACTION"] = "interaction";
SCNotificationTopicType["NEWS"] = "news";
})(SCNotificationTopicType || (SCNotificationTopicType = {}));