From e2ea701920f528b09c410842fcfe57ec3e3ba875 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 3 Sep 2021 05:03:11 +0200 Subject: :sparkles: guild position update --- api/src/schema/Roles.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'api/src/schema') 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; +}[]; -- cgit 1.5.1