aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/Resource.hs
diff options
context:
space:
mode:
authorpacien2020-05-19 21:06:16 +0200
committerNotkea2020-05-22 01:02:18 +0200
commit516ee7c5599f2c90a636fd9301806bef67830046 (patch)
tree50cc7369f8a0edf6160dfe5aca8e5bf4676fde42 /compiler/src/Resource.hs
parenta2e06f0a217b12d92cecdad77c20de88037f9912 (diff)
downloadldgallery-516ee7c5599f2c90a636fd9301806bef67830046.tar.gz
compiler: add audio and video extensions
Diffstat (limited to 'compiler/src/Resource.hs')
-rw-r--r--compiler/src/Resource.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/src/Resource.hs b/compiler/src/Resource.hs
index 129a817..c08677d 100644
--- a/compiler/src/Resource.hs
+++ b/compiler/src/Resource.hs
@@ -77,6 +77,8 @@ data GalleryItemProps =
77 , resolution :: Resolution } 77 , resolution :: Resolution }
78 | PlainText { resource :: Resource } 78 | PlainText { resource :: Resource }
79 | PDF { resource :: Resource } 79 | PDF { resource :: Resource }
80 | Video { resource :: Resource }
81 | Audio { resource :: Resource }
80 | Other { resource :: Resource } 82 | Other { resource :: Resource }
81 deriving (Generic, Show) 83 deriving (Generic, Show)
82 84