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-10 22:04:55 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-10 22:04:55 +0100
commitcaafbc606ce722f3afaa72ead4a2c28f8fbbe5e2 (patch)
tree368e8d23b8fb7c4167ac8676677e1f0a405bfab0 /src/schema/Emoji.ts
parentupdate import to fosscord-server-util (diff)
downloadserver-caafbc606ce722f3afaa72ead4a2c28f8fbbe5e2.tar.xz
move Schema from util to gateway
Diffstat (limited to 'src/schema/Emoji.ts')
-rw-r--r--src/schema/Emoji.ts11
1 files changed, 11 insertions, 0 deletions
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; +}