UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

33 lines (32 loc) 1.18 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SCCategoryEventType = exports.SCGroupEventType = exports.SCTopicType = void 0; /** * Define topics for pubsub */ var SCTopicType; (function (SCTopicType) { SCTopicType["GROUP"] = "group"; SCTopicType["EVENT"] = "event"; SCTopicType["CATEGORY"] = "category"; })(SCTopicType = exports.SCTopicType || (exports.SCTopicType = {})); /** * Group/Event event types */ var SCGroupEventType; (function (SCGroupEventType) { SCGroupEventType["CREATE"] = "create"; SCGroupEventType["EDIT"] = "edit"; SCGroupEventType["DELETE"] = "delete"; SCGroupEventType["MEMBERS"] = "members"; SCGroupEventType["ADD_MEMBER"] = "members.add_member"; SCGroupEventType["INVITE_MEMBER"] = "members.invite_member"; SCGroupEventType["REMOVE_MEMBER"] = "members.remove_member"; })(SCGroupEventType = exports.SCGroupEventType || (exports.SCGroupEventType = {})); /** * Category event types */ var SCCategoryEventType; (function (SCCategoryEventType) { SCCategoryEventType["EDIT"] = "edit"; })(SCCategoryEventType = exports.SCCategoryEventType || (exports.SCCategoryEventType = {}));