aboutsummaryrefslogtreecommitdiff
path: root/lib/models/presence.atd
blob: c455fecf5ee55df2ce4a49d882e6a95d1dcf5042 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
type user <ocaml from="User" t="t"> = abstract
type role <ocaml from="Role" t="t"> = abstract
type activity <ocaml from="Activity" t="t"> = abstract
type guild <ocaml from="Guild" t="t"> = abstract

type t = {
    user: user;
    roles: role list;
    ?game: activity option;
    guild: guild;
    status: string;
    activities: activity list;
}