aboutsummaryrefslogtreecommitdiff
path: root/lib/models/embed.ml
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2018-12-13 16:44:32 -0700
committerAdelyn Breedlove <[email protected]>2018-12-13 16:44:32 -0700
commitc6463e5ca9c557c7e8ecd05e71d37f237bc59da6 (patch)
treedf4b700a4c039e34bbee401250281a6c1814d4ca /lib/models/embed.ml
parentMerge branch 'dev' of https://gitlab.com/Mishio595/disml into dev (diff)
parentFix more dispatch issues (diff)
downloaddisml-c6463e5ca9c557c7e8ecd05e71d37f237bc59da6.tar.xz
disml-c6463e5ca9c557c7e8ecd05e71d37f237bc59da6.zip
Merge branch 'dev' of https://gitlab.com/Mishio595/disml into dev
Diffstat (limited to 'lib/models/embed.ml')
-rw-r--r--lib/models/embed.ml44
1 files changed, 0 insertions, 44 deletions
diff --git a/lib/models/embed.ml b/lib/models/embed.ml
deleted file mode 100644
index b4dc143..0000000
--- a/lib/models/embed.ml
+++ /dev/null
@@ -1,44 +0,0 @@
-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;
- kind: string option;
- description: string option;
- url: string option;
- timestamp: string option;
- colour: int option;
- footer: footer option;
- image: image option;
- thumbnail: image option;
- video: video option;
- provider: provider option;
- fields: (field list) option;
-} [@@deriving yojson] \ No newline at end of file