From fb624ef25c2230346538572e01abaec93840dfa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Sat, 9 Jan 2021 19:29:21 +0900 Subject: [PATCH] feat: added BotList type --- types/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/index.ts b/types/index.ts index d243891..6cad5bb 100644 --- a/types/index.ts +++ b/types/index.ts @@ -37,6 +37,13 @@ export interface User { bots: Bot[] | string[] } +export interface BotList { + type: ListType + data: Bot[] + currentPage: number + totalPage: number +} + export type Status = 'online' | 'offline' | 'dnd' | 'idle' | 'streaming' export type BotState = 'ok' | 'reported' | 'archived' | 'private'