aboutsummaryrefslogtreecommitdiff
path: root/dhall/types
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2023-02-02 08:05:34 -0500
committerXe Iaso <me@christine.website>2023-02-02 08:05:34 -0500
commitc117eae7c5af977d0299d34169e4a403f77e2afa (patch)
tree83438cf5abc605e0ec174aa4a3f0e4b91b640008 /dhall/types
parent757cee6fdd13502eb62305f77e73698878b01aa2 (diff)
downloadxesite-c117eae7c5af977d0299d34169e4a403f77e2afa.tar.xz
xesite-c117eae7c5af977d0299d34169e4a403f77e2afa.zip
add stream VOD page
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'dhall/types')
-rw-r--r--dhall/types/Config.dhall4
-rw-r--r--dhall/types/StreamVOD.dhall19
-rw-r--r--dhall/types/package.dhall1
3 files changed, 24 insertions, 0 deletions
diff --git a/dhall/types/Config.dhall b/dhall/types/Config.dhall
index 21e541a..eb9db9f 100644
--- a/dhall/types/Config.dhall
+++ b/dhall/types/Config.dhall
@@ -12,6 +12,8 @@ let NagMessage = ./NagMessage.dhall
let SeriesDescription = ./SeriesDescription.dhall
+let VOD = ./StreamVOD.dhall
+
let PronounSet = ./PronounSet.dhall
let Prelude = ../Prelude.dhall
@@ -37,6 +39,7 @@ in { Type =
, contactLinks : List Link.Type
, pronouns : List PronounSet.Type
, characters : List Character.Type
+ , vods : List VOD.Type
}
, default =
{ signalboost = [] : List Person.Type
@@ -53,5 +56,6 @@ in { Type =
, contactLinks = [] : List Link.Type
, pronouns = [] : List PronounSet.Type
, characters = [] : List Character.Type
+ , vods = [] : List VOD.Type
}
}
diff --git a/dhall/types/StreamVOD.dhall b/dhall/types/StreamVOD.dhall
new file mode 100644
index 0000000..af6ea64
--- /dev/null
+++ b/dhall/types/StreamVOD.dhall
@@ -0,0 +1,19 @@
+let Link = ./Link.dhall
+
+in { Type =
+ { title : Text
+ , slug : Text
+ , date : Text
+ , description : Text
+ , cdnPath : Text
+ , tags : List Text
+ }
+ , default =
+ { title = ""
+ , slug = ""
+ , date = ""
+ , description = ""
+ , cdnPath = ""
+ , tags = [] : List Text
+ }
+ }
diff --git a/dhall/types/package.dhall b/dhall/types/package.dhall
index 4d6377b..38fdf1d 100644
--- a/dhall/types/package.dhall
+++ b/dhall/types/package.dhall
@@ -13,4 +13,5 @@
, SeriesDescription = ./SeriesDescription.dhall
, Stock = ./Stock.dhall
, StockKind = ./StockKind.dhall
+, StreamVOD = ./StreamVOD.dhall
}