summary refs log tree commit diff
path: root/src/schema/Template.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-07 20:03:24 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-07 20:03:24 +0200
commit78fa2835abe7ff49995ad82bd28dbb956375b875 (patch)
tree9a1db5eab693c81e01743caa60a2050c3b018dee /src/schema/Template.ts
parent[Route] PATCH /guilds/:id/roles (diff)
downloadserver-78fa2835abe7ff49995ad82bd28dbb956375b875.tar.xz
:art: [Route] templates refactor
Diffstat (limited to 'src/schema/Template.ts')
-rw-r--r--src/schema/Template.ts10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/schema/Template.ts b/src/schema/Template.ts

index 64ca2165..88e36c53 100644 --- a/src/schema/Template.ts +++ b/src/schema/Template.ts
@@ -1,21 +1,19 @@ export const TemplateCreateSchema = { name: String, $description: String, - }; export interface TemplateCreateSchema { - name: string, - description?: string, + name: string; + description?: string; } export const TemplateModifySchema = { name: String, $description: String, - }; export interface TemplateModifySchema { - name: string, - description?: string, + name: string; + description?: string; }