aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-02-20 09:26:11 -0700
committerAdelyn Breedlove <[email protected]>2019-02-20 09:26:11 -0700
commit772dba907caf517d1b6f5faa61cc2eb3fc934c97 (patch)
treebe0bc4deb1318eda3de230a104ab6c6a0839e7f9
parentAdd Bitmasks to opam deps (diff)
downloaddisml-772dba907caf517d1b6f5faa61cc2eb3fc934c97.tar.xz
disml-772dba907caf517d1b6f5faa61cc2eb3fc934c97.zip
Export permissions as Models.Permissions
-rw-r--r--lib/disml.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/disml.ml b/lib/disml.ml
index 3362bf9..d7a2874 100644
--- a/lib/disml.ml
+++ b/lib/disml.ml
@@ -98,6 +98,9 @@ module Models = struct
(** Represents solely a message ID. REST operations can be performed without the full object overhead using this. *)
module Message_id = Message_id
+ (** Represents a permission integer as bitmask, allowing for constant set representation. *)
+ module Permissions = Permissions
+
(** Represents a user presence. See {!Models.Event.PresenceUpdate}. *)
module Presence = Presence