Skip to content

Commit e2bf972

Browse files
artifacts
1 parent 15ab74a commit e2bf972

File tree

7 files changed

+158
-25
lines changed

7 files changed

+158
-25
lines changed

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

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12090,6 +12090,34 @@ var require_yaml_intelligence_resources = __commonJS({
1209012090
}
1209112091
]
1209212092
},
12093+
{
12094+
id: "logo-light-dark-specifier-path-optional",
12095+
description: "Any of the ways a logo can be specified: string, object, or light/dark object of string or object\n",
12096+
anyOf: [
12097+
{
12098+
ref: "logo-specifier-path-optional"
12099+
},
12100+
{
12101+
object: {
12102+
closed: true,
12103+
properties: {
12104+
light: {
12105+
schema: {
12106+
ref: "logo-specifier-path-optional"
12107+
},
12108+
description: "Specification of a light logo\n"
12109+
},
12110+
dark: {
12111+
schema: {
12112+
ref: "logo-specifier-path-optional"
12113+
},
12114+
description: "Specification of a dark logo\n"
12115+
}
12116+
}
12117+
}
12118+
}
12119+
]
12120+
},
1209312121
{
1209412122
id: "normalized-logo-light-dark-specifier",
1209512123
description: "Any of the ways a logo can be specified: string, object, or light/dark object of string or object\n",
@@ -16116,10 +16144,11 @@ var require_yaml_intelligence_resources = __commonJS({
1611616144
default: "light",
1611716145
tags: {
1611816146
formats: [
16119-
"typst"
16147+
"typst",
16148+
"revealjs"
1612016149
]
1612116150
},
16122-
description: "The brand mode to use for rendering the Typst document, `light` or `dark`.\n"
16151+
description: "The brand mode to use for rendering the document, `light` or `dark`.\n"
1612316152
},
1612416153
{
1612516154
name: "layout",
@@ -18319,7 +18348,7 @@ var require_yaml_intelligence_resources = __commonJS({
1831918348
]
1832018349
},
1832118350
schema: {
18322-
ref: "logo-specifier"
18351+
ref: "logo-light-dark-specifier"
1832318352
},
1832418353
description: "Logo image (placed in bottom right corner of slides)"
1832518354
},
@@ -24640,7 +24669,10 @@ var require_yaml_intelligence_resources = __commonJS({
2464024669
"Disambiguating year suffix in author-date styles (e.g. \u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2464124670
"Manuscript configuration",
2464224671
"internal-schema-hack",
24643-
"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."
24672+
"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.",
24673+
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
24674+
"Specification of a light logo",
24675+
"Specification of a dark logo"
2464424676
],
2464524677
"schema/external-schemas.yml": [
2464624678
{
@@ -24869,12 +24901,12 @@ var require_yaml_intelligence_resources = __commonJS({
2486924901
mermaid: "%%"
2487024902
},
2487124903
"handlers/mermaid/schema.yml": {
24872-
_internalId: 197461,
24904+
_internalId: 197480,
2487324905
type: "object",
2487424906
description: "be an object",
2487524907
properties: {
2487624908
"mermaid-format": {
24877-
_internalId: 197453,
24909+
_internalId: 197472,
2487824910
type: "enum",
2487924911
enum: [
2488024912
"png",
@@ -24890,7 +24922,7 @@ var require_yaml_intelligence_resources = __commonJS({
2489024922
exhaustiveCompletions: true
2489124923
},
2489224924
theme: {
24893-
_internalId: 197460,
24925+
_internalId: 197479,
2489424926
type: "anyOf",
2489524927
anyOf: [
2489624928
{
@@ -24960,7 +24992,7 @@ var require_yaml_intelligence_resources = __commonJS({
2496024992
{
2496124993
name: "logo",
2496224994
schema: {
24963-
ref: "logo-specifier-path-optional"
24995+
ref: "logo-light-dark-specifier-path-optional"
2496424996
},
2496524997
tags: {
2496624998
formats: [

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: 40 additions & 8 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: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5062,6 +5062,34 @@
50625062
}
50635063
]
50645064
},
5065+
{
5066+
"id": "logo-light-dark-specifier-path-optional",
5067+
"description": "Any of the ways a logo can be specified: string, object, or light/dark object of string or object\n",
5068+
"anyOf": [
5069+
{
5070+
"ref": "logo-specifier-path-optional"
5071+
},
5072+
{
5073+
"object": {
5074+
"closed": true,
5075+
"properties": {
5076+
"light": {
5077+
"schema": {
5078+
"ref": "logo-specifier-path-optional"
5079+
},
5080+
"description": "Specification of a light logo\n"
5081+
},
5082+
"dark": {
5083+
"schema": {
5084+
"ref": "logo-specifier-path-optional"
5085+
},
5086+
"description": "Specification of a dark logo\n"
5087+
}
5088+
}
5089+
}
5090+
}
5091+
]
5092+
},
50655093
{
50665094
"id": "normalized-logo-light-dark-specifier",
50675095
"description": "Any of the ways a logo can be specified: string, object, or light/dark object of string or object\n",
@@ -9088,10 +9116,11 @@
90889116
"default": "light",
90899117
"tags": {
90909118
"formats": [
9091-
"typst"
9119+
"typst",
9120+
"revealjs"
90929121
]
90939122
},
9094-
"description": "The brand mode to use for rendering the Typst document, `light` or `dark`.\n"
9123+
"description": "The brand mode to use for rendering the document, `light` or `dark`.\n"
90959124
},
90969125
{
90979126
"name": "layout",
@@ -11291,7 +11320,7 @@
1129111320
]
1129211321
},
1129311322
"schema": {
11294-
"ref": "logo-specifier"
11323+
"ref": "logo-light-dark-specifier"
1129511324
},
1129611325
"description": "Logo image (placed in bottom right corner of slides)"
1129711326
},
@@ -17612,7 +17641,10 @@
1761217641
"Disambiguating year suffix in author-date styles (e.g. “a” in “Doe,\n1999a”).",
1761317642
"Manuscript configuration",
1761417643
"internal-schema-hack",
17615-
"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’."
17644+
"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’.",
17645+
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
17646+
"Specification of a light logo",
17647+
"Specification of a dark logo"
1761617648
],
1761717649
"schema/external-schemas.yml": [
1761817650
{
@@ -17841,12 +17873,12 @@
1784117873
"mermaid": "%%"
1784217874
},
1784317875
"handlers/mermaid/schema.yml": {
17844-
"_internalId": 197461,
17876+
"_internalId": 197480,
1784517877
"type": "object",
1784617878
"description": "be an object",
1784717879
"properties": {
1784817880
"mermaid-format": {
17849-
"_internalId": 197453,
17881+
"_internalId": 197472,
1785017882
"type": "enum",
1785117883
"enum": [
1785217884
"png",
@@ -17862,7 +17894,7 @@
1786217894
"exhaustiveCompletions": true
1786317895
},
1786417896
"theme": {
17865-
"_internalId": 197460,
17897+
"_internalId": 197479,
1786617898
"type": "anyOf",
1786717899
"anyOf": [
1786817900
{
@@ -17932,7 +17964,7 @@
1793217964
{
1793317965
"name": "logo",
1793417966
"schema": {
17935-
"ref": "logo-specifier-path-optional"
17967+
"ref": "logo-light-dark-specifier-path-optional"
1793617968
},
1793717969
"tags": {
1793817970
"formats": [

src/resources/schema/json-schemas.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3287,6 +3287,25 @@
32873287
}
32883288
]
32893289
},
3290+
"LogoLightDarkSpecifierPathOptional": {
3291+
"anyOf": [
3292+
{
3293+
"$ref": "#/$defs/LogoSpecifierPathOptional"
3294+
},
3295+
{
3296+
"object": {
3297+
"properties": {
3298+
"light": {
3299+
"$ref": "#/$defs/LogoSpecifierPathOptional"
3300+
},
3301+
"dark": {
3302+
"$ref": "#/$defs/LogoSpecifierPathOptional"
3303+
}
3304+
}
3305+
}
3306+
}
3307+
]
3308+
},
32903309
"NormalizedLogoLightDarkSpecifier": {
32913310
"object": {
32923311
"properties": {

src/resources/types/schema-types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,6 +1272,11 @@ export type LogoLightDarkSpecifier = LogoSpecifier | {
12721272
light?: LogoSpecifier;
12731273
}; /* Any of the ways a logo can be specified: string, object, or light/dark object of string or object */
12741274

1275+
export type LogoLightDarkSpecifierPathOptional = LogoSpecifierPathOptional | {
1276+
dark?: LogoSpecifierPathOptional;
1277+
light?: LogoSpecifierPathOptional;
1278+
}; /* Any of the ways a logo can be specified: string, object, or light/dark object of string or object */
1279+
12751280
export type NormalizedLogoLightDarkSpecifier = {
12761281
dark?: LogoOptions;
12771282
light?: LogoOptions;

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,6 +1369,14 @@ export const ZodLogoLightDarkSpecifier = z.union([
13691369
}).strict().partial(),
13701370
]);
13711371

1372+
export const ZodLogoLightDarkSpecifierPathOptional = z.union([
1373+
z.lazy(() => ZodLogoSpecifierPathOptional),
1374+
z.object({
1375+
light: z.lazy(() => ZodLogoSpecifierPathOptional),
1376+
dark: z.lazy(() => ZodLogoSpecifierPathOptional),
1377+
}).strict().partial(),
1378+
]);
1379+
13721380
export const ZodNormalizedLogoLightDarkSpecifier = z.object({
13731381
light: z.lazy(() => ZodLogoOptions),
13741382
dark: z.lazy(() => ZodLogoOptions),
@@ -1913,6 +1921,10 @@ export type LogoSpecifierPathOptional = z.infer<
19131921

19141922
export type LogoLightDarkSpecifier = z.infer<typeof ZodLogoLightDarkSpecifier>;
19151923

1924+
export type LogoLightDarkSpecifierPathOptional = z.infer<
1925+
typeof ZodLogoLightDarkSpecifierPathOptional
1926+
>;
1927+
19161928
export type NormalizedLogoLightDarkSpecifier = z.infer<
19171929
typeof ZodNormalizedLogoLightDarkSpecifier
19181930
>;
@@ -2082,6 +2094,7 @@ export const Zod = {
20822094
LogoOptionsPathOptional: ZodLogoOptionsPathOptional,
20832095
LogoSpecifierPathOptional: ZodLogoSpecifierPathOptional,
20842096
LogoLightDarkSpecifier: ZodLogoLightDarkSpecifier,
2097+
LogoLightDarkSpecifierPathOptional: ZodLogoLightDarkSpecifierPathOptional,
20852098
NormalizedLogoLightDarkSpecifier: ZodNormalizedLogoLightDarkSpecifier,
20862099
BrandColorValue: ZodBrandColorValue,
20872100
BrandColorSingle: ZodBrandColorSingle,

0 commit comments

Comments
 (0)