mirror of
https://github.com/starship/starship.git
synced 2025-02-18 11:20:58 +01:00
update json schema
This commit is contained in:
parent
43217d49a4
commit
c17053c7aa
78
.github/config-schema.json
vendored
78
.github/config-schema.json
vendored
@ -296,7 +296,14 @@
|
|||||||
"read_only_style": "red",
|
"read_only_style": "red",
|
||||||
"repo_root_format": "[$before_root_path]($style)[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) ",
|
"repo_root_format": "[$before_root_path]($style)[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) ",
|
||||||
"repo_root_style": null,
|
"repo_root_style": null,
|
||||||
"style": "cyan bold",
|
"style": [
|
||||||
|
{
|
||||||
|
"env": null,
|
||||||
|
"expected_value": null,
|
||||||
|
"operator": null,
|
||||||
|
"style": "cyan bold"
|
||||||
|
}
|
||||||
|
],
|
||||||
"substitutions": {},
|
"substitutions": {},
|
||||||
"truncate_to_repo": true,
|
"truncate_to_repo": true,
|
||||||
"truncation_length": 3,
|
"truncation_length": 3,
|
||||||
@ -2143,8 +2150,19 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"default": "cyan bold",
|
"default": [
|
||||||
"type": "string"
|
{
|
||||||
|
"env": null,
|
||||||
|
"expected_value": null,
|
||||||
|
"operator": null,
|
||||||
|
"style": "cyan bold"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/definitions/Either_for_StarshipConditionalStyle_and_Array_of_StarshipConditionalStyle"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"repo_root_style": {
|
"repo_root_style": {
|
||||||
"default": null,
|
"default": null,
|
||||||
@ -2179,6 +2197,60 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Either_for_StarshipConditionalStyle_and_Array_of_StarshipConditionalStyle": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/definitions/StarshipConditionalStyle"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/definitions/StarshipConditionalStyle"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"StarshipConditionalStyle": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"env": {
|
||||||
|
"default": null,
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"operator": {
|
||||||
|
"default": null,
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/definitions/StarshipConditionalStyleOperator"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"expected_value": {
|
||||||
|
"default": null,
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"style": {
|
||||||
|
"default": "",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"StarshipConditionalStyleOperator": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"Equal",
|
||||||
|
"Exists"
|
||||||
|
]
|
||||||
|
},
|
||||||
"DockerContextConfig": {
|
"DockerContextConfig": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
Loading…
Reference in New Issue
Block a user