Skip to content

Commit

Permalink
feat: add is password authenticated property to members
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkiir committed Feb 22, 2023
1 parent 391fc25 commit 3f2827e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bot/schemas/member.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 10,7 @@ export class Member extends Schema {
@type("string") color: string = "#000000";
@type("string") control: "disabled" | "requesting" | "enabled" = "enabled";
@type("boolean") isAuthenticated: boolean = false;
@type("boolean") isPasswordAuthenticated: boolean = false;
@type(Cursor) cursor: Cursor;
}

Expand Down
1 change: 1 addition & 0 deletions client/src/schemas/member.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 10,7 @@ export class Member extends Schema {
@type("string") color: string = "#000000";
@type("string") control: "disabled" | "requesting" | "enabled" = "enabled";
@type("boolean") isAuthenticated: boolean = false;
@type("boolean") isPasswordAuthenticated: boolean = false;
@type(Cursor) cursor: Cursor;
}

Expand Down
1 change: 1 addition & 0 deletions client/src/schemas/room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 7,7 @@ export class RoomState extends Schema {
@type("string") embedUrl?: string;
@type("string") sessionId?: string;
@type("string") ownerId: string;
@type("boolean") isPasswordProtected: boolean = false;
// Not synced
password?: string;
}
Expand Down

0 comments on commit 3f2827e

Please sign in to comment.