From d613be105a051b3e11759003bdd1e13569a376bc Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Tue, 21 Dec 2021 15:19:29 -0300 Subject: [PATCH] Chore: Migrate CustomEmoji to Typescript --- app/definitions/ICustomEmoji.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/definitions/ICustomEmoji.ts diff --git a/app/definitions/ICustomEmoji.ts b/app/definitions/ICustomEmoji.ts new file mode 100644 index 000000000..6a6c131a7 --- /dev/null +++ b/app/definitions/ICustomEmoji.ts @@ -0,0 +1,10 @@ +import Model from '@nozbe/watermelondb/Model'; + +export interface ICustomEmoji { + name?: string; + aliases?: string; + extension: string; + _updatedAt: Date; +} + +export type TCustomEmojiModel = ICustomEmoji & Model;