Skip to content
GitLab
Explore
Sign in
Changes
Page history
Update Socket API
authored
Jul 25, 2022
by
H9031
Show whitespace changes
Inline
Side-by-side
API/Socket-API.md
View page @
d76de49b
...
@@ -56,26 +56,26 @@
...
@@ -56,26 +56,26 @@
```
json
```
json
{
{
playerName:
string
"
playerName
"
:
"
string
"
playerAvatar:
string
"
playerAvatar
"
:
"
string
"
submissions:
{
"
submissions
"
:
{
submissionId:
string
"
submissionId
"
:
"
string
"
status:
fileStatus
"
status
"
:
"'Not reviewed' | 'Approved' | 'Rejected' | 'Not submitted'"
fileName:
string
"
fileName
"
:
"
string
"
mimeType?:
string
"
mimeType
"
?:
"
string
"
createdAt:
string
"
createdAt
"
:
"
string
"
updatedAt:
string
"
updatedAt
"
:
"
string
"
taskTaskId:
string
"
taskTaskId
"
:
"
string
"
userUserId:
string
"
userUserId
"
:
"
string
"
taskDescription:
string
"
taskDescription
"
:
"
string
"
taskNumber:
number
"
taskNumber
"
:
"
number
"
}[]
}[]
playerResult:
{
"
playerResult
"
:
{
time:
number
"
time
"
:
"
number
"
score?:
number
"
score
"
?:
"
number
"
}
}
totalScore:
number
"
totalScore
"
:
"
number
"
totalTime:
number
"
totalTime
"
:
"
number
"
}
}
```
```
...
...
...
...