From 25400610a9038e3e86ee816f81a4819a7a62db2d Mon Sep 17 00:00:00 2001 From: BluJ Date: Tue, 2 May 2023 16:01:56 -0600 Subject: [PATCH] feat: Add the get const --- lib/config/constants.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/config/constants.ts b/lib/config/constants.ts index 7f7de28..f2cc730 100644 --- a/lib/config/constants.ts +++ b/lib/config/constants.ts @@ -54,3 +54,11 @@ export const smtpConfig = Value.union( }, }), ) + +export function getConst() { + return { + get smtp() { + return smtpConfig.withWrapperData() + }, + } +}