Merge pull request #2050 from Infisical/feat/native-slack-webhook

feat: added native slack webhook type
This commit is contained in:
Sheen Capadngan
2024-07-04 14:50:58 +08:00
committed by GitHub
10 changed files with 319 additions and 123 deletions
+5 -1
View File
@@ -21,7 +21,11 @@ export const WebhooksSchema = z.object({
keyEncoding: z.string().nullable().optional(),
createdAt: z.date(),
updatedAt: z.date(),
envId: z.string().uuid()
envId: z.string().uuid(),
urlCipherText: z.string().nullable().optional(),
urlIV: z.string().nullable().optional(),
urlTag: z.string().nullable().optional(),
type: z.string().default("general").nullable().optional()
});
export type TWebhooks = z.infer<typeof WebhooksSchema>;