diff options
| author | Adelyn Breelove <[email protected]> | 2018-12-13 15:50:37 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2018-12-13 15:50:37 -0700 |
| commit | 179d9598fe62e2966471b312fd438e98ff3a272a (patch) | |
| tree | cbe69315ccd51dc69912a39fee30dfa767fa491e /lib/models/presence.atd | |
| parent | Working on deriving types from json (diff) | |
| download | disml-179d9598fe62e2966471b312fd438e98ff3a272a.tar.xz disml-179d9598fe62e2966471b312fd438e98ff3a272a.zip | |
Fix more dispatch issues
Diffstat (limited to 'lib/models/presence.atd')
| -rw-r--r-- | lib/models/presence.atd | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/models/presence.atd b/lib/models/presence.atd index c455fec..da9b3fd 100644 --- a/lib/models/presence.atd +++ b/lib/models/presence.atd @@ -1,13 +1,13 @@ +type snowflake <ocaml from="Snowflake" t="t"> = abstract type user <ocaml from="User" t="t"> = abstract -type role <ocaml from="Role" t="t"> = abstract +type partial_user <ocaml from="User" t="partial_user"> = abstract type activity <ocaml from="Activity" t="t"> = abstract -type guild <ocaml from="Guild" t="t"> = abstract type t = { - user: user; - roles: role list; + user: partial_user; + roles: snowflake list; ?game: activity option; - guild: guild; + guild_id: snowflake; status: string; activities: activity list; }
\ No newline at end of file |