diff options
| author | Adelyn Breelove <[email protected]> | 2018-12-12 15:00:46 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2018-12-12 15:00:46 -0700 |
| commit | 260ccd9960b852b9c69b88e9840d5a8b22bb8e1d (patch) | |
| tree | 4a41c663b3b719b89a20052c6ce4efbbbd2420f8 /lib/models/embed.ml | |
| parent | Add retry on connect fail logic (diff) | |
| download | disml-260ccd9960b852b9c69b88e9840d5a8b22bb8e1d.tar.xz disml-260ccd9960b852b9c69b88e9840d5a8b22bb8e1d.zip | |
Work on event dispatch and add model derives
Diffstat (limited to 'lib/models/embed.ml')
| -rw-r--r-- | lib/models/embed.ml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/models/embed.ml b/lib/models/embed.ml index 6ba1115..b4dc143 100644 --- a/lib/models/embed.ml +++ b/lib/models/embed.ml @@ -2,31 +2,31 @@ type footer = { text: string; icon_url: string option; proxy_icon_url: string option; -} +} [@@deriving yojson] type image = { url: string option; proxy_url: string option; height: int option; width: int option; -} +} [@@deriving yojson] type video = { url: string option; height: int option; width: int option; -} +} [@@deriving yojson] type provider = { name: string option; url: string option; -} +} [@@deriving yojson] type field = { name: string; value: string; inline: bool option; -} +} [@@deriving yojson] type t = { title: string option; @@ -41,4 +41,4 @@ type t = { video: video option; provider: provider option; fields: (field list) option; -}
\ No newline at end of file +} [@@deriving yojson]
\ No newline at end of file |