good progress on socket mesh
This commit is contained in:
@@ -8,14 +8,21 @@ import { User } from "./user.model";
|
||||
// speed...I'm developing full stack and I just want all of the data and don't want to change this model
|
||||
// repeatedly and trace data back and forth
|
||||
export default class MasterLineData {
|
||||
// if someone else is buzzing on the line
|
||||
isOtherBroadcasting?: boolean = false;
|
||||
// if I am buzzing in the line
|
||||
isUserBroadcasting?: boolean = false;
|
||||
// NOTE: these properties should be kept optional cuzz default values won't show up for
|
||||
// all clients who are casting response objects
|
||||
|
||||
// not really necessary, but clients can know all connected folks
|
||||
// -> if they wanted to get the feeling of people being right there
|
||||
connectedMemberIds?: string[];
|
||||
|
||||
// all of the current session tuned in folks for user to see
|
||||
// -> use as source of truth whether or not I am tuned in or not for UI to avoid confusion
|
||||
// ->
|
||||
tunedInMemberIds?: string[];
|
||||
|
||||
// list of user Ids of everyone who is buzzing in this line
|
||||
currentBroadcasters: string[] = [];
|
||||
// ?current people tuned into the line...not sure if this is a product decision but can support it
|
||||
tunedInMemberIds: string[] = [];
|
||||
// -> all connected line members be able to show this in the right activity section of the lineRow
|
||||
currentBroadcastersUserIds?: string[];
|
||||
|
||||
constructor(
|
||||
// full line object
|
||||
|
||||
Reference in New Issue
Block a user