summary refs log tree commit diff
path: root/src/schema
diff options
context:
space:
mode:
authorIntevel ツ <59223342+Intevel@users.noreply.github.com>2021-05-06 11:22:34 +0200
committerIntevel ツ <59223342+Intevel@users.noreply.github.com>2021-05-06 11:22:34 +0200
commitbe50cc3d350782a9bccbe645212b015dd8a75916 (patch)
tree9577543046f4ffb456b001d86592fd85a65c784c /src/schema
parent[Route] POST /guilds/template/:code (diff)
downloadserver-be50cc3d350782a9bccbe645212b015dd8a75916.tar.xz
[Route] PATCH /guilds/:id/templates
Diffstat (limited to 'src/schema')
-rw-r--r--src/schema/Template.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/schema/Template.ts b/src/schema/Template.ts

index b467d4cb..64ca2165 100644 --- a/src/schema/Template.ts +++ b/src/schema/Template.ts
@@ -8,3 +8,14 @@ export interface TemplateCreateSchema { name: string, description?: string, } + +export const TemplateModifySchema = { + name: String, + $description: String, + +}; + +export interface TemplateModifySchema { + name: string, + description?: string, +}