summary refs log tree commit diff
path: root/gateway/src/schema/Emoji.ts
diff options
context:
space:
mode:
Diffstat (limited to 'gateway/src/schema/Emoji.ts')
-rw-r--r--gateway/src/schema/Emoji.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/gateway/src/schema/Emoji.ts b/gateway/src/schema/Emoji.ts
new file mode 100644
index 00000000..413b8359
--- /dev/null
+++ b/gateway/src/schema/Emoji.ts
@@ -0,0 +1,11 @@
+export const EmojiSchema = {
+	name: String, // the name of the emoji
+	$id: String, // the id of the emoji
+	animated: Boolean, // whether this emoji is animated
+};
+
+export interface EmojiSchema {
+	name: string;
+	id?: string;
+	animated: Boolean;
+}