- Updated environment variable names for consistency across the application. - Modified references in the deployment workflow, bot conversations, and web components to use the new variable names.
12 lines
296 B
TypeScript
12 lines
296 B
TypeScript
/* eslint-disable unicorn/prevent-abbreviations */
|
|
import { z } from 'zod';
|
|
|
|
export const envSchema = z.object({
|
|
__DEV_TELEGRAM_ID: z.string().default(''),
|
|
BOT_URL: z.string(),
|
|
SUPPORT_TELEGRAM_URL: z.string(),
|
|
URL_OFFER: z.string(),
|
|
});
|
|
|
|
export const env = envSchema.parse(process.env);
|