From 7b6f791026a3f337813889110a668e0c00c294df Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Sun, 5 Jun 2022 16:32:37 +0200 Subject: [PATCH] docs: add flutter schema --- themes/schema.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/themes/schema.json b/themes/schema.json index 2beb72a5..c0b8b191 100644 --- a/themes/schema.json +++ b/themes/schema.json @@ -195,6 +195,7 @@ "dart", "exit", "executiontime", + "flutter", "fossil", "git", "go", @@ -566,6 +567,37 @@ } } }, + { + "if": { + "properties": { + "type": { + "const": "flutter" + } + } + }, + "then": { + "title": "Flutter Segment", + "description": "https://ohmyposh.dev/docs/segments/flutter", + "properties": { + "properties": { + "properties": { + "home_enabled": { + "$ref": "#/definitions/home_enabled" + }, + "fetch_version": { + "$ref": "#/definitions/fetch_version" + }, + "display_mode": { + "$ref": "#/definitions/display_mode" + }, + "missing_command_text": { + "$ref": "#/definitions/missing_command_text" + } + } + } + } + } + }, { "if": { "properties": {