Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Overnap
2021-06-10 05:28:05 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
637e5df1ffbbbe8ae630f11a71ad8d8e00b28aa5
637e5df1
1 parent
7951eea6
Role 타입 수정
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
web/src/components/room/types.ts
web/src/components/room/types.ts
View file @
637e5df
...
...
@@ -29,13 +29,16 @@ export interface Vector {
export
type
Role
=
"drawer"
|
"guesser"
|
"winner"
|
"spectator"
;
export
interface
RoleData
{
username
:
string
;
nickname
:
string
;
role
:
Role
;
}
export
interface
RoundData
{
round
:
number
;
duration
:
number
;
roles
:
{
username
:
string
;
role
:
Role
;
}[];
roles
:
RoleData
[];
};
export
interface
BrushData
{
...
...
Please
register
or
login
to post a comment