* web/packages: upgrade next * fix(api/orders): update master validation logic to handle optional masters * fix(api/notify, api/orders): enhance notification messages and update order state handling for masters * fix react typings * refactor(order-buttons, action-panel): streamline button handlers and add return functionality * fix(contacts, orders): replace empty state messages with DataNotFound component for better user feedback * feat(bot): add share bot command and update environment configuration for BOT_URL * fix: pnpm-lock.yaml * feat(bot): implement add contact wizard scene and enhance contact handling logic * feat(profile): add BookContactButton component to enhance booking functionality * fix(order-buttons): update cancel and confirm button logic based on order state * feat(service-select): share services list for all enhance service card display with duration formatting and improve layout
10 lines
215 B
TypeScript
10 lines
215 B
TypeScript
/* eslint-disable unicorn/prevent-abbreviations */
|
|
import { z } from 'zod';
|
|
|
|
export const envSchema = z.object({
|
|
BOT_TOKEN: z.string(),
|
|
BOT_URL: z.string(),
|
|
});
|
|
|
|
export const env = envSchema.parse(process.env);
|