From 84d714324ad65de94cfb3076daa8f6622a54e438 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 6 Feb 2021 15:35:02 +0100 Subject: :sparkles: Schema interfaces --- src/Schema/Emoji.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/Schema/Emoji.ts') diff --git a/src/Schema/Emoji.ts b/src/Schema/Emoji.ts index ebb9afdd..09f3ebb1 100644 --- a/src/Schema/Emoji.ts +++ b/src/Schema/Emoji.ts @@ -1,5 +1,11 @@ export const EmojiSchema = { name: String, // the name of the emoji - id: BigInt, // the id 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