원더 2021-01-10 12:42:17 +09:00
parent 5267edccb8
commit 2cbfdf4a5b
2 changed files with 5 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export interface BotList {
totalPage: number totalPage: number
} }
export type Status = 'online' | 'offline' | 'dnd' | 'idle' | 'streaming' export type Status = 'online' | 'offline' | 'dnd' | 'idle' | 'streaming' | null
export type BotState = 'ok' | 'reported' | 'archived' | 'private' export type BotState = 'ok' | 'reported' | 'archived' | 'private'

View File

@ -15,6 +15,10 @@ export const Status = {
text: '오프라인', text: '오프라인',
color: 'gray-500', color: 'gray-500',
}, },
streaming: {
text: '방송중',
color: 'purple-500'
},
null: { null: {
text: '알 수 없음', text: '알 수 없음',
color: 'gray-500', color: 'gray-500',