fix: add missing azfunc segment to schema

This commit is contained in:
Jan De Dobbeleer 2021-04-11 20:07:41 +02:00 committed by Jan De Dobbeleer
parent 01ea680002
commit 5bf3c3b2c7

View file

@ -156,7 +156,8 @@
"executiontime", "executiontime",
"aws", "aws",
"java", "java",
"poshgit" "poshgit",
"azfunc"
] ]
}, },
"style": { "style": {
@ -847,6 +848,32 @@
} }
} }
}, },
{
"if": {
"properties": {
"type": { "const": "azfunc" }
}
},
"then": {
"title": "Azure Function Segment",
"description": "https://ohmyposh.dev/docs/azfunc",
"properties": {
"properties": {
"properties": {
"display_version": {
"$ref": "#/definitions/display_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
}
}
}
}
}
},
{ {
"if": { "if": {
"properties": { "properties": {