Skip to content

Commit 1c5104b

Browse files
committed
fix schema
1 parent abe6430 commit 1c5104b

File tree

4 files changed

+22
-12
lines changed

4 files changed

+22
-12
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16633,11 +16633,13 @@ var require_yaml_intelligence_resources = __commonJS({
1663316633
schema: {
1663416634
anyOf: [
1663516635
"string",
16636+
"boolean",
1663616637
{
1663716638
ref: "brand"
1663816639
}
1663916640
]
16640-
}
16641+
},
16642+
description: "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition.\n"
1664116643
},
1664216644
{
1664316645
name: "theme",
@@ -24129,12 +24131,12 @@ var require_yaml_intelligence_resources = __commonJS({
2412924131
mermaid: "%%"
2413024132
},
2413124133
"handlers/mermaid/schema.yml": {
24132-
_internalId: 192608,
24134+
_internalId: 193258,
2413324135
type: "object",
2413424136
description: "be an object",
2413524137
properties: {
2413624138
"mermaid-format": {
24137-
_internalId: 192600,
24139+
_internalId: 193250,
2413824140
type: "enum",
2413924141
enum: [
2414024142
"png",
@@ -24150,7 +24152,7 @@ var require_yaml_intelligence_resources = __commonJS({
2415024152
exhaustiveCompletions: true
2415124153
},
2415224154
theme: {
24153-
_internalId: 192607,
24155+
_internalId: 193257,
2415424156
type: "anyOf",
2415524157
anyOf: [
2415624158
{

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

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

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9605,11 +9605,13 @@
96059605
"schema": {
96069606
"anyOf": [
96079607
"string",
9608+
"boolean",
96089609
{
96099610
"ref": "brand"
96109611
}
96119612
]
9612-
}
9613+
},
9614+
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition.\n"
96139615
},
96149616
{
96159617
"name": "theme",
@@ -17101,12 +17103,12 @@
1710117103
"mermaid": "%%"
1710217104
},
1710317105
"handlers/mermaid/schema.yml": {
17104-
"_internalId": 192608,
17106+
"_internalId": 193258,
1710517107
"type": "object",
1710617108
"description": "be an object",
1710717109
"properties": {
1710817110
"mermaid-format": {
17109-
"_internalId": 192600,
17111+
"_internalId": 193250,
1711017112
"type": "enum",
1711117113
"enum": [
1711217114
"png",
@@ -17122,7 +17124,7 @@
1712217124
"exhaustiveCompletions": true
1712317125
},
1712417126
"theme": {
17125-
"_internalId": 192607,
17127+
"_internalId": 193257,
1712617128
"type": "anyOf",
1712717129
"anyOf": [
1712817130
{

src/resources/schema/document-options.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
- string # a file path
1313
- boolean # if false, don't use branding on this document
1414
- ref: brand # an inline brand object definition
15+
description: |
16+
Branding information to use for this document. If a string, the path to a brand file.
17+
If false, don't use branding on this document. If an object, an inline brand
18+
definition.
1519
1620
- name: theme
1721
tags:

0 commit comments

Comments
 (0)