aboutsummaryrefslogtreecommitdiff
path: root/dhall/types/Author.dhall
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2023-01-04 14:37:22 -0500
committerXe Iaso <me@christine.website>2023-01-04 14:37:22 -0500
commit351069d9f91edab96425bcd221858529acb7e08a (patch)
tree8d601372b5e67e6f129ff896204cdc97a49d8f3d /dhall/types/Author.dhall
parentb96a44649a5cdf7609ebdc975a118c01cbd74b1a (diff)
downloadxesite-351069d9f91edab96425bcd221858529acb7e08a.tar.xz
xesite-351069d9f91edab96425bcd221858529acb7e08a.zip
implement pronouns support
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'dhall/types/Author.dhall')
-rw-r--r--dhall/types/Author.dhall40
1 files changed, 22 insertions, 18 deletions
diff --git a/dhall/types/Author.dhall b/dhall/types/Author.dhall
index 79cab6c..47a850f 100644
--- a/dhall/types/Author.dhall
+++ b/dhall/types/Author.dhall
@@ -1,19 +1,23 @@
-{ Type =
- { name : Text
- , handle : Text
- , image : Optional Text
- , url : Optional Text
- , sameAs : List Text
- , jobTitle : Text
- , inSystem : Bool
+let PronounSet = ./PronounSet.dhall
+
+in { Type =
+ { name : Text
+ , handle : Text
+ , image : Optional Text
+ , url : Optional Text
+ , sameAs : List Text
+ , jobTitle : Text
+ , inSystem : Bool
+ , pronouns : PronounSet.Type
+ }
+ , default =
+ { name = ""
+ , handle = ""
+ , image = None Text
+ , url = None Text
+ , sameAs = [] : List Text
+ , jobTitle = ""
+ , inSystem = False
+ , pronouns = ../pronouns/she.dhall
+ }
}
-, default =
- { name = ""
- , handle = ""
- , image = None Text
- , url = None Text
- , sameAs = [] : List Text
- , jobTitle = ""
- , inSystem = False
- }
-}