From 65fc1081c5df27211d1715ee7aec27cfe13ffac3 Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Wed, 7 Jul 2021 22:06:51 +0900 Subject: [PATCH] types: added UserSpec --- types/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/index.ts b/types/index.ts index d86b2dd..0997bdd 100644 --- a/types/index.ts +++ b/types/index.ts @@ -37,6 +37,11 @@ export interface User { bots: Bot[] | string[] } +export interface UserSpec extends User { + email: string + perm: string +} + export interface BotSpec { id: string webhook: string | null