aboutsummaryrefslogtreecommitdiff
path: root/dhall/types
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-12-28 11:35:45 -0500
committerXe Iaso <me@christine.website>2022-12-28 11:35:45 -0500
commitf6a10af0a81a1b3a83bdce660ed5ee88abcc063a (patch)
tree64430939d9d96419b0b230b4944e29d464e1b0cd /dhall/types
parent793e1c79bfaecbc14e868fdf91d802a88be39384 (diff)
downloadxesite-unwrapped-2022.tar.xz
xesite-unwrapped-2022.zip
first attemptunwrapped-2022
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'dhall/types')
-rw-r--r--dhall/types/Story.dhall5
-rw-r--r--dhall/types/StoryStep.dhall3
-rw-r--r--dhall/types/package.dhall2
3 files changed, 10 insertions, 0 deletions
diff --git a/dhall/types/Story.dhall b/dhall/types/Story.dhall
new file mode 100644
index 0000000..1f11a2e
--- /dev/null
+++ b/dhall/types/Story.dhall
@@ -0,0 +1,5 @@
+let Step = ./StoryStep.dhall
+
+in { Type = { name : Text, steps : List Step.Type }
+ , default = { name = "", steps = [] : List Step.Type }
+ }
diff --git a/dhall/types/StoryStep.dhall b/dhall/types/StoryStep.dhall
new file mode 100644
index 0000000..3c7ac4f
--- /dev/null
+++ b/dhall/types/StoryStep.dhall
@@ -0,0 +1,3 @@
+{ Type = { file : Text, title : Text, text : Text }
+, default = { file = "", text = "", title = "" }
+}
diff --git a/dhall/types/package.dhall b/dhall/types/package.dhall
index 4f4166e..75abd4a 100644
--- a/dhall/types/package.dhall
+++ b/dhall/types/package.dhall
@@ -10,5 +10,7 @@
, Salary = ./Salary.dhall
, SeriesDescription = ./SeriesDescription.dhall
, Stock = ./Stock.dhall
+, Story = ./Story.dhall
+, StoryStep = ./StoryStep.dhall
, StockKind = ./StockKind.dhall
}