From caafbc606ce722f3afaa72ead4a2c28f8fbbe5e2 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Wed, 10 Feb 2021 22:04:55 +0100 Subject: move Schema from util to gateway --- src/schema/Emoji.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/schema/Emoji.ts (limited to 'src/schema/Emoji.ts') diff --git a/src/schema/Emoji.ts b/src/schema/Emoji.ts new file mode 100644 index 00000000..09f3ebb1 --- /dev/null +++ b/src/schema/Emoji.ts @@ -0,0 +1,11 @@ +export const EmojiSchema = { + name: String, // the name of the emoji + $id: BigInt, // the id of the emoji + animated: Boolean, // whether this emoji is animated +}; + +export interface EmojiSchema { + name: string; + id?: bigint; + animated: Boolean; +} -- cgit 1.5.1