3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 04:25:01 +00:00

fix: circular dependency in automod types

This commit is contained in:
Dragory 2024-01-15 18:03:45 +00:00
parent 28692962bc
commit 3db9090705
No known key found for this signature in database
6 changed files with 10 additions and 9 deletions

View file

@ -1,3 +1,4 @@
import z from "zod";
import { MINUTES, SECONDS } from "../../utils";
export const RECENT_SPAM_EXPIRY_TIME = 10 * SECONDS;
@ -18,3 +19,8 @@ export enum RecentActionType {
MemberLeave,
ThreadCreate,
}
export const zNotify = z.union([
z.literal("dm"),
z.literal("channel"),
]);