The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/definition/ISession.ts

32 lines
511 B

export interface ISessionDevice {
type: string;
name: string;
longVersion: string;
os: {
name: string;
version: string;
};
version: string;
}
export interface ISession {
_id: string;
type: string;
mostImportantRole: string;
userId: string;
lastActivityAt?: Date;
device?: ISessionDevice;
roles: string[];
year: number;
month: number;
day: number;
instanceId: string;
sessionId: string;
_updatedAt: Date;
createdAt: Date;
host: string;
ip: string;
loginAt: Date;
closedAt?: Date;
}