This repository has been archived on 2021-06-02. You can view files and clone it, but cannot push or open issues or pull requests.
Files
RealtimeDB-OLD/src/database/session.ts
Fabian Stamm cb67258ef3
All checks were successful
continuous-integration/drone/push Build is passing
Make uid null instead of undefined, when user is not logged in
2020-10-28 01:13:35 +01:00

11 lines
228 B
TypeScript

export default class Session {
constructor(private _sessionid: string) {}
get id() {
return this._sessionid;
}
root: boolean = false;
uid: string = null;
subscriptions = new Map<string, () => void>();
}