Skip to content

Commit b560f6b

Browse files
artifacts
1 parent fd33143 commit b560f6b

File tree

7 files changed

+161
-16
lines changed

7 files changed

+161
-16
lines changed

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

Lines changed: 47 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8724,6 +8724,25 @@ var require_yaml_intelligence_resources = __commonJS({
87248724
]
87258725
}
87268726
},
8727+
{
8728+
id: "external-engine",
8729+
schema: {
8730+
object: {
8731+
closed: true,
8732+
properties: {
8733+
path: {
8734+
path: {
8735+
description: "Path to the TypeScript module for the execution engine"
8736+
}
8737+
}
8738+
},
8739+
required: [
8740+
"path"
8741+
]
8742+
},
8743+
description: "An execution engine not pre-loaded in Quarto"
8744+
}
8745+
},
87278746
{
87288747
id: "document-comments-configuration",
87298748
anyOf: [
@@ -20200,6 +20219,16 @@ var require_yaml_intelligence_resources = __commonJS({
2020020219
},
2020120220
formats: {
2020220221
schema: "object"
20222+
},
20223+
engines: {
20224+
arrayOf: {
20225+
anyOf: [
20226+
"string",
20227+
{
20228+
ref: "external-engine"
20229+
}
20230+
]
20231+
}
2020320232
}
2020420233
}
2020520234
}
@@ -20638,7 +20667,14 @@ var require_yaml_intelligence_resources = __commonJS({
2063820667
{
2063920668
name: "engines",
2064020669
schema: {
20641-
arrayOf: "string"
20670+
arrayOf: {
20671+
anyOf: [
20672+
"string",
20673+
{
20674+
ref: "external-engine"
20675+
}
20676+
]
20677+
}
2064220678
},
2064320679
description: "List execution engines you want to give priority when determining which engine should render a notebook. If two engines have support for a notebook, the one listed earlier will be chosen. Quarto's default order is 'knitr', 'jupyter', 'markdown', 'julia'."
2064420680
}
@@ -22560,6 +22596,10 @@ var require_yaml_intelligence_resources = __commonJS({
2256022596
"Specify a default profile and profile groups",
2256122597
"Default profile to apply if QUARTO_PROFILE is not defined.",
2256222598
"Define a profile group for which at least one profile is always\nactive.",
22599+
"Control when tests should run",
22600+
"Run tests on CI (true = run, false = skip)",
22601+
"Run tests ONLY on these platforms (whitelist)",
22602+
"Don\u2019t run tests on these platforms (blacklist)",
2256322603
"The path to the locally referenced notebook.",
2256422604
"The title of the notebook when viewed.",
2256522605
"The url to use when viewing this notebook.",
@@ -24808,7 +24848,9 @@ var require_yaml_intelligence_resources = __commonJS({
2480824848
"Disambiguating year suffix in author-date styles (e.g. \u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2480924849
"Manuscript configuration",
2481024850
"internal-schema-hack",
24811-
"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."
24851+
"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.",
24852+
"An execution engine not pre-loaded in Quarto",
24853+
"Path to the TypeScript module for the execution engine"
2481224854
],
2481324855
"schema/external-schemas.yml": [
2481424856
{
@@ -25037,12 +25079,12 @@ var require_yaml_intelligence_resources = __commonJS({
2503725079
mermaid: "%%"
2503825080
},
2503925081
"handlers/mermaid/schema.yml": {
25040-
_internalId: 197523,
25082+
_internalId: 197564,
2504125083
type: "object",
2504225084
description: "be an object",
2504325085
properties: {
2504425086
"mermaid-format": {
25045-
_internalId: 197515,
25087+
_internalId: 197556,
2504625088
type: "enum",
2504725089
enum: [
2504825090
"png",
@@ -25058,7 +25100,7 @@ var require_yaml_intelligence_resources = __commonJS({
2505825100
exhaustiveCompletions: true
2505925101
},
2506025102
theme: {
25061-
_internalId: 197522,
25103+
_internalId: 197563,
2506225104
type: "anyOf",
2506325105
anyOf: [
2506425106
{

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: 47 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: 47 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,6 +1696,25 @@
16961696
]
16971697
}
16981698
},
1699+
{
1700+
"id": "external-engine",
1701+
"schema": {
1702+
"object": {
1703+
"closed": true,
1704+
"properties": {
1705+
"path": {
1706+
"path": {
1707+
"description": "Path to the TypeScript module for the execution engine"
1708+
}
1709+
}
1710+
},
1711+
"required": [
1712+
"path"
1713+
]
1714+
},
1715+
"description": "An execution engine not pre-loaded in Quarto"
1716+
}
1717+
},
16991718
{
17001719
"id": "document-comments-configuration",
17011720
"anyOf": [
@@ -13172,6 +13191,16 @@
1317213191
},
1317313192
"formats": {
1317413193
"schema": "object"
13194+
},
13195+
"engines": {
13196+
"arrayOf": {
13197+
"anyOf": [
13198+
"string",
13199+
{
13200+
"ref": "external-engine"
13201+
}
13202+
]
13203+
}
1317513204
}
1317613205
}
1317713206
}
@@ -13610,7 +13639,14 @@
1361013639
{
1361113640
"name": "engines",
1361213641
"schema": {
13613-
"arrayOf": "string"
13642+
"arrayOf": {
13643+
"anyOf": [
13644+
"string",
13645+
{
13646+
"ref": "external-engine"
13647+
}
13648+
]
13649+
}
1361413650
},
1361513651
"description": "List execution engines you want to give priority when determining which engine should render a notebook. If two engines have support for a notebook, the one listed earlier will be chosen. Quarto's default order is 'knitr', 'jupyter', 'markdown', 'julia'."
1361613652
}
@@ -15532,6 +15568,10 @@
1553215568
"Specify a default profile and profile groups",
1553315569
"Default profile to apply if QUARTO_PROFILE is not defined.",
1553415570
"Define a profile group for which at least one profile is always\nactive.",
15571+
"Control when tests should run",
15572+
"Run tests on CI (true = run, false = skip)",
15573+
"Run tests ONLY on these platforms (whitelist)",
15574+
"Don’t run tests on these platforms (blacklist)",
1553515575
"The path to the locally referenced notebook.",
1553615576
"The title of the notebook when viewed.",
1553715577
"The url to use when viewing this notebook.",
@@ -17780,7 +17820,9 @@
1778017820
"Disambiguating year suffix in author-date styles (e.g. “a” in “Doe,\n1999a”).",
1778117821
"Manuscript configuration",
1778217822
"internal-schema-hack",
17783-
"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’."
17823+
"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’.",
17824+
"An execution engine not pre-loaded in Quarto",
17825+
"Path to the TypeScript module for the execution engine"
1778417826
],
1778517827
"schema/external-schemas.yml": [
1778617828
{
@@ -18009,12 +18051,12 @@
1800918051
"mermaid": "%%"
1801018052
},
1801118053
"handlers/mermaid/schema.yml": {
18012-
"_internalId": 197523,
18054+
"_internalId": 197564,
1801318055
"type": "object",
1801418056
"description": "be an object",
1801518057
"properties": {
1801618058
"mermaid-format": {
18017-
"_internalId": 197515,
18059+
"_internalId": 197556,
1801818060
"type": "enum",
1801918061
"enum": [
1802018062
"png",
@@ -18030,7 +18072,7 @@
1803018072
"exhaustiveCompletions": true
1803118073
},
1803218074
"theme": {
18033-
"_internalId": 197522,
18075+
"_internalId": 197563,
1803418076
"type": "anyOf",
1803518077
"anyOf": [
1803618078
{

src/resources/schema/json-schemas.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,15 @@
324324
}
325325
}
326326
},
327+
"ExternalEngine": {
328+
"object": {
329+
"properties": {
330+
"path": {
331+
"type": "string"
332+
}
333+
}
334+
}
335+
},
327336
"DocumentCommentsConfiguration": {
328337
"anyOf": [
329338
{

src/resources/types/schema-types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ website:
154154
``` */
155155
};
156156

157+
export type ExternalEngine = {
158+
path: string; /* Path to the TypeScript module for the execution engine */
159+
}; /* An execution engine not pre-loaded in Quarto */
160+
157161
export type DocumentCommentsConfiguration = false | {
158162
giscus?: GiscusConfiguration;
159163
hypothesis?: boolean | {

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ export const ZodGiscusConfiguration = z.object({
135135
language: z.string(),
136136
}).strict().partial().required({ repo: true });
137137

138+
export const ZodExternalEngine = z.object({ path: z.string() }).strict()
139+
.partial().required({ path: true });
140+
138141
export const ZodDocumentCommentsConfiguration = z.union([
139142
z.literal(false),
140143
z.object({
@@ -1838,6 +1841,8 @@ export type GiscusThemes = z.infer<typeof ZodGiscusThemes>;
18381841

18391842
export type GiscusConfiguration = z.infer<typeof ZodGiscusConfiguration>;
18401843

1844+
export type ExternalEngine = z.infer<typeof ZodExternalEngine>;
1845+
18411846
export type DocumentCommentsConfiguration = z.infer<
18421847
typeof ZodDocumentCommentsConfiguration
18431848
>;
@@ -2072,6 +2077,7 @@ export const Zod = {
20722077
NavigationItemObject: ZodNavigationItemObject,
20732078
GiscusThemes: ZodGiscusThemes,
20742079
GiscusConfiguration: ZodGiscusConfiguration,
2080+
ExternalEngine: ZodExternalEngine,
20752081
DocumentCommentsConfiguration: ZodDocumentCommentsConfiguration,
20762082
SocialMetadata: ZodSocialMetadata,
20772083
PageFooterRegion: ZodPageFooterRegion,

0 commit comments

Comments
 (0)