1 files changed, 12 insertions, 0 deletions
diff --git a/api/src/schema/Roles.ts b/api/src/schema/Roles.ts
index 1e5f560f..e1a34ae8 100644
--- a/api/src/schema/Roles.ts
+++ b/api/src/schema/Roles.ts
@@ -15,3 +15,15 @@ export interface RoleModifySchema {
mentionable?: boolean; // whether the role should be mentionable
position?: number;
}
+
+export const RolePositionUpdateSchema = [
+ {
+ id: String,
+ position: Number
+ }
+];
+
+export type RolePositionUpdateSchema = {
+ id: string;
+ position: number;
+}[];
|