feat(LOY-195): digital team member card button on my pages overview

This commit is contained in:
Christian Andolf
2025-05-05 11:02:33 +02:00
parent 09a4637556
commit 7359ab4afd
11 changed files with 82 additions and 3 deletions

View File

@@ -126,6 +126,13 @@ const _env = createEnv({
// transform to boolean
.transform((s) => s === "true")
.default("false"),
ENABLE_DTMC: z
.string()
// only allow "true" or "false"
.refine((s) => s === "true" || s === "false")
// transform to boolean
.transform((s) => s === "true")
.default("false"),
SHOW_SITE_WIDE_ALERT: z
.string()
// only allow "true" or "false"
@@ -267,6 +274,7 @@ const _env = createEnv({
USE_NEW_REWARD_MODEL: process.env.USE_NEW_REWARD_MODEL,
ENABLE_BOOKING_WIDGET: process.env.ENABLE_BOOKING_WIDGET,
ENABLE_SURPRISES: process.env.ENABLE_SURPRISES,
ENABLE_DTMC: process.env.ENABLE_DTMC,
SHOW_SITE_WIDE_ALERT: process.env.SHOW_SITE_WIDE_ALERT,
SENTRY_ENVIRONMENT: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
SENTRY_SERVER_SAMPLERATE: process.env.SENTRY_SERVER_SAMPLERATE,