Feat/telemetry (#372)

This commit is contained in:
Théo LAGACHE
2026-07-13 15:38:36 +02:00
committed by GitHub
parent 1971ff69e3
commit 435879a562
16 changed files with 545 additions and 55 deletions
+7
View File
@@ -122,6 +122,11 @@ export const env = createEnv({
.enum(["true", "false"])
.default("false")
.transform((val) => val === "true"),
TELEMETRY: z
.enum(["true", "false"])
.default("true")
.transform((val) => val === "true"),
},
client: {
NEXT_PUBLIC_PROJECT_VERSION: z.string().optional(),
@@ -204,6 +209,8 @@ export const env = createEnv({
DEMO_ENABLED: process.env.DEMO_ENABLED,
TELEMETRY: process.env.TELEMETRY,
},
});