add User and UserConnectionInfo models
This commit is contained in:
parent
80d9401733
commit
5e242ca9ba
6
src/models/User.ts
Normal file
6
src/models/User.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
export interface User {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
isOnline: boolean;
|
||||||
|
isAnonymous: boolean;
|
||||||
|
}
|
||||||
4
src/models/UserConnectionInfo.ts
Normal file
4
src/models/UserConnectionInfo.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface UserConnectionInfo {
|
||||||
|
userId: string;
|
||||||
|
isOnline: boolean;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user