From 15a130cc3df9598922d6faea50b520c03d75c5a2 Mon Sep 17 00:00:00 2001 From: Xe Date: Mon, 20 Jun 2022 12:47:11 +0000 Subject: job history: even more Signed-off-by: Xe --- config.dhall | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) (limited to 'config.dhall') diff --git a/config.dhall b/config.dhall index 8f4a9e4..416b114 100644 --- a/config.dhall +++ b/config.dhall @@ -1,37 +1,6 @@ -let Person = ./dhall/types/Person.dhall +let xesite = ./dhall/types/package.dhall -let Author = ./dhall/types/Author.dhall - -let Job = ./dhall/types/Job.dhall - -let defaultPort = env:PORT ? 3030 - -let defaultWebMentionEndpoint = - env:WEBMENTION_ENDPOINT - ? "https://mi.within.website/api/webmention/accept" - -let Config = - { Type = - { signalboost : List Person.Type - , authors : List Author.Type - , port : Natural - , clackSet : List Text - , resumeFname : Text - , webMentionEndpoint : Text - , miToken : Text - , jobHistory : List Job.Type - } - , default = - { signalboost = [] : List Person.Type - , authors = [] : List Author.Type - , port = defaultPort - , clackSet = [ "Ashlynn" ] - , resumeFname = "./static/resume/resume.md" - , webMentionEndpoint = defaultWebMentionEndpoint - , miToken = "${env:MI_TOKEN as Text ? ""}" - , jobHistory = [] : List Job.Type - } - } +let Config = xesite.Config in Config::{ , signalboost = ./dhall/signalboost.dhall -- cgit v1.2.3