Enha: leave one room model for now
This commit is contained in:
@ -42,7 +42,7 @@ func StrToUserRole(s string) UserRole {
|
||||
|
||||
type UserState struct {
|
||||
Username string
|
||||
Room RoomPublic
|
||||
Room Room
|
||||
Team UserTeam
|
||||
Role UserRole
|
||||
}
|
||||
@ -54,8 +54,13 @@ func MakeTestState() *UserState {
|
||||
{Word: "wheel", Color: "white"},
|
||||
{Word: "condition", Color: "black"},
|
||||
{Word: "test", Color: "white"},
|
||||
{Word: "ball", Color: "blue"},
|
||||
{Word: "violin", Color: "red"},
|
||||
{Word: "rat", Color: "white"},
|
||||
{Word: "perplexity", Color: "blue"},
|
||||
{Word: "notion", Color: "red"},
|
||||
}
|
||||
room := RoomPublic{
|
||||
room := Room{
|
||||
ID: "test-id",
|
||||
CreatedAt: time.Now(),
|
||||
CreatorName: "test-name",
|
||||
|
Reference in New Issue
Block a user