summary refs log tree commit diff
path: root/src/Schema/Emoji.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-06 15:35:02 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-06 15:35:02 +0100
commit84d714324ad65de94cfb3076daa8f6622a54e438 (patch)
tree563a0686d87db0bba3d6e1ce3aa2f561dfe58998 /src/Schema/Emoji.ts
parentupdate missing-native-js-functions version (diff)
downloadserver-84d714324ad65de94cfb3076daa8f6622a54e438.tar.xz
:sparkles: Schema interfaces
Diffstat (limited to 'src/Schema/Emoji.ts')
-rw-r--r--src/Schema/Emoji.ts8
1 files changed, 7 insertions, 1 deletions
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; +}