Skip to content

deployRulesSchema

const deployRulesSchema: ZodObject<{ rules: ZodArray<ZodObject<{ deploymentName: ZodOptional<ZodString>; deploymentSlug: ZodOptional<ZodString>; requireStages: ZodArray<ZodEnum<{ postDeploy: "postDeploy"; postDestructive: "postDestructive"; preDestructive: "preDestructive"; unpackagedDeploy: "unpackagedDeploy"; }>>; }, $strict>>; }, $strict>

Defined in: packages/simply-cicd-core/src/schemas/deployRules.ts:39

Zod equivalent of the original deploy-rules.schema.json.