Skip to content

Commit

Permalink
feat(dashboard): move runner up & down (#714)
Browse files Browse the repository at this point in the history
feat(dashboard): move runner up & down
  • Loading branch information
Hoishin authored Dec 25, 2023
1 parent feabc8d commit 244c54b
Show file tree
Hide file tree
Showing 15 changed files with 992 additions and 2,489 deletions.
16 changes: 0 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,22 +105,6 @@
"headerColor": "#00BEBE",
"workspace": "2-misc"
},
{
"name": "edit-tourny",
"title": "走者情報入れ替え",
"file": "edit-tourny.html",
"width": 8,
"headerColor": "#00BEBE",
"workspace": "1-special"
},
{
"name": "current-runners",
"title": "現在のゲームの走者",
"file": "current-runners.html",
"width": 2,
"headerColor": "#00BEBE",
"workspace": "1-special"
},
{
"name": "countdown",
"title": "カウントダウン",
Expand Down
17 changes: 0 additions & 17 deletions schemas/lib/participant.json

This file was deleted.

36 changes: 34 additions & 2 deletions schemas/lib/run.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,43 @@
},
"runners": {
"type": "array",
"items": {"$ref": "participant.json"}
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"pk": {"type": "number"},
"name": {"type": "string"},
"twitch": {"type": "string"},
"nico": {"type": "string"},
"twitter": {"type": "string"},
"camera": {
"type": "boolean",
"description": "人ごとのカメラ使用有無"
}
},
"required": ["pk", "name"]
}
},
"commentators": {
"type": "array",
"items": {"$ref": "participant.json"}
"items": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"name": {"type": "string"},
"twitch": {"type": "string"},
"nico": {"type": "string"},
"twitter": {"type": "string"}
},
"required": ["name"]
},
{"type": "null"}
]
},
"minItems": 2,
"maxItems": 2
},
"twitchGameId": {
"type": "string"
Expand Down
Loading

0 comments on commit 244c54b

Please sign in to comment.