aboutsummaryrefslogtreecommitdiff
path: root/lib/user.atd
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-01-13 23:52:45 +0000
committerAdelyn Breedlove <[email protected]>2019-01-13 23:52:45 +0000
commitd95f0342f9cf2280b5d9794ab638c16a59c02a69 (patch)
tree191164d198c07cf388d9aae8a54013e5613c272c /lib/user.atd
parentMerge branch 'dev' into 'master' (diff)
parentAdd deriving sexp to models (diff)
downloaddisml-d95f0342f9cf2280b5d9794ab638c16a59c02a69.tar.xz
disml-d95f0342f9cf2280b5d9794ab638c16a59c02a69.zip
Merge branch 'switch-to-deriving_yojson' into 'master'
Switch to deriving yojson See merge request Mishio595/disml!12
Diffstat (limited to 'lib/user.atd')
-rw-r--r--lib/user.atd13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/user.atd b/lib/user.atd
deleted file mode 100644
index 588242d..0000000
--- a/lib/user.atd
+++ /dev/null
@@ -1,13 +0,0 @@
-type snowflake <ocaml from="Snowflake" t="t"> = abstract
-
-type partial_user = {
- id: snowflake;
-}
-
-type t = {
- inherit partial_user;
- username: string;
- discriminator: int <json repr="string">;
- ?avatar: string option;
- ~bot <ocaml default="false">: bool;
-} \ No newline at end of file