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

27 lines
522 B
JavaScript

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