Skip to main content

Type Alias: UserProps

type UserProps = ModelProps & object;

Defined in: models/user.ts:18

A User's specific properties

Type Declaration

created?

optional created?: number;

Timestamp of when the user was created

device?

optional device?: string;

The user's login device. Includes: WebUI, iPad, EmbeddedNode, and tools like DMM-v1

method?

optional method?: UserLoginMethod;

The user's login method, such as cac, google, apple, or email

modified?

optional modified?: number;

Timestamp of when the user's data was last modified

name?

optional name?: string;

A user's name

parentUuid?

optional parentUuid?: string;

The parentUUID of a user (only tool users will have a value)

socketId?

optional socketId?: string;

A user's socketId

state?

optional state?: string;

State of user, whether they are Online or InRoom

type?

optional type?: string;

The type of user. Options: RemoteExpert, OnSiteUser, EmbeddedNode, Tools

uid?

optional uid?: string;

A user's email