feat: http webhooks

This commit is contained in:
diced
2024-06-13 22:27:13 -07:00
parent 080a3a2c19
commit ca766bb1d8
10 changed files with 151 additions and 33 deletions
+4
View File
@@ -275,6 +275,10 @@ export const schema = z.object({
adminBypass: z.boolean().default(true),
allowList: z.array(z.string()).default([]),
}),
httpWebhook: z.object({
onUpload: z.string().url().nullable().default(null),
onShorten: z.string().url().nullable().default(null),
}),
});
export type Config = z.infer<typeof schema>;