UNPKG

@proofkit/cli

Version:

Create web application with the ProofKit stack

21 lines (18 loc) 577 B
import { createEnv } from "@t3-oss/env-nextjs"; import { z } from "zod/v4"; export const env = createEnv({ server: { NODE_ENV: z .enum(["development", "test", "production"]) .default("development"), FM_DATABASE: z.string().endsWith(".fmp12"), FM_SERVER: z.string().url(), OTTO_API_KEY: z.string().startsWith("dk_"), // Clerk CLERK_SECRET_KEY: z.string().min(1), CLERK_WEBHOOK_SECRET: z.string().min(1), }, client: {}, // For Next.js >= 13.4.4, you only need to destructure client variables: experimental__runtimeEnv: {}, });