verdnatura-chat/app/definitions/TUserStatus.ts

4 lines
124 B
TypeScript
Raw Permalink Normal View History

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