Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

271 B
Raw Blame
import type { UserModel } from '@sync-in-server/backend/src/applications/users/models/user.model'

export type UserType = Omit<UserModel, 'permissions' | 'password'>

export type UserStatus = keyof Pick<UserType, 'isAdmin' | 'isUser' | 'isGuest' | 'isLink' | 'clientId'>