Rocket.Chat.ReactNative/app/definitions/TUserStatus.ts

4 lines
124 B
TypeScript

export const STATUSES = ['offline', 'online', 'away', 'busy'] as const;
export type TUserStatus = typeof STATUSES[number];