Skip to content

Commit 07f0173

Browse files
artifacts
1 parent f1ea97d commit 07f0173

File tree

4 files changed

+57
-15
lines changed

4 files changed

+57
-15
lines changed

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

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15616,6 +15616,20 @@ var require_yaml_intelligence_resources = __commonJS({
1561615616
},
1561715617
description: "The paper size for the document.\n"
1561815618
},
15619+
{
15620+
name: "choose-brand",
15621+
schema: {
15622+
enum: [
15623+
"light",
15624+
"dark"
15625+
]
15626+
},
15627+
tags: {
15628+
formats: [
15629+
"typst"
15630+
]
15631+
}
15632+
},
1561915633
{
1562015634
name: "layout",
1562115635
schema: {
@@ -22914,8 +22928,6 @@ var require_yaml_intelligence_resources = __commonJS({
2291422928
"If <code>true</code>, force the presence of the OJS runtime. If\n<code>false</code>, force the absence instead. If unset, the OJS runtime\nis included only if OJS cells are present in the document.",
2291522929
"Use the specified file as a style reference in producing a docx,\npptx, or odt file.",
2291622930
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don\u2019t use branding on this document. If an\nobject, an inline brand definition, or an object with light and dark\nbrand paths or definitions.",
22917-
"The path to a light brand file or an inline light brand\ndefinition.",
22918-
"The path to a dark brand file or an inline dark brand definition.",
2291922931
"Theme name, theme scss file, or a mix of both.",
2292022932
"The light theme name, theme scss file, or a mix of both.",
2292122933
"The light theme name, theme scss file, or a mix of both.",
@@ -24248,12 +24260,12 @@ var require_yaml_intelligence_resources = __commonJS({
2424824260
mermaid: "%%"
2424924261
},
2425024262
"handlers/mermaid/schema.yml": {
24251-
_internalId: 196120,
24263+
_internalId: 194251,
2425224264
type: "object",
2425324265
description: "be an object",
2425424266
properties: {
2425524267
"mermaid-format": {
24256-
_internalId: 196112,
24268+
_internalId: 194243,
2425724269
type: "enum",
2425824270
enum: [
2425924271
"png",
@@ -24269,7 +24281,7 @@ var require_yaml_intelligence_resources = __commonJS({
2426924281
exhaustiveCompletions: true
2427024282
},
2427124283
theme: {
24272-
_internalId: 196119,
24284+
_internalId: 194250,
2427324285
type: "anyOf",
2427424286
anyOf: [
2427524287
{

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

Lines changed: 17 additions & 5 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: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8588,6 +8588,20 @@
85888588
},
85898589
"description": "The paper size for the document.\n"
85908590
},
8591+
{
8592+
"name": "choose-brand",
8593+
"schema": {
8594+
"enum": [
8595+
"light",
8596+
"dark"
8597+
]
8598+
},
8599+
"tags": {
8600+
"formats": [
8601+
"typst"
8602+
]
8603+
}
8604+
},
85918605
{
85928606
"name": "layout",
85938607
"schema": {
@@ -15886,8 +15900,6 @@
1588615900
"If <code>true</code>, force the presence of the OJS runtime. If\n<code>false</code>, force the absence instead. If unset, the OJS runtime\nis included only if OJS cells are present in the document.",
1588715901
"Use the specified file as a style reference in producing a docx,\npptx, or odt file.",
1588815902
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don’t use branding on this document. If an\nobject, an inline brand definition, or an object with light and dark\nbrand paths or definitions.",
15889-
"The path to a light brand file or an inline light brand\ndefinition.",
15890-
"The path to a dark brand file or an inline dark brand definition.",
1589115903
"Theme name, theme scss file, or a mix of both.",
1589215904
"The light theme name, theme scss file, or a mix of both.",
1589315905
"The light theme name, theme scss file, or a mix of both.",
@@ -17220,12 +17232,12 @@
1722017232
"mermaid": "%%"
1722117233
},
1722217234
"handlers/mermaid/schema.yml": {
17223-
"_internalId": 196120,
17235+
"_internalId": 194251,
1722417236
"type": "object",
1722517237
"description": "be an object",
1722617238
"properties": {
1722717239
"mermaid-format": {
17228-
"_internalId": 196112,
17240+
"_internalId": 194243,
1722917241
"type": "enum",
1723017242
"enum": [
1723117243
"png",
@@ -17241,7 +17253,7 @@
1724117253
"exhaustiveCompletions": true
1724217254
},
1724317255
"theme": {
17244-
"_internalId": 196119,
17256+
"_internalId": 194250,
1724517257
"type": "anyOf",
1724617258
"anyOf": [
1724717259
{

src/resources/schema/document-layout.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@
4848
description: |
4949
The paper size for the document.
5050
51+
- name: choose-brand
52+
schema:
53+
enum: [light, dark]
54+
tags:
55+
formats: [typst]
56+
5157
- name: layout
5258
schema:
5359
maybeArrayOf: string

0 commit comments

Comments
 (0)