mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
Add Pinia persistence and scoreboard support (#15)
* Add scoreboard replicant and Pinia persistence * Fix scoreboard replicant sync (#16)
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"leftPlayerId": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"rightPlayerId": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"leftNameOverride": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"rightNameOverride": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"leftScore": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"minimum": 0
|
||||
},
|
||||
"rightScore": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"minimum": 0
|
||||
},
|
||||
"round": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"leftPlayerId",
|
||||
"rightPlayerId",
|
||||
"leftNameOverride",
|
||||
"rightNameOverride",
|
||||
"leftScore",
|
||||
"rightScore",
|
||||
"round"
|
||||
],
|
||||
"default": {
|
||||
"leftPlayerId": "",
|
||||
"rightPlayerId": "",
|
||||
"leftNameOverride": "",
|
||||
"rightNameOverride": "",
|
||||
"leftScore": 0,
|
||||
"rightScore": 0,
|
||||
"round": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user