Skip to content

Commit c527374

Browse files
committed
Regenerate schema artifacts
1 parent 3e0097b commit c527374

7 files changed

Lines changed: 54 additions & 33 deletions

File tree

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

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12174,8 +12174,13 @@ var require_yaml_intelligence_resources = __commonJS({
1217412174
},
1217512175
{
1217612176
id: "logo-light-dark-specifier",
12177-
description: "Any of the ways a logo can be specified: string, object, or light/dark object of string or object\n",
12177+
description: "Any of the ways a logo can be specified: string, object, or light/dark object of string or object. Use `false` to explicitly disable the logo.\n",
1217812178
anyOf: [
12179+
{
12180+
enum: [
12181+
false
12182+
]
12183+
},
1217912184
{
1218012185
ref: "logo-specifier"
1218112186
},
@@ -22703,7 +22708,7 @@ var require_yaml_intelligence_resources = __commonJS({
2270322708
"Alternative text for the logo, used for accessibility.",
2270422709
"Path or brand.yml logo resource name.",
2270522710
"Alternative text for the logo, used for accessibility.",
22706-
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
22711+
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object. Use <code>false</code> to\nexplicitly disable the logo.",
2270722712
"Specification of a light logo",
2270822713
"Specification of a dark logo",
2270922714
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
@@ -23772,6 +23777,10 @@ var require_yaml_intelligence_resources = __commonJS({
2377223777
short: "Shift heading levels by a positive or negative integer. For example,\nwith <code>shift-heading-level-by: -1</code>, level 2 headings become\nlevel 1 headings.",
2377323778
long: "Shift heading levels by a positive or negative integer. For example,\nwith <code>shift-heading-level-by: -1</code>, level 2 headings become\nlevel 1 headings, and level 3 headings become level 2 headings. Headings\ncannot have a level less than 1, so a heading that would be shifted\nbelow level 1 becomes a regular paragraph. Exception: with a shift of\n-N, a level-N heading at the beginning of the document replaces the\nmetadata title."
2377423779
},
23780+
{
23781+
short: "Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.",
23782+
long: 'Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.\nSee <a href="https://typst.app/docs/reference/model/numbering/">Typst\nNumbering</a> for additional information.'
23783+
},
2377523784
{
2377623785
short: "Sets the page numbering style and location for the document.",
2377723786
long: 'Sets the page numbering style and location for the document using the\n<code>\\setuppagenumbering</code> command.\nSee <a href="https://wiki.contextgarden.net/Command/setuppagenumbering">ConTeXt\nPage Numbering</a> for additional information.'
@@ -24903,11 +24912,7 @@ var require_yaml_intelligence_resources = __commonJS({
2490324912
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2490424913
"Manuscript configuration",
2490524914
"internal-schema-hack",
24906-
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019.",
24907-
{
24908-
short: "Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.",
24909-
long: 'Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.\nSee <a href="https://typst.app/docs/reference/model/numbering/">Typst\nNumbering</a> for additional information.'
24910-
}
24915+
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019."
2491124916
],
2491224917
"schema/external-schemas.yml": [
2491324918
{
@@ -25136,12 +25141,12 @@ var require_yaml_intelligence_resources = __commonJS({
2513625141
mermaid: "%%"
2513725142
},
2513825143
"handlers/mermaid/schema.yml": {
25139-
_internalId: 218561,
25144+
_internalId: 219129,
2514025145
type: "object",
2514125146
description: "be an object",
2514225147
properties: {
2514325148
"mermaid-format": {
25144-
_internalId: 218553,
25149+
_internalId: 219121,
2514525150
type: "enum",
2514625151
enum: [
2514725152
"png",
@@ -25157,7 +25162,7 @@ var require_yaml_intelligence_resources = __commonJS({
2515725162
exhaustiveCompletions: true
2515825163
},
2515925164
theme: {
25160-
_internalId: 218560,
25165+
_internalId: 219128,
2516125166
type: "anyOf",
2516225167
anyOf: [
2516325168
{

‎src/resources/editor/tools/yaml/all-schema-definitions.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

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

Lines changed: 15 additions & 10 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: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5146,8 +5146,13 @@
51465146
},
51475147
{
51485148
"id": "logo-light-dark-specifier",
5149-
"description": "Any of the ways a logo can be specified: string, object, or light/dark object of string or object\n",
5149+
"description": "Any of the ways a logo can be specified: string, object, or light/dark object of string or object. Use `false` to explicitly disable the logo.\n",
51505150
"anyOf": [
5151+
{
5152+
"enum": [
5153+
false
5154+
]
5155+
},
51515156
{
51525157
"ref": "logo-specifier"
51535158
},
@@ -15675,7 +15680,7 @@
1567515680
"Alternative text for the logo, used for accessibility.",
1567615681
"Path or brand.yml logo resource name.",
1567715682
"Alternative text for the logo, used for accessibility.",
15678-
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
15683+
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object. Use <code>false</code> to\nexplicitly disable the logo.",
1567915684
"Specification of a light logo",
1568015685
"Specification of a dark logo",
1568115686
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
@@ -16744,6 +16749,10 @@
1674416749
"short": "Shift heading levels by a positive or negative integer. For example,\nwith <code>shift-heading-level-by: -1</code>, level 2 headings become\nlevel 1 headings.",
1674516750
"long": "Shift heading levels by a positive or negative integer. For example,\nwith <code>shift-heading-level-by: -1</code>, level 2 headings become\nlevel 1 headings, and level 3 headings become level 2 headings. Headings\ncannot have a level less than 1, so a heading that would be shifted\nbelow level 1 becomes a regular paragraph. Exception: with a shift of\n-N, a level-N heading at the beginning of the document replaces the\nmetadata title."
1674616751
},
16752+
{
16753+
"short": "Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.",
16754+
"long": "Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.\nSee <a href=\"https://typst.app/docs/reference/model/numbering/\">Typst\nNumbering</a> for additional information."
16755+
},
1674716756
{
1674816757
"short": "Sets the page numbering style and location for the document.",
1674916758
"long": "Sets the page numbering style and location for the document using the\n<code>\\setuppagenumbering</code> command.\nSee <a href=\"https://wiki.contextgarden.net/Command/setuppagenumbering\">ConTeXt\nPage Numbering</a> for additional information."
@@ -17875,11 +17884,7 @@
1787517884
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
1787617885
"Manuscript configuration",
1787717886
"internal-schema-hack",
17878-
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’.",
17879-
{
17880-
"short": "Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.",
17881-
"long": "Schema to use for numbering pages, e.g.&nbsp;<code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.\nSee <a href=\"https://typst.app/docs/reference/model/numbering/\">Typst\nNumbering</a> for additional information."
17882-
}
17887+
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’."
1788317888
],
1788417889
"schema/external-schemas.yml": [
1788517890
{
@@ -18108,12 +18113,12 @@
1810818113
"mermaid": "%%"
1810918114
},
1811018115
"handlers/mermaid/schema.yml": {
18111-
"_internalId": 218561,
18116+
"_internalId": 219129,
1811218117
"type": "object",
1811318118
"description": "be an object",
1811418119
"properties": {
1811518120
"mermaid-format": {
18116-
"_internalId": 218553,
18121+
"_internalId": 219121,
1811718122
"type": "enum",
1811818123
"enum": [
1811918124
"png",
@@ -18129,7 +18134,7 @@
1812918134
"exhaustiveCompletions": true
1813018135
},
1813118136
"theme": {
18132-
"_internalId": 218560,
18137+
"_internalId": 219128,
1813318138
"type": "anyOf",
1813418139
"anyOf": [
1813518140
{

‎src/resources/schema/json-schemas.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3359,6 +3359,11 @@
33593359
},
33603360
"LogoLightDarkSpecifier": {
33613361
"anyOf": [
3362+
{
3363+
"enum": [
3364+
false
3365+
]
3366+
},
33623367
{
33633368
"$ref": "#/$defs/LogoSpecifier"
33643369
},

‎src/resources/types/schema-types.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,10 +1327,10 @@ export type LogoOptionsPathOptional = { alt?: string; path?: string };
13271327

13281328
export type LogoSpecifierPathOptional = string | LogoOptionsPathOptional;
13291329

1330-
export type LogoLightDarkSpecifier = LogoSpecifier | {
1330+
export type LogoLightDarkSpecifier = false | LogoSpecifier | {
13311331
dark?: LogoSpecifier;
13321332
light?: LogoSpecifier;
1333-
}; /* Any of the ways a logo can be specified: string, object, or light/dark object of string or object */
1333+
}; /* Any of the ways a logo can be specified: string, object, or light/dark object of string or object. Use `false` to explicitly disable the logo. */
13341334

13351335
export type LogoLightDarkSpecifierPathOptional = LogoSpecifierPathOptional | {
13361336
dark?: LogoSpecifierPathOptional;

‎src/resources/types/zod/schema-types.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,7 @@ export const ZodLogoSpecifierPathOptional = z.union([
13861386
]);
13871387

13881388
export const ZodLogoLightDarkSpecifier = z.union([
1389+
z.literal(false),
13891390
z.lazy(() => ZodLogoSpecifier),
13901391
z.object({
13911392
light: z.lazy(() => ZodLogoSpecifier),

0 commit comments

Comments
 (0)