aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall/server/service/plugin/mkPreFunction.dhall
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/server/service/plugin/mkPreFunction.dhall')
-rw-r--r--dhall/server/service/plugin/mkPreFunction.dhall9
1 files changed, 9 insertions, 0 deletions
diff --git a/dhall/server/service/plugin/mkPreFunction.dhall b/dhall/server/service/plugin/mkPreFunction.dhall
new file mode 100644
index 0000000..ff4f734
--- /dev/null
+++ b/dhall/server/service/plugin/mkPreFunction.dhall
@@ -0,0 +1,9 @@
1let Plugin = ./Plugin.dhall
2
3let config = ./Config.dhall
4
5in λ(functions : List Text)
6 → { name = "pre-function"
7 , config = config.PreFunction { functions = functions }
8 }
9 : Plugin