mirror of
https://github.com/diced/zipline.git
synced 2026-06-12 19:01:18 -07:00
feat: http webhooks
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user