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:
parent
28692962bc
commit
3db9090705
6 changed files with 10 additions and 9 deletions
|
@ -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"),
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue