mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
fix(schema): add definitions of upgrade
and correct outdated links
This commit is contained in:
parent
01468feb53
commit
6c7cffc69a
|
@ -432,7 +432,7 @@
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
"title": "Project Segment",
|
"title": "Project Segment",
|
||||||
"description": "https://ohmyposh.dev/docs/project"
|
"description": "https://ohmyposh.dev/docs/segments/project"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -445,7 +445,7 @@
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
"title": "NPM Segment",
|
"title": "NPM Segment",
|
||||||
"description": "https://ohmyposh.dev/docs/npm",
|
"description": "https://ohmyposh.dev/docs/segments/npm",
|
||||||
"properties": {
|
"properties": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -529,14 +529,14 @@
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
"title": "Azure Segment",
|
"title": "Azure Segment",
|
||||||
"description": "https://ohmyposh.dev/docs/az",
|
"description": "https://ohmyposh.dev/docs/segments/az",
|
||||||
"properties": {
|
"properties": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"source": {
|
"source": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"title": "Source",
|
"title": "Source",
|
||||||
"description": "https://ohmyposh.dev/docs/az#properties",
|
"description": "https://ohmyposh.dev/docs/segments/az#properties",
|
||||||
"default": "first_match",
|
"default": "first_match",
|
||||||
"enum": [
|
"enum": [
|
||||||
"first_match",
|
"first_match",
|
||||||
|
@ -2567,7 +2567,7 @@
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
"title": "Brewfather Batch Status",
|
"title": "Brewfather Batch Status",
|
||||||
"description": "https://ohmyposh.dev/docs/brewfather",
|
"description": "https://ohmyposh.dev/docs/segments/brewfather",
|
||||||
"properties": {
|
"properties": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -2804,7 +2804,7 @@
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
"title": "Unity Segment",
|
"title": "Unity Segment",
|
||||||
"description": "https://ohmyposh.dev/docs/unity",
|
"description": "https://ohmyposh.dev/docs/segments/unity",
|
||||||
"properties": {
|
"properties": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -2816,6 +2816,28 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"if": {
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"const": "upgrade"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"then": {
|
||||||
|
"title": "Upgrade Segment",
|
||||||
|
"description": "https://ohmyposh.dev/docs/segments/upgrade",
|
||||||
|
"properties": {
|
||||||
|
"properties": {
|
||||||
|
"properties": {
|
||||||
|
"cache_timeout": {
|
||||||
|
"$ref": "#/definitions/cache_timeout"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"if": {
|
"if": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -3116,7 +3138,7 @@
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
"title": "Mercurial Segment",
|
"title": "Mercurial Segment",
|
||||||
"description": "https://ohmyposh.dev/docs/mercurial",
|
"description": "https://ohmyposh.dev/docs/segments/mercurial",
|
||||||
"properties": {
|
"properties": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
Loading…
Reference in a new issue