| ... | @@ -2,6 +2,135 @@ |
... | @@ -2,6 +2,135 @@ |
|
|
|
|
|
|
|
## Front-end listeners
|
|
## Front-end listeners
|
|
|
|
|
|
|
|
|
### Challenge Modify
|
|
|
|
| Socket | Description | User | Emitters |
|
|
|
|
|--------|-------------|------|----------|
|
|
|
|
| `challengeModify` | Listener will trigger when the challenge room's information changes.| All| [`modifyChallenge`](#modify-challenge) |
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Response</summary>
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"challengeRoomName": "string",
|
|
|
|
"challengeTasks": [{
|
|
|
|
"description": "string",
|
|
|
|
"challengeNumber": "number"
|
|
|
|
}],
|
|
|
|
"challengeStartDate": "string",
|
|
|
|
"challengeEndDate": "string",
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Header
|
|
|
|
| Socket | Description | User | Emitters |
|
|
|
|
|--------|-------------|------|----------|
|
|
|
|
| `name` | Desc | Role | [`name`](#name) |
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Response</summary>
|
|
|
|
|
|
|
|
```json
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Header
|
|
|
|
| Socket | Description | User | Emitters |
|
|
|
|
|--------|-------------|------|----------|
|
|
|
|
| `name` | Desc | Role | [`name`](#name) |
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Response</summary>
|
|
|
|
|
|
|
|
```json
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Header
|
|
|
|
| Socket | Description | User | Emitters |
|
|
|
|
|--------|-------------|------|----------|
|
|
|
|
| `name` | Desc | Role | [`name`](#name) |
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Response</summary>
|
|
|
|
|
|
|
|
```json
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Header
|
|
|
|
| Socket | Description | User | Emitters |
|
|
|
|
|--------|-------------|------|----------|
|
|
|
|
| `name` | Desc | Role | [`name`](#name) |
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Response</summary>
|
|
|
|
|
|
|
|
```json
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Header
|
|
|
|
| Socket | Description | User | Emitters |
|
|
|
|
|--------|-------------|------|----------|
|
|
|
|
| `name` | Desc | Role | [`name`](#name) |
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Response</summary>
|
|
|
|
|
|
|
|
```json
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Header
|
|
|
|
| Socket | Description | User | Emitters |
|
|
|
|
|--------|-------------|------|----------|
|
|
|
|
| `name` | Desc | Role | [`name`](#name) |
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Response</summary>
|
|
|
|
|
|
|
|
```json
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Header
|
|
|
|
| Socket | Description | User | Emitters |
|
|
|
|
|--------|-------------|------|----------|
|
|
|
|
| `name` | Desc | Role | [`name`](#name) |
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Response</summary>
|
|
|
|
|
|
|
|
```json
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
## Front-end emitters
|
|
## Front-end emitters
|
|
|
|
|
|
|
|
### Approve File
|
|
### Approve File
|
| ... | |
... | |
| ... | | ... | |