mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-23 15:31:53 +08:00
feat: support probe shell generation
This commit is contained in:
+3
-2
@@ -1,9 +1,10 @@
|
||||
import * as yup from "yup";
|
||||
|
||||
const EnvSchema = yup.object({
|
||||
API_URL: yup.string().optional(),
|
||||
BASE_PATH: yup.string().optional(),
|
||||
API_URL: yup.string().required(),
|
||||
BASE_PATH: yup.string().required(),
|
||||
MODE: yup.string().required(),
|
||||
LANDING: yup.boolean().required(),
|
||||
});
|
||||
|
||||
type EnvSchema = yup.InferType<typeof EnvSchema>;
|
||||
|
||||
Reference in New Issue
Block a user