2020-07-16 19:32:30 +00:00
|
|
|
let Person =
|
|
|
|
{ Type = { name : Text, tags : List Text, gitLink : Text, twitter : Text }
|
|
|
|
, default =
|
2020-11-18 17:18:24 +00:00
|
|
|
{ name = "", tags = [] : List Text, gitLink = "", twitter = "" }
|
2020-07-16 19:32:30 +00:00
|
|
|
}
|
|
|
|
|
2021-07-08 01:18:02 +00:00
|
|
|
let Author =
|
|
|
|
{ Type =
|
|
|
|
{ name : Text
|
|
|
|
, handle : Text
|
|
|
|
, picUrl : Optional Text
|
|
|
|
, link : Optional Text
|
|
|
|
, twitter : Optional Text
|
|
|
|
, default : Bool
|
|
|
|
, inSystem : Bool
|
|
|
|
}
|
|
|
|
, default =
|
|
|
|
{ name = ""
|
|
|
|
, handle = ""
|
|
|
|
, picUrl = None Text
|
|
|
|
, link = None Text
|
|
|
|
, twitter = None Text
|
|
|
|
, default = False
|
|
|
|
, inSystem = True
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-16 19:32:30 +00:00
|
|
|
let defaultPort = env:PORT ? 3030
|
|
|
|
|
2020-11-18 17:18:24 +00:00
|
|
|
let defaultWebMentionEndpoint =
|
|
|
|
env:WEBMENTION_ENDPOINT
|
|
|
|
? "https://mi.within.website/api/webmention/accept"
|
|
|
|
|
2020-07-16 19:32:30 +00:00
|
|
|
let Config =
|
|
|
|
{ Type =
|
|
|
|
{ signalboost : List Person.Type
|
2021-07-08 01:18:02 +00:00
|
|
|
, authors : List Author.Type
|
2020-07-16 19:32:30 +00:00
|
|
|
, port : Natural
|
|
|
|
, clackSet : List Text
|
|
|
|
, resumeFname : Text
|
2020-11-18 17:18:24 +00:00
|
|
|
, webMentionEndpoint : Text
|
2020-12-02 21:16:58 +00:00
|
|
|
, miToken : Text
|
2020-07-16 19:32:30 +00:00
|
|
|
}
|
|
|
|
, default =
|
2020-11-18 17:18:24 +00:00
|
|
|
{ signalboost = [] : List Person.Type
|
2021-07-08 01:18:02 +00:00
|
|
|
, authors =
|
|
|
|
[ Author::{
|
|
|
|
, name = "Xe"
|
|
|
|
, handle = "xe"
|
|
|
|
, picUrl = Some "/static/img/avatar.png"
|
|
|
|
, link = Some "https://christine.website"
|
|
|
|
, twitter = Some "theprincessxena"
|
|
|
|
, default = True
|
|
|
|
, inSystem = True
|
|
|
|
}
|
|
|
|
, Author::{
|
|
|
|
, name = "Jessie"
|
|
|
|
, handle = "Heartmender"
|
|
|
|
, picUrl = Some
|
|
|
|
"https://cdn.christine.website/file/christine-static/img/UPRcp1pO_400x400.jpg"
|
|
|
|
, link = Some "https://heartmender.writeas.com"
|
|
|
|
, twitter = Some "BeJustFine"
|
|
|
|
, inSystem = True
|
|
|
|
}
|
2021-09-24 20:48:03 +00:00
|
|
|
, Author::{ name = "Ashe", handle = "ectamorphic", inSystem = True }
|
|
|
|
, Author::{ name = "Nicole", handle = "Twi", inSystem = True }
|
|
|
|
, Author::{ name = "Mai", handle = "Mai", inSystem = True }
|
2021-07-08 01:18:02 +00:00
|
|
|
]
|
2020-11-18 17:18:24 +00:00
|
|
|
, port = defaultPort
|
|
|
|
, clackSet = [ "Ashlynn" ]
|
|
|
|
, resumeFname = "./static/resume/resume.md"
|
|
|
|
, webMentionEndpoint = defaultWebMentionEndpoint
|
2020-12-02 21:16:58 +00:00
|
|
|
, miToken = "${env:MI_TOKEN as Text ? ""}"
|
2020-11-18 17:18:24 +00:00
|
|
|
}
|
2020-07-16 19:32:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
in Config::{
|
|
|
|
, signalboost = ./signalboost.dhall
|
2021-07-08 01:18:02 +00:00
|
|
|
, clackSet =
|
|
|
|
[ "Ashlynn", "Terry Davis", "Dennis Ritchie", "Steven Hawking" ]
|
2020-07-16 19:32:30 +00:00
|
|
|
}
|