summary refs log tree commit diff
path: root/src/api/routes/guilds/#guild_id/channels.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/guilds/#guild_id/channels.ts')
-rw-r--r--src/api/routes/guilds/#guild_id/channels.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/api/routes/guilds/#guild_id/channels.ts b/src/api/routes/guilds/#guild_id/channels.ts
index af17465d..eae93607 100644
--- a/src/api/routes/guilds/#guild_id/channels.ts
+++ b/src/api/routes/guilds/#guild_id/channels.ts
@@ -4,6 +4,7 @@ import {
 	ChannelUpdateEvent,
 	emitEvent,
 	ChannelModifySchema,
+	ChannelReorderSchema,
 } from "@fosscord/util";
 import { HTTPError } from "lambert-server";
 import { route } from "@fosscord/api";
@@ -33,13 +34,6 @@ router.post(
 	},
 );
 
-export type ChannelReorderSchema = {
-	id: string;
-	position?: number;
-	lock_permissions?: boolean;
-	parent_id?: string;
-}[];
-
 router.patch(
 	"/",
 	route({ body: "ChannelReorderSchema", permission: "MANAGE_CHANNELS" }),