Implement the whole thing

This commit is contained in:
2025-06-09 00:00:13 +02:00
parent ab7c8a3576
commit 5886934182
6 changed files with 163 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
# Config
Parse a configuration from env values using a description scheme (using Zod).
Keys are the name given in the TypeBox scheme, in capital case, separated with an underscore. Sub-objects' names will start with parent's name, followed by an underscore then the key.
**Any** key can be followed by `__FILE`. In this case, the given value is expected to be a path and the content of the file will be used to be the content of the config. The content of the file will be trimmed from any whitespace character. The file is read using UTF-8 encoding.