Class

user

user(username, email, password, twitchId, googleId, facebookId, image, shortDescription, description, currentStream, twitchData, googleData, facebookData, upcomingEvents, friendsData, notifications, followData)

Constructor

# new user(username, email, password, twitchId, googleId, facebookId, image, shortDescription, description, currentStream, twitchData, googleData, facebookData, upcomingEvents, friendsData, notifications, followData)

Schema for user account
Parameters:
Name Type Description
username String
email String
password String
twitchId String
googleId String
facebookId String
image String
shortDescription String
description String
currentStream upComingEventData
twitchData twitchData
googleData googleData
facebookData facebookData
upcomingEvents Array.<upComingEventData>
friendsData Array.<friendsData>
notifications Array.<notification>
followData followData

View Source backend/models/user.js, line 179