* MED-151: add profile view and working smoking dashboard card * update zod * move some components to shared * move some components to shared * remove console.logs * remove unused password form components * only check null for variant * use pathsconfig
16 lines
325 B
TypeScript
16 lines
325 B
TypeScript
import { z } from 'zod';
|
|
|
|
export const MontonioServerEnvSchema = z
|
|
.object({
|
|
secretKey: z
|
|
.string({
|
|
error: `Please provide the variable MONTONIO_SECRET_KEY`,
|
|
})
|
|
.min(1),
|
|
apiUrl: z
|
|
.string({
|
|
error: `Please provide the variable MONTONIO_API_URL`,
|
|
})
|
|
.min(1),
|
|
});
|