schema: add Microsoft.WSL profile source to schema, width its type (#19047)

WSL now generates profiles with the source named `Microsoft.WSL`, this
PR adds the value to the profile schema.

Refs #18231
This commit is contained in:
Chawye Hsu 2025-06-24 07:55:46 +08:00 committed by GitHub
parent 00ee88400a
commit 1980e725ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,13 +32,21 @@
]
},
"DynamicProfileSource": {
"enum": [
"Windows.Terminal.Wsl",
"Windows.Terminal.Azure",
"Windows.Terminal.PowershellCore",
"Windows.Terminal.VisualStudio"
],
"type": "string"
"type": "string",
"anyOf": [
{
"type": "string"
},
{
"enum": [
"Microsoft.WSL",
"Windows.Terminal.Wsl",
"Windows.Terminal.Azure",
"Windows.Terminal.PowershellCore",
"Windows.Terminal.VisualStudio"
]
}
]
},
"BellStyle": {
"oneOf": [