From 0ab1042229334f6771d389a8d278990286c55970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Intevel=20=E3=83=84?= <59223342+Intevel@users.noreply.github.com> Date: Fri, 13 Aug 2021 12:18:21 +0200 Subject: [PATCH] Create Emoji.ts --- api/src/schema/Emoji.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 api/src/schema/Emoji.ts diff --git a/api/src/schema/Emoji.ts b/api/src/schema/Emoji.ts new file mode 100644 index 00000000..deaccf5c --- /dev/null +++ b/api/src/schema/Emoji.ts @@ -0,0 +1,14 @@ +// https://discord.com/developers/docs/resources/emoji + + +export const EmojiCreateSchema = { + name: String, //name of the emoji + image: String, // image data the 128x128 emoji image uri + roles: Array //roles allowed to use this emoji +}; + +export interface EmojiCreateSchema { + name: string; // name of the emoji + image: string; // image data the 128x128 emoji image uri + roles: []; //roles allowed to use this emoji +}