Implements the database methods responsible for managing sessions.
Implements startSession, startSessionAnywhere, endSession and getSession.
A session, is the resulting meeting made when two people are removed from a queue. A session has some points of metadata including:
users - A list of the users
question - The question being used in the session.
expirationDate - when it is due to expire.
todo: implement a firebase function that triggers to end the session at this time. This might mean moving the endInterviewSession method to the cloud also.
Implements the database methods responsible for managing
sessions
.Implements startSession, startSessionAnywhere, endSession and getSession.
A
session
, is the resulting meeting made when two people are removed from a queue. A session has some points of metadata including:users
- A list of the usersquestion
- The question being used in the session.expirationDate
- when it is due to expire. todo: implement a firebase function that triggers to end the session at this time. This might mean moving theendInterviewSession
method to the cloud also.