mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 10:45:58 +00:00
General improvements to Vercel Integration
This commit is contained in:
+3
-11
@@ -10,17 +10,9 @@ export const VercelSyncDestinationSchema = BaseSecretSyncSchema().merge(
|
||||
destinationConfig: z.object({
|
||||
app: z.string().trim().min(1, "Project required"),
|
||||
appName: z.string().trim().min(1, "Project required"),
|
||||
env: z.enum(
|
||||
[
|
||||
VercelEnvironmentType.Development,
|
||||
VercelEnvironmentType.Preview,
|
||||
VercelEnvironmentType.Production
|
||||
],
|
||||
{
|
||||
required_error: "Environment is required"
|
||||
}
|
||||
),
|
||||
branch: z.string().trim().optional()
|
||||
env: z.nativeEnum(VercelEnvironmentType).or(z.string()),
|
||||
branch: z.string().trim().optional(),
|
||||
teamId: z.string().trim()
|
||||
})
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user