Skip to content

Commit 06651b0

Browse files
artifacts
1 parent 5f158f7 commit 06651b0

File tree

7 files changed

+56
-43
lines changed

7 files changed

+56
-43
lines changed

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

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12806,9 +12806,6 @@ var require_yaml_intelligence_resources = __commonJS({
1280612806
},
1280712807
{
1280812808
ref: "brand-font-system"
12809-
},
12810-
{
12811-
ref: "brand-font-common"
1281212809
}
1281312810
]
1281412811
},
@@ -12910,7 +12907,10 @@ var require_yaml_intelligence_resources = __commonJS({
1291012907
"system"
1291112908
]
1291212909
}
12913-
}
12910+
},
12911+
required: [
12912+
"source"
12913+
]
1291412914
}
1291512915
},
1291612916
{
@@ -12927,7 +12927,10 @@ var require_yaml_intelligence_resources = __commonJS({
1292712927
"google"
1292812928
]
1292912929
}
12930-
}
12930+
},
12931+
required: [
12932+
"source"
12933+
]
1293112934
}
1293212935
},
1293312936
{
@@ -12944,7 +12947,10 @@ var require_yaml_intelligence_resources = __commonJS({
1294412947
"bunny"
1294512948
]
1294612949
}
12947-
}
12950+
},
12951+
required: [
12952+
"source"
12953+
]
1294812954
}
1294912955
},
1295012956
{
@@ -21908,7 +21914,7 @@ var require_yaml_intelligence_resources = __commonJS({
2190821914
"The path to an XML stylesheet (XSL file) used to style the RSS\nfeed.",
2190921915
{
2191021916
short: "The date format to use when displaying dates (e.g. d-M-yyy).",
21911-
long: 'The date format to use when displaying dates (e.g.&nbsp;d-M-yyy). Learn\nmore about supported date formatting values <a href="https://deno.land/[email protected]/datetime">here</a>.'
21917+
long: 'The date format to use when displaying dates (e.g.&nbsp;d-M-yyy). Learn\nmore about supported date formatting values <a href="https://quarto.org/docs/reference/dates.html">here</a>.'
2191221918
},
2191321919
{
2191421920
short: "The maximum length (in characters) of the description displayed in\nthe listing.",
@@ -24927,12 +24933,12 @@ var require_yaml_intelligence_resources = __commonJS({
2492724933
mermaid: "%%"
2492824934
},
2492924935
"handlers/mermaid/schema.yml": {
24930-
_internalId: 197477,
24936+
_internalId: 197474,
2493124937
type: "object",
2493224938
description: "be an object",
2493324939
properties: {
2493424940
"mermaid-format": {
24935-
_internalId: 197469,
24941+
_internalId: 197466,
2493624942
type: "enum",
2493724943
enum: [
2493824944
"png",
@@ -24948,7 +24954,7 @@ var require_yaml_intelligence_resources = __commonJS({
2494824954
exhaustiveCompletions: true
2494924955
},
2495024956
theme: {
24951-
_internalId: 197476,
24957+
_internalId: 197473,
2495224958
type: "anyOf",
2495324959
anyOf: [
2495424960
{

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: 16 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: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5778,9 +5778,6 @@
57785778
},
57795779
{
57805780
"ref": "brand-font-system"
5781-
},
5782-
{
5783-
"ref": "brand-font-common"
57845781
}
57855782
]
57865783
},
@@ -5882,7 +5879,10 @@
58825879
"system"
58835880
]
58845881
}
5885-
}
5882+
},
5883+
"required": [
5884+
"source"
5885+
]
58865886
}
58875887
},
58885888
{
@@ -5899,7 +5899,10 @@
58995899
"google"
59005900
]
59015901
}
5902-
}
5902+
},
5903+
"required": [
5904+
"source"
5905+
]
59035906
}
59045907
},
59055908
{
@@ -5916,7 +5919,10 @@
59165919
"bunny"
59175920
]
59185921
}
5919-
}
5922+
},
5923+
"required": [
5924+
"source"
5925+
]
59205926
}
59215927
},
59225928
{
@@ -14880,7 +14886,7 @@
1488014886
"The path to an XML stylesheet (XSL file) used to style the RSS\nfeed.",
1488114887
{
1488214888
"short": "The date format to use when displaying dates (e.g.&nbsp;d-M-yyy).",
14883-
"long": "The date format to use when displaying dates (e.g.&nbsp;d-M-yyy). Learn\nmore about supported date formatting values <a href=\"https://deno.land/[email protected]/datetime\">here</a>."
14889+
"long": "The date format to use when displaying dates (e.g.&nbsp;d-M-yyy). Learn\nmore about supported date formatting values <a href=\"https://quarto.org/docs/reference/dates.html\">here</a>."
1488414890
},
1488514891
{
1488614892
"short": "The maximum length (in characters) of the description displayed in\nthe listing.",
@@ -17899,12 +17905,12 @@
1789917905
"mermaid": "%%"
1790017906
},
1790117907
"handlers/mermaid/schema.yml": {
17902-
"_internalId": 197477,
17908+
"_internalId": 197474,
1790317909
"type": "object",
1790417910
"description": "be an object",
1790517911
"properties": {
1790617912
"mermaid-format": {
17907-
"_internalId": 197469,
17913+
"_internalId": 197466,
1790817914
"type": "enum",
1790917915
"enum": [
1791017916
"png",
@@ -17920,7 +17926,7 @@
1792017926
"exhaustiveCompletions": true
1792117927
},
1792217928
"theme": {
17923-
"_internalId": 197476,
17929+
"_internalId": 197473,
1792417930
"type": "anyOf",
1792517931
"anyOf": [
1792617932
{

src/resources/schema/json-schemas.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3877,9 +3877,6 @@
38773877
},
38783878
{
38793879
"$ref": "#/$defs/BrandFontSystem"
3880-
},
3881-
{
3882-
"$ref": "#/$defs/BrandFontCommon"
38833880
}
38843881
]
38853882
},

src/resources/types/schema-types.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,8 +1469,7 @@ export type BrandFont =
14691469
| BrandFontGoogle
14701470
| BrandFontBunny
14711471
| BrandFontFile
1472-
| BrandFontSystem
1473-
| BrandFontCommon; /* Font files and definitions for the brand. */
1472+
| BrandFontSystem; /* Font files and definitions for the brand. */
14741473

14751474
export type BrandFontWeight =
14761475
| 100
@@ -1514,15 +1513,15 @@ export type BrandFontCommon = {
15141513
};
15151514

15161515
export type BrandFontSystem =
1517-
& { source?: "system" }
1516+
& { source: "system" }
15181517
& BrandFontCommon; /* A system font definition. */
15191518

15201519
export type BrandFontGoogle =
1521-
& { source?: "google" }
1520+
& { source: "google" }
15221521
& BrandFontCommon; /* A font definition from Google Fonts. */
15231522

15241523
export type BrandFontBunny =
1525-
& { source?: "bunny" }
1524+
& { source: "bunny" }
15261525
& BrandFontCommon; /* A font definition from fonts.bunny.net. */
15271526

15281527
export type BrandFontFile = {

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,6 @@ export const ZodBrandFont = z.union([
16241624
z.lazy(() => ZodBrandFontBunny),
16251625
z.lazy(() => ZodBrandFontFile),
16261626
z.lazy(() => ZodBrandFontSystem),
1627-
z.lazy(() => ZodBrandFontCommon),
16281627
]);
16291628

16301629
export const ZodBrandFontWeight = z.union([
@@ -1685,7 +1684,7 @@ export const ZodBrandFontSystem = z.object({
16851684
]),
16861685
display: z.enum(["auto", "block", "swap", "fallback", "optional"] as const),
16871686
source: z.enum(["system"] as const),
1688-
}).strict().partial();
1687+
}).strict().partial().required({ source: true });
16891688

16901689
export const ZodBrandFontGoogle = z.object({
16911690
family: z.string(),
@@ -1699,7 +1698,7 @@ export const ZodBrandFontGoogle = z.object({
16991698
]),
17001699
display: z.enum(["auto", "block", "swap", "fallback", "optional"] as const),
17011700
source: z.enum(["google"] as const),
1702-
}).strict().partial();
1701+
}).strict().partial().required({ source: true });
17031702

17041703
export const ZodBrandFontBunny = z.object({
17051704
family: z.string(),
@@ -1713,7 +1712,7 @@ export const ZodBrandFontBunny = z.object({
17131712
]),
17141713
display: z.enum(["auto", "block", "swap", "fallback", "optional"] as const),
17151714
source: z.enum(["bunny"] as const),
1716-
}).strict().partial();
1715+
}).strict().partial().required({ source: true });
17171716

17181717
export const ZodBrandFontFile = z.object({
17191718
source: z.enum(["file"] as const),

0 commit comments

Comments
 (0)