aboutsummaryrefslogtreecommitdiff
path: root/lib/emoji.atd
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2018-12-19 13:44:04 -0700
committerAdelyn Breelove <[email protected]>2018-12-19 13:44:04 -0700
commit1a73007b3aaa17940173eaff1eb4f6703fd9ec0c (patch)
treef8563e2a2ab407c616fd40333d42cdd741e93344 /lib/emoji.atd
parentSome refactoring of http code (diff)
downloaddisml-1a73007b3aaa17940173eaff1eb4f6703fd9ec0c.tar.xz
disml-1a73007b3aaa17940173eaff1eb4f6703fd9ec0c.zip
Re-arrange autogen serialization files and incorporate into dune file
Diffstat (limited to 'lib/emoji.atd')
-rw-r--r--lib/emoji.atd12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/emoji.atd b/lib/emoji.atd
new file mode 100644
index 0000000..877323b
--- /dev/null
+++ b/lib/emoji.atd
@@ -0,0 +1,12 @@
+type snowflake <ocaml from="Snowflake" t="t"> = abstract
+type user <ocaml from="User" t="t"> = abstract
+
+type t = {
+ ?id: snowflake option;
+ name: string;
+ ?roles: snowflake list option;
+ ?user: user option;
+ ?require_colons: bool option;
+ ?managed: bool option;
+ ?animated: bool option;
+} \ No newline at end of file