@cloudcannon/configuration-types 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cloudcannon-config-eleventy.json +179 -82
- package/build/cloudcannon-config-hugo.json +179 -82
- package/build/cloudcannon-config-jekyll.json +179 -82
- package/build/cloudcannon-config-reader.json +179 -82
- package/build/cloudcannon-config.json +179 -82
- package/package.json +1 -1
- package/src/configuration.d.ts +99 -39
|
@@ -157,6 +157,16 @@
|
|
|
157
157
|
},
|
|
158
158
|
"type": "object"
|
|
159
159
|
},
|
|
160
|
+
"AttributeListPosition": {
|
|
161
|
+
"enum": [
|
|
162
|
+
"none",
|
|
163
|
+
"right",
|
|
164
|
+
"space right",
|
|
165
|
+
"below",
|
|
166
|
+
"newline below"
|
|
167
|
+
],
|
|
168
|
+
"type": "string"
|
|
169
|
+
},
|
|
160
170
|
"BaseInput": {
|
|
161
171
|
"additionalProperties": false,
|
|
162
172
|
"properties": {
|
|
@@ -308,12 +318,6 @@
|
|
|
308
318
|
"markdownDescription": "Enables a control to copy formatting from text to other text. Only applies to formatting from\n`bold`, `italic`, `underline`, `strike`, `subscript`, and `superscript`. Does not copy other\nstyles or formatting.",
|
|
309
319
|
"type": "boolean"
|
|
310
320
|
},
|
|
311
|
-
"correct_orientation": {
|
|
312
|
-
"default": true,
|
|
313
|
-
"description": "Controls whether or not the JPEG headers defining how an image should be rotated before being displayed is baked into images prior to upload.",
|
|
314
|
-
"markdownDescription": "Controls whether or not the JPEG headers defining how an image should be rotated before being\ndisplayed is baked into images prior to upload.",
|
|
315
|
-
"type": "boolean"
|
|
316
|
-
},
|
|
317
321
|
"embed": {
|
|
318
322
|
"description": "Enables a control to insert a region of raw HTML, including YouTube, Vimeo, Tweets, and other media. Embedded content is sanitized to mitigate XSS risks, which includes removing style tags. Embeds containing script tags are not loaded in the editor.",
|
|
319
323
|
"markdownDescription": "Enables a control to insert a region of raw HTML, including YouTube, Vimeo, Tweets, and other\nmedia. Embedded content is sanitized to mitigate XSS risks, which includes removing style tags.\nEmbeds containing script tags are not loaded in the editor.",
|
|
@@ -380,7 +384,8 @@
|
|
|
380
384
|
"description": "Sets the format images are converted to prior to upload. The extension of the file is updated to match. Defaults to keeping the mime type of the uploaded file.",
|
|
381
385
|
"enum": [
|
|
382
386
|
"image/jpeg",
|
|
383
|
-
"image/png"
|
|
387
|
+
"image/png",
|
|
388
|
+
"image/webp"
|
|
384
389
|
],
|
|
385
390
|
"markdownDescription": "Sets the format images are converted to prior to upload. The extension of the file is updated\nto match. Defaults to keeping the mime type of the uploaded file.",
|
|
386
391
|
"type": "string"
|
|
@@ -1778,61 +1783,10 @@
|
|
|
1778
1783
|
"markdownDescription": "Provides scope to configure at a file level, without adding configuration to files.",
|
|
1779
1784
|
"type": "object"
|
|
1780
1785
|
},
|
|
1781
|
-
"
|
|
1782
|
-
"
|
|
1786
|
+
"markdown": {
|
|
1787
|
+
"$ref": "#/definitions/MarkdownSettings",
|
|
1783
1788
|
"description": "Contains settings for various Markdown engines.",
|
|
1784
|
-
"markdownDescription": "Contains settings for various Markdown engines."
|
|
1785
|
-
"properties": {
|
|
1786
|
-
"metadata": {
|
|
1787
|
-
"additionalProperties": false,
|
|
1788
|
-
"description": "Settings for various Markdown engines.",
|
|
1789
|
-
"markdownDescription": "Settings for various Markdown engines.",
|
|
1790
|
-
"properties": {
|
|
1791
|
-
"commonmark": {
|
|
1792
|
-
"description": "Markdown options specific used when markdown is set to \"commonmark\".",
|
|
1793
|
-
"markdownDescription": "Markdown options specific used when markdown is set to \"commonmark\".",
|
|
1794
|
-
"type": "object"
|
|
1795
|
-
},
|
|
1796
|
-
"commonmarkghpages": {
|
|
1797
|
-
"description": "Markdown options specific used when markdown is set to \"commonmarkghpages\".",
|
|
1798
|
-
"markdownDescription": "Markdown options specific used when markdown is set to \"commonmarkghpages\".",
|
|
1799
|
-
"type": "object"
|
|
1800
|
-
},
|
|
1801
|
-
"goldmark": {
|
|
1802
|
-
"description": "Markdown options specific used when markdown is set to \"goldmark\".",
|
|
1803
|
-
"markdownDescription": "Markdown options specific used when markdown is set to \"goldmark\".",
|
|
1804
|
-
"type": "object"
|
|
1805
|
-
},
|
|
1806
|
-
"kramdown": {
|
|
1807
|
-
"description": "Markdown options specific used when markdown is set to \"kramdown\".",
|
|
1808
|
-
"markdownDescription": "Markdown options specific used when markdown is set to \"kramdown\".",
|
|
1809
|
-
"type": "object"
|
|
1810
|
-
},
|
|
1811
|
-
"markdown": {
|
|
1812
|
-
"description": "The Markdown engine used on your site.",
|
|
1813
|
-
"enum": [
|
|
1814
|
-
"kramdown",
|
|
1815
|
-
"commonmark",
|
|
1816
|
-
"commonmarkghpages",
|
|
1817
|
-
"goldmark",
|
|
1818
|
-
"markdown-it"
|
|
1819
|
-
],
|
|
1820
|
-
"markdownDescription": "The Markdown engine used on your site.",
|
|
1821
|
-
"type": "string"
|
|
1822
|
-
},
|
|
1823
|
-
"markdown-it": {
|
|
1824
|
-
"description": "Markdown options specific used when markdown is set to \"markdown-it\".",
|
|
1825
|
-
"markdownDescription": "Markdown options specific used when markdown is set to \"markdown-it\".",
|
|
1826
|
-
"type": "object"
|
|
1827
|
-
}
|
|
1828
|
-
},
|
|
1829
|
-
"required": [
|
|
1830
|
-
"markdown"
|
|
1831
|
-
],
|
|
1832
|
-
"type": "object"
|
|
1833
|
-
}
|
|
1834
|
-
},
|
|
1835
|
-
"type": "object"
|
|
1789
|
+
"markdownDescription": "Contains settings for various Markdown engines."
|
|
1836
1790
|
},
|
|
1837
1791
|
"paths": {
|
|
1838
1792
|
"$ref": "#/definitions/Paths",
|
|
@@ -3997,12 +3951,6 @@
|
|
|
3997
3951
|
"markdownDescription": "If you have one or more DAMs connected to your site, you can use this key to list which asset\nsources can be uploaded to and selected from.",
|
|
3998
3952
|
"type": "array"
|
|
3999
3953
|
},
|
|
4000
|
-
"correct_orientation": {
|
|
4001
|
-
"default": true,
|
|
4002
|
-
"description": "Controls whether or not the JPEG headers defining how an image should be rotated before being displayed is baked into images prior to upload.",
|
|
4003
|
-
"markdownDescription": "Controls whether or not the JPEG headers defining how an image should be rotated before being\ndisplayed is baked into images prior to upload.",
|
|
4004
|
-
"type": "boolean"
|
|
4005
|
-
},
|
|
4006
3954
|
"expandable": {
|
|
4007
3955
|
"default": false,
|
|
4008
3956
|
"description": "Controls whether or not images can be upscaled to fit the bounding box during resize prior to upload. Has no effect if files are not resized.",
|
|
@@ -4024,7 +3972,8 @@
|
|
|
4024
3972
|
"description": "Sets the format images are converted to prior to upload. The extension of the file is updated to match. Defaults to keeping the mime type of the uploaded file.",
|
|
4025
3973
|
"enum": [
|
|
4026
3974
|
"image/jpeg",
|
|
4027
|
-
"image/png"
|
|
3975
|
+
"image/png",
|
|
3976
|
+
"image/webp"
|
|
4028
3977
|
],
|
|
4029
3978
|
"markdownDescription": "Sets the format images are converted to prior to upload. The extension of the file is updated\nto match. Defaults to keeping the mime type of the uploaded file.",
|
|
4030
3979
|
"type": "string"
|
|
@@ -4192,12 +4141,6 @@
|
|
|
4192
4141
|
"markdownDescription": "If you have one or more DAMs connected to your site, you can use this key to list which asset\nsources can be uploaded to and selected from.",
|
|
4193
4142
|
"type": "array"
|
|
4194
4143
|
},
|
|
4195
|
-
"correct_orientation": {
|
|
4196
|
-
"default": true,
|
|
4197
|
-
"description": "Controls whether or not the JPEG headers defining how an image should be rotated before being displayed is baked into images prior to upload.",
|
|
4198
|
-
"markdownDescription": "Controls whether or not the JPEG headers defining how an image should be rotated before being\ndisplayed is baked into images prior to upload.",
|
|
4199
|
-
"type": "boolean"
|
|
4200
|
-
},
|
|
4201
4144
|
"empty_type": {
|
|
4202
4145
|
"$ref": "#/definitions/EmptyTypeText",
|
|
4203
4146
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
@@ -4224,7 +4167,8 @@
|
|
|
4224
4167
|
"description": "Sets the format images are converted to prior to upload. The extension of the file is updated to match. Defaults to keeping the mime type of the uploaded file.",
|
|
4225
4168
|
"enum": [
|
|
4226
4169
|
"image/jpeg",
|
|
4227
|
-
"image/png"
|
|
4170
|
+
"image/png",
|
|
4171
|
+
"image/webp"
|
|
4228
4172
|
],
|
|
4229
4173
|
"markdownDescription": "Sets the format images are converted to prior to upload. The extension of the file is updated\nto match. Defaults to keeping the mime type of the uploaded file.",
|
|
4230
4174
|
"type": "string"
|
|
@@ -4395,6 +4339,164 @@
|
|
|
4395
4339
|
},
|
|
4396
4340
|
"type": "object"
|
|
4397
4341
|
},
|
|
4342
|
+
"MarkdownAttributeElementOptions": {
|
|
4343
|
+
"additionalProperties": false,
|
|
4344
|
+
"properties": {
|
|
4345
|
+
"block": {
|
|
4346
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4347
|
+
},
|
|
4348
|
+
"blockquote": {
|
|
4349
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4350
|
+
},
|
|
4351
|
+
"img": {
|
|
4352
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4353
|
+
},
|
|
4354
|
+
"inline": {
|
|
4355
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4356
|
+
},
|
|
4357
|
+
"li": {
|
|
4358
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4359
|
+
},
|
|
4360
|
+
"ol": {
|
|
4361
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4362
|
+
},
|
|
4363
|
+
"table": {
|
|
4364
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4365
|
+
},
|
|
4366
|
+
"td": {
|
|
4367
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4368
|
+
},
|
|
4369
|
+
"tr": {
|
|
4370
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4371
|
+
},
|
|
4372
|
+
"ul": {
|
|
4373
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4374
|
+
}
|
|
4375
|
+
},
|
|
4376
|
+
"type": "object"
|
|
4377
|
+
},
|
|
4378
|
+
"MarkdownSettings": {
|
|
4379
|
+
"additionalProperties": false,
|
|
4380
|
+
"properties": {
|
|
4381
|
+
"engine": {
|
|
4382
|
+
"enum": [
|
|
4383
|
+
"commonmark",
|
|
4384
|
+
"kramdown"
|
|
4385
|
+
],
|
|
4386
|
+
"type": "string"
|
|
4387
|
+
},
|
|
4388
|
+
"options": {
|
|
4389
|
+
"additionalProperties": false,
|
|
4390
|
+
"properties": {
|
|
4391
|
+
"attribute_elements": {
|
|
4392
|
+
"$ref": "#/definitions/MarkdownAttributeElementOptions",
|
|
4393
|
+
"description": "Define positioning behaviour of Markdown attributes for different elements.",
|
|
4394
|
+
"markdownDescription": "Define positioning behaviour of Markdown attributes for different elements."
|
|
4395
|
+
},
|
|
4396
|
+
"attributes": {
|
|
4397
|
+
"description": "Save element attributes in Markdown format instead of converting to HTML.",
|
|
4398
|
+
"markdownDescription": "Save element attributes in Markdown format instead of converting to HTML.",
|
|
4399
|
+
"type": "boolean"
|
|
4400
|
+
},
|
|
4401
|
+
"breaks": {
|
|
4402
|
+
"description": "Convert '\\n' in paragraphs into <br>.",
|
|
4403
|
+
"markdownDescription": "Convert '\\n' in paragraphs into <br>.",
|
|
4404
|
+
"type": "boolean"
|
|
4405
|
+
},
|
|
4406
|
+
"code_block_fences": {
|
|
4407
|
+
"description": "Determines which style of code block fences to use.",
|
|
4408
|
+
"enum": [
|
|
4409
|
+
"```",
|
|
4410
|
+
"~~~"
|
|
4411
|
+
],
|
|
4412
|
+
"markdownDescription": "Determines which style of code block fences to use.",
|
|
4413
|
+
"type": "string"
|
|
4414
|
+
},
|
|
4415
|
+
"escape_snippets_in_code_blocks": {
|
|
4416
|
+
"description": "Render snippets as plain text within code blocks.",
|
|
4417
|
+
"markdownDescription": "Render snippets as plain text within code blocks.",
|
|
4418
|
+
"type": "boolean"
|
|
4419
|
+
},
|
|
4420
|
+
"gfm": {
|
|
4421
|
+
"description": "Enable GFM mode.",
|
|
4422
|
+
"markdownDescription": "Enable GFM mode.",
|
|
4423
|
+
"type": "boolean"
|
|
4424
|
+
},
|
|
4425
|
+
"heading_ids": {
|
|
4426
|
+
"description": "Generate IDs for headings",
|
|
4427
|
+
"markdownDescription": "Generate IDs for headings",
|
|
4428
|
+
"type": "boolean"
|
|
4429
|
+
},
|
|
4430
|
+
"html": {
|
|
4431
|
+
"description": "Output HTML tags from source.",
|
|
4432
|
+
"markdownDescription": "Output HTML tags from source.",
|
|
4433
|
+
"type": "boolean"
|
|
4434
|
+
},
|
|
4435
|
+
"linkify": {
|
|
4436
|
+
"description": "Autoconvert URL-like text to links.",
|
|
4437
|
+
"markdownDescription": "Autoconvert URL-like text to links.",
|
|
4438
|
+
"type": "boolean"
|
|
4439
|
+
},
|
|
4440
|
+
"quotes": {
|
|
4441
|
+
"description": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For example, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).",
|
|
4442
|
+
"markdownDescription": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For example, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).",
|
|
4443
|
+
"type": "string"
|
|
4444
|
+
},
|
|
4445
|
+
"sentence_per_line": {
|
|
4446
|
+
"description": "Add linebreaks between sentences in Markdown.",
|
|
4447
|
+
"markdownDescription": "Add linebreaks between sentences in Markdown.",
|
|
4448
|
+
"type": "boolean"
|
|
4449
|
+
},
|
|
4450
|
+
"spaced_lists": {
|
|
4451
|
+
"description": "Output lists with an extra space in Markdown.",
|
|
4452
|
+
"markdownDescription": "Output lists with an extra space in Markdown.",
|
|
4453
|
+
"type": "boolean"
|
|
4454
|
+
},
|
|
4455
|
+
"strikethrough": {
|
|
4456
|
+
"description": "Output strikes in wrapped in double tildes (e.g. ~~strike~~)",
|
|
4457
|
+
"markdownDescription": "Output strikes in wrapped in double tildes (e.g. ~~strike~~)",
|
|
4458
|
+
"type": "boolean"
|
|
4459
|
+
},
|
|
4460
|
+
"subscript": {
|
|
4461
|
+
"description": "Output subscript in wrapped in tildes (e.g. ~sub~)",
|
|
4462
|
+
"markdownDescription": "Output subscript in wrapped in tildes (e.g. ~sub~)",
|
|
4463
|
+
"type": "boolean"
|
|
4464
|
+
},
|
|
4465
|
+
"superscript": {
|
|
4466
|
+
"description": "Output superscript in wrapped in carets (e.g. ^super^)",
|
|
4467
|
+
"markdownDescription": "Output superscript in wrapped in carets (e.g. ^super^)",
|
|
4468
|
+
"type": "boolean"
|
|
4469
|
+
},
|
|
4470
|
+
"table": {
|
|
4471
|
+
"description": "Output tables in Markdown format.",
|
|
4472
|
+
"markdownDescription": "Output tables in Markdown format.",
|
|
4473
|
+
"type": "boolean"
|
|
4474
|
+
},
|
|
4475
|
+
"treat_indentation_as_code": {
|
|
4476
|
+
"description": "Determines whether 4 spaces on indentation should be read as a code block.",
|
|
4477
|
+
"markdownDescription": "Determines whether 4 spaces on indentation should be read as a code block.",
|
|
4478
|
+
"type": "boolean"
|
|
4479
|
+
},
|
|
4480
|
+
"typographer": {
|
|
4481
|
+
"description": "Enable some language-neutral replacement + quotes beautification.",
|
|
4482
|
+
"markdownDescription": "Enable some language-neutral replacement + quotes beautification.",
|
|
4483
|
+
"type": "boolean"
|
|
4484
|
+
},
|
|
4485
|
+
"xhtml": {
|
|
4486
|
+
"description": "Use '/' to close single tags (<br />).",
|
|
4487
|
+
"markdownDescription": "Use '/' to close single tags (<br />).",
|
|
4488
|
+
"type": "boolean"
|
|
4489
|
+
}
|
|
4490
|
+
},
|
|
4491
|
+
"type": "object"
|
|
4492
|
+
}
|
|
4493
|
+
},
|
|
4494
|
+
"required": [
|
|
4495
|
+
"engine",
|
|
4496
|
+
"options"
|
|
4497
|
+
],
|
|
4498
|
+
"type": "object"
|
|
4499
|
+
},
|
|
4398
4500
|
"MimeType": {
|
|
4399
4501
|
"enum": [
|
|
4400
4502
|
"x-world/x-3dmf",
|
|
@@ -5904,12 +6006,6 @@
|
|
|
5904
6006
|
"markdownDescription": "Enables a control to copy formatting from text to other text. Only applies to formatting from\n`bold`, `italic`, `underline`, `strike`, `subscript`, and `superscript`. Does not copy other\nstyles or formatting.",
|
|
5905
6007
|
"type": "boolean"
|
|
5906
6008
|
},
|
|
5907
|
-
"correct_orientation": {
|
|
5908
|
-
"default": true,
|
|
5909
|
-
"description": "Controls whether or not the JPEG headers defining how an image should be rotated before being displayed is baked into images prior to upload.",
|
|
5910
|
-
"markdownDescription": "Controls whether or not the JPEG headers defining how an image should be rotated before being\ndisplayed is baked into images prior to upload.",
|
|
5911
|
-
"type": "boolean"
|
|
5912
|
-
},
|
|
5913
6009
|
"embed": {
|
|
5914
6010
|
"description": "Enables a control to insert a region of raw HTML, including YouTube, Vimeo, Tweets, and other media. Embedded content is sanitized to mitigate XSS risks, which includes removing style tags. Embeds containing script tags are not loaded in the editor.",
|
|
5915
6011
|
"markdownDescription": "Enables a control to insert a region of raw HTML, including YouTube, Vimeo, Tweets, and other\nmedia. Embedded content is sanitized to mitigate XSS risks, which includes removing style tags.\nEmbeds containing script tags are not loaded in the editor.",
|
|
@@ -5986,7 +6082,8 @@
|
|
|
5986
6082
|
"description": "Sets the format images are converted to prior to upload. The extension of the file is updated to match. Defaults to keeping the mime type of the uploaded file.",
|
|
5987
6083
|
"enum": [
|
|
5988
6084
|
"image/jpeg",
|
|
5989
|
-
"image/png"
|
|
6085
|
+
"image/png",
|
|
6086
|
+
"image/webp"
|
|
5990
6087
|
],
|
|
5991
6088
|
"markdownDescription": "Sets the format images are converted to prior to upload. The extension of the file is updated\nto match. Defaults to keeping the mime type of the uploaded file.",
|
|
5992
6089
|
"type": "string"
|