diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-03 05:03:11 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-03 05:03:11 +0200 |
commit | 5b39b11e5f18e53cb234b4af3aa882fc99f8c407 (patch) | |
tree | 21f871ea25468ad3f56aa43c13a637bd16070317 /api/src/schema | |
parent | :see_no_evil: add database.db to .gitignore (diff) | |
download | server-5b39b11e5f18e53cb234b4af3aa882fc99f8c407.tar.xz |
:sparkles: guild position update
Diffstat (limited to 'api/src/schema')
-rw-r--r-- | api/src/schema/Roles.ts | 12 |
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; +}[]; |