Skip to content

Commit

Permalink
fix: mapped_locations schema definition
Browse files Browse the repository at this point in the history
  • Loading branch information
tradiff authored and JanDeDobbeleer committed Dec 31, 2020
1 parent 1bc52c3 commit 7e74835
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions themes/schema.json
Expand Up @@ -882,10 +882,31 @@
"default": "folder"
},
"mapped_locations": {
"type": "object",
"type": "array",
"title": "Mapped Locations",
"description": "Custom glyph/text for specific paths",
"additionalProperties": { "type": "string" }
"items": {
"type": "array",
"items": [
{
"type": "string",
"title": "Filesystem path"
},
{
"type": "string",
"title": "Replacement text"
}
],
"minItems": 2,
"maxItems": 2,
"additionalItems": false
}
},
"mapped_locations_enabled": {
"type": "boolean",
"title": "Enable the Mapped Locations feature",
"description": "Replace known locations in the path with the replacements before applying the style.",
"default": true
}
}
}
Expand Down

0 comments on commit 7e74835

Please sign in to comment.