F95API/app/scripts/classes/user-data.js

26 lines
531 B
JavaScript
Raw Normal View History

'use strict';
/**
* Class containing the data of the user currently connected to the F95Zone platform.
*/
2020-09-29 15:11:43 +00:00
class UserData {
constructor() {
/**
* User username.
* @type String
*/
this.username = "";
/**
* Path to the user's profile picture.
* @type String
*/
this.avatarSrc = null;
/**
* List of followed thread URLs.
* @type URL[]
*/
this.watchedThreads = [];
}
2020-09-29 15:11:43 +00:00
}
module.exports = UserData;