mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-17 03:25:01 +00:00
chore: run prettier
This commit is contained in:
parent
77ab2718e7
commit
873bf7eb99
54 changed files with 462 additions and 416 deletions
|
@ -9,14 +9,16 @@ import { CustomEventsPluginType, TCustomEvent } from "../types";
|
|||
export const zSetChannelPermissionOverridesAction = z.strictObject({
|
||||
type: z.literal("set_channel_permission_overrides"),
|
||||
channel: zSnowflake,
|
||||
overrides: z.array(
|
||||
z.strictObject({
|
||||
type: z.union([z.literal("member"), z.literal("role")]),
|
||||
id: zSnowflake,
|
||||
allow: z.number(),
|
||||
deny: z.number(),
|
||||
}),
|
||||
).max(15),
|
||||
overrides: z
|
||||
.array(
|
||||
z.strictObject({
|
||||
type: z.union([z.literal("member"), z.literal("role")]),
|
||||
id: zSnowflake,
|
||||
allow: z.number(),
|
||||
deny: z.number(),
|
||||
}),
|
||||
)
|
||||
.max(15),
|
||||
});
|
||||
export type TSetChannelPermissionOverridesAction = z.infer<typeof zSetChannelPermissionOverridesAction>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue