Scope switch cases into blocks for secrets v3

This commit is contained in:
Tuan Dang
2023-09-26 10:56:08 +01:00
parent 45b85ab962
commit 4683dc7869
19 changed files with 620 additions and 244 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ export const CreateSecretRawV3 = z.object({
environment: z.string().trim(),
secretPath: z.string().trim().default("/"),
secretValue: z.string().trim(),
secretComment: z.string().trim(),
secretComment: z.string().trim().optional().default(""),
type: z.enum([SECRET_SHARED, SECRET_PERSONAL])
}),
params: z.object({