Skip to content

Commit decfcad

Browse files
committed
clean up schemas
1 parent 5dffa5f commit decfcad

File tree

7 files changed

+257
-626
lines changed

7 files changed

+257
-626
lines changed

src/resources/editor/tools/vs-code.mjs

Lines changed: 60 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -8637,16 +8637,17 @@ var require_yaml_intelligence_resources = __commonJS({
86378637
}
86388638
},
86398639
mapping: {
8640-
anyOf: [
8641-
{
8642-
enum: [
8643-
"pathname",
8644-
"url",
8645-
"title",
8646-
"og:title"
8647-
]
8648-
},
8649-
"string"
8640+
schema: {
8641+
anyOf: [
8642+
"string",
8643+
"number"
8644+
]
8645+
},
8646+
completions: [
8647+
"pathname",
8648+
"url",
8649+
"title",
8650+
"og:title"
86508651
],
86518652
description: {
86528653
short: "The mapping between the page and the embedded discussion.",
@@ -9699,40 +9700,34 @@ var require_yaml_intelligence_resources = __commonJS({
96999700
}
97009701
},
97019702
background: {
9702-
anyOf: [
9703-
{
9704-
enum: [
9705-
"primary",
9706-
"secondary",
9707-
"success",
9708-
"danger",
9709-
"warning",
9710-
"info",
9711-
"light",
9712-
"dark"
9713-
]
9714-
},
9715-
"string"
9716-
],
9717-
description: "The navbar's background color (named or hex color)."
9703+
string: {
9704+
description: "The navbar's background color (named or hex color).",
9705+
completions: [
9706+
"primary",
9707+
"secondary",
9708+
"success",
9709+
"danger",
9710+
"warning",
9711+
"info",
9712+
"light",
9713+
"dark"
9714+
]
9715+
}
97189716
},
97199717
foreground: {
9720-
anyOf: [
9721-
{
9722-
enum: [
9723-
"primary",
9724-
"secondary",
9725-
"success",
9726-
"danger",
9727-
"warning",
9728-
"info",
9729-
"light",
9730-
"dark"
9731-
]
9732-
},
9733-
"string"
9734-
],
9735-
description: "The navbar's foreground color (named or hex color)."
9718+
string: {
9719+
description: "The navbar's foreground color (named or hex color).",
9720+
completions: [
9721+
"primary",
9722+
"secondary",
9723+
"success",
9724+
"danger",
9725+
"warning",
9726+
"info",
9727+
"light",
9728+
"dark"
9729+
]
9730+
}
97369731
},
97379732
search: {
97389733
boolean: {
@@ -9854,38 +9849,30 @@ var require_yaml_intelligence_resources = __commonJS({
98549849
default: "floating"
98559850
},
98569851
background: {
9857-
anyOf: [
9858-
{
9859-
enum: [
9860-
"primary",
9861-
"secondary",
9862-
"success",
9863-
"danger",
9864-
"warning",
9865-
"info",
9866-
"light",
9867-
"dark"
9868-
]
9869-
},
9870-
"string"
9852+
schema: "string",
9853+
completions: [
9854+
"primary",
9855+
"secondary",
9856+
"success",
9857+
"danger",
9858+
"warning",
9859+
"info",
9860+
"light",
9861+
"dark"
98719862
],
98729863
description: "The sidebar's background color (named or hex color)."
98739864
},
98749865
foreground: {
9875-
anyOf: [
9876-
{
9877-
enum: [
9878-
"primary",
9879-
"secondary",
9880-
"success",
9881-
"danger",
9882-
"warning",
9883-
"info",
9884-
"light",
9885-
"dark"
9886-
]
9887-
},
9888-
"string"
9866+
schema: "string",
9867+
completions: [
9868+
"primary",
9869+
"secondary",
9870+
"success",
9871+
"danger",
9872+
"warning",
9873+
"info",
9874+
"light",
9875+
"dark"
98899876
],
98909877
description: "The sidebar's foreground color (named or hex color)."
98919878
},
@@ -24345,12 +24332,12 @@ var require_yaml_intelligence_resources = __commonJS({
2434524332
mermaid: "%%"
2434624333
},
2434724334
"handlers/mermaid/schema.yml": {
24348-
_internalId: 195600,
24335+
_internalId: 195566,
2434924336
type: "object",
2435024337
description: "be an object",
2435124338
properties: {
2435224339
"mermaid-format": {
24353-
_internalId: 195592,
24340+
_internalId: 195558,
2435424341
type: "enum",
2435524342
enum: [
2435624343
"png",
@@ -24366,7 +24353,7 @@ var require_yaml_intelligence_resources = __commonJS({
2436624353
exhaustiveCompletions: true
2436724354
},
2436824355
theme: {
24369-
_internalId: 195599,
24356+
_internalId: 195565,
2437024357
type: "anyOf",
2437124358
anyOf: [
2437224359
{

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 60 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)