* add basic profile page * apps/web: detect telegram/browser support browser (dev only) * apps/web: add dark mode * apps/web: support dark theme in tma * apps/web: add loading spinner remove dev info from page * apps\web\app\(auth)\page.tsx: remove useState * app/web: handle update profile name * move debounce functional to hook * add role checkbox
8 lines
199 B
TypeScript
8 lines
199 B
TypeScript
/* eslint-disable unicorn/prevent-abbreviations */
|
|
import { z } from 'zod';
|
|
|
|
export const envSchema = z.object({
|
|
__DEV_TELEGRAM_ID: z.string(),
|
|
});
|
|
export const env = envSchema.parse(process.env);
|