Files
XHChat/web/src/contacts.ts
T

10 lines
282 B
TypeScript

export interface Contact {
id: string
username: string
state: 'none' | 'incoming' | 'outgoing' | 'friend' | 'blocked'
alias: string
category: string
}
export type ContactAction = 'request' | 'accept' | 'reject' | 'cancel' | 'delete' | 'block' | 'unblock' | 'preferences'