Change map state drawShapes and fogShapes name

This commit is contained in:
Mitchell McCaffrey
2021-08-06 08:21:19 +10:00
parent d1e62e850a
commit b300418d78
10 changed files with 52 additions and 28 deletions

View File

@@ -15,10 +15,10 @@ export const MapStateSchema: any = {
tokens: {
$ref: "#/definitions/TokenStates",
},
drawShapes: {
drawings: {
$ref: "#/definitions/DrawingState",
},
fogShapes: {
fogs: {
$ref: "#/definitions/FogState",
},
editFlags: {
@@ -35,14 +35,7 @@ export const MapStateSchema: any = {
type: "string",
},
},
required: [
"drawShapes",
"editFlags",
"fogShapes",
"mapId",
"notes",
"tokens",
],
required: ["drawings", "editFlags", "fogs", "mapId", "notes", "tokens"],
type: "object",
definitions: {
TokenStates: {