56cee450d1
add User class where we later can track display name, avatar, ...
9 lines
144 B
JavaScript
9 lines
144 B
JavaScript
export default class User {
|
|
constructor(userId) {
|
|
this._userId = userId;
|
|
}
|
|
|
|
get id() {
|
|
return this._userId;
|
|
}
|
|
}
|