added permission types
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
class PermissionType {
|
||||
static const String sendMessage = "send-message";
|
||||
|
||||
static const String sendReaction = "send-reaction";
|
||||
|
||||
static const String sendLinks = "send-links";
|
||||
|
||||
static const String sendReply = "send-reply";
|
||||
|
||||
static const String freezeChannel = "freeze-channel";
|
||||
|
||||
static const String setChannelCooldown = "set-channel-cooldown";
|
||||
|
||||
static const String leaveChannel = "leave-channel";
|
||||
|
||||
static const String pinMessage = "pin-message";
|
||||
|
||||
static const String deleteAnyMessage = "delete-any-message";
|
||||
|
||||
static const String deleteOwnMessage = "delete-own-message";
|
||||
|
||||
static const String updateAnyMessage = "update-any-message";
|
||||
|
||||
static const String updateOwnMessage = "update-own-message";
|
||||
|
||||
static const String searchMessages = "search-messages";
|
||||
|
||||
static const String sendTypingEvents = "send-typing-events";
|
||||
|
||||
static const String uploadFile = "upload-file";
|
||||
|
||||
static const String deleteChannel = "delete-channel";
|
||||
|
||||
static const String updateChannel = "update-channel";
|
||||
|
||||
static const String updateChannelMembers = "update-channel-members";
|
||||
}
|
||||
@@ -36,6 +36,7 @@ export './src/core/util/extension.dart';
|
||||
export './src/db/chat_persistence_client.dart';
|
||||
export './src/event_type.dart';
|
||||
export './src/location.dart';
|
||||
export './src/permission_type.dart';
|
||||
export './src/ws/connection_status.dart';
|
||||
export 'src/client/channel.dart';
|
||||
export 'src/client/client.dart';
|
||||
|
||||
Reference in New Issue
Block a user