datasquirel/types/user.td.js

16 lines
668 B
JavaScript
Raw Normal View History

2023-07-02 06:06:48 +00:00
/**
* @typedef {object} DATASQUIREL_LoggedInUser
* @property {number} id - user id (number)
* @property {string} first_name - User First Name
* @property {string} last_name - User Last Name
* @property {string} image - User Full Image
* @property {string} image_thumbnail - User Image Thumbnail
* @property {string} [social_id] - User Social id if available
* @property {number} social_login - 0 or 1 => is this user a social user(1) or not(0)
* @property {string} csrf_k - CSRF key
* @property {boolean} logged_in_status - Is user logged in or not
2023-08-07 14:34:25 +00:00
* @property {boolean} [date] - Time of session creation
2023-07-02 06:06:48 +00:00
*/
2023-07-02 06:08:20 +00:00
module.exports = { DATASQUIREL_LoggedInUser };