summary refs log tree commit diff
path: root/api/src/schema/Widget.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-12 23:32:55 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-12 23:32:55 +0200
commit33533fc183d3dce4abcb49d76c2d14bdb26e771a (patch)
tree388837320acfb6d0d04993b258207e1d814ba0d1 /api/src/schema/Widget.ts
parentMerge pull request #353 from AlTech98/dummy-routes (diff)
parent:sparkles: #307 done (diff)
downloadserver-33533fc183d3dce4abcb49d76c2d14bdb26e771a.tar.xz
Merge branch 'typescript-interface-body-parser+autogenerate-unit-tests+documentation'
Diffstat (limited to 'api/src/schema/Widget.ts')
-rw-r--r--api/src/schema/Widget.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/api/src/schema/Widget.ts b/api/src/schema/Widget.ts
deleted file mode 100644

index d37a38de..00000000 --- a/api/src/schema/Widget.ts +++ /dev/null
@@ -1,10 +0,0 @@ -// https://discord.com/developers/docs/resources/guild#guild-widget-object -export const WidgetModifySchema = { - enabled: Boolean, // whether the widget is enabled - channel_id: String // the widget channel id -}; - -export interface WidgetModifySchema { - enabled: boolean; // whether the widget is enabled - channel_id: string; // the widget channel id -}