@cloudcannon/configuration-types 0.0.4 → 0.0.6
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-default.json +307 -413
- package/build/cloudcannon-config-eleventy.json +305 -413
- package/build/cloudcannon-config-hugo.json +305 -413
- package/build/cloudcannon-config-jekyll.json +305 -413
- package/build/cloudcannon-config.json +437 -1218
- package/package.json +1 -1
- package/src/index.d.ts +45 -8
|
@@ -121,8 +121,6 @@
|
|
|
121
121
|
},
|
|
122
122
|
"type": {
|
|
123
123
|
"const": "array",
|
|
124
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
125
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
126
124
|
"type": "string"
|
|
127
125
|
}
|
|
128
126
|
},
|
|
@@ -231,9 +229,14 @@
|
|
|
231
229
|
"markdownDescription": "Options that are specific to this `type` of input."
|
|
232
230
|
},
|
|
233
231
|
"type": {
|
|
234
|
-
"
|
|
235
|
-
|
|
236
|
-
|
|
232
|
+
"anyOf": [
|
|
233
|
+
{
|
|
234
|
+
"$ref": "#/definitions/InputType"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"type": "null"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
237
240
|
}
|
|
238
241
|
},
|
|
239
242
|
"type": "object"
|
|
@@ -426,27 +429,28 @@
|
|
|
426
429
|
"type": "string"
|
|
427
430
|
},
|
|
428
431
|
"sizes": {
|
|
429
|
-
"additionalProperties": false,
|
|
430
432
|
"description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
|
|
431
|
-
"
|
|
432
|
-
|
|
433
|
-
"
|
|
434
|
-
"
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
433
|
+
"items": {
|
|
434
|
+
"additionalProperties": false,
|
|
435
|
+
"properties": {
|
|
436
|
+
"size": {
|
|
437
|
+
"description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
|
|
438
|
+
"markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
|
|
439
|
+
"type": "string"
|
|
440
|
+
},
|
|
441
|
+
"target": {
|
|
442
|
+
"description": "A reference to another input that is given the path to this additional image file.",
|
|
443
|
+
"markdownDescription": "A reference to another input that is given the path to this additional image file.",
|
|
444
|
+
"type": "string"
|
|
445
|
+
}
|
|
438
446
|
},
|
|
439
|
-
"
|
|
440
|
-
"
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
"type": "string"
|
|
444
|
-
}
|
|
447
|
+
"required": [
|
|
448
|
+
"size"
|
|
449
|
+
],
|
|
450
|
+
"type": "object"
|
|
445
451
|
},
|
|
446
|
-
"
|
|
447
|
-
|
|
448
|
-
],
|
|
449
|
-
"type": "object"
|
|
452
|
+
"markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
|
|
453
|
+
"type": "array"
|
|
450
454
|
},
|
|
451
455
|
"snippet": {
|
|
452
456
|
"description": "Enables a control to insert snippets, if any are available.",
|
|
@@ -569,8 +573,6 @@
|
|
|
569
573
|
},
|
|
570
574
|
"type": {
|
|
571
575
|
"const": "choice",
|
|
572
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
573
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
574
576
|
"type": "string"
|
|
575
577
|
}
|
|
576
578
|
},
|
|
@@ -684,8 +686,6 @@
|
|
|
684
686
|
},
|
|
685
687
|
"type": {
|
|
686
688
|
"const": "code",
|
|
687
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
688
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
689
689
|
"type": "string"
|
|
690
690
|
}
|
|
691
691
|
},
|
|
@@ -836,8 +836,6 @@
|
|
|
836
836
|
},
|
|
837
837
|
"type": {
|
|
838
838
|
"const": "color",
|
|
839
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
840
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
841
839
|
"type": "string"
|
|
842
840
|
}
|
|
843
841
|
},
|
|
@@ -1033,12 +1031,10 @@
|
|
|
1033
1031
|
"markdownDescription": "Options that are specific to this `type` of input."
|
|
1034
1032
|
},
|
|
1035
1033
|
"type": {
|
|
1036
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
1037
1034
|
"enum": [
|
|
1038
1035
|
"date",
|
|
1039
1036
|
"datetime"
|
|
1040
1037
|
],
|
|
1041
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
1042
1038
|
"type": "string"
|
|
1043
1039
|
}
|
|
1044
1040
|
},
|
|
@@ -1241,12 +1237,10 @@
|
|
|
1241
1237
|
"markdownDescription": "Options that are specific to this `type` of input."
|
|
1242
1238
|
},
|
|
1243
1239
|
"type": {
|
|
1244
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
1245
1240
|
"enum": [
|
|
1246
1241
|
"file",
|
|
1247
1242
|
"document"
|
|
1248
1243
|
],
|
|
1249
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
1250
1244
|
"type": "string"
|
|
1251
1245
|
}
|
|
1252
1246
|
},
|
|
@@ -1274,6 +1268,14 @@
|
|
|
1274
1268
|
"description": "Restricts which file types are available to select or upload to this input.",
|
|
1275
1269
|
"markdownDescription": "Restricts which file types are available to select or upload to this input."
|
|
1276
1270
|
},
|
|
1271
|
+
"allowed_sources": {
|
|
1272
|
+
"description": "If you have one or more DAMs connected to your site, you can use this key to list which asset sources can be uploaded to and selected from.",
|
|
1273
|
+
"items": {
|
|
1274
|
+
"type": "string"
|
|
1275
|
+
},
|
|
1276
|
+
"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.",
|
|
1277
|
+
"type": "array"
|
|
1278
|
+
},
|
|
1277
1279
|
"empty_type": {
|
|
1278
1280
|
"$ref": "#/definitions/EmptyTypeText",
|
|
1279
1281
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
@@ -1566,82 +1568,7 @@
|
|
|
1566
1568
|
},
|
|
1567
1569
|
"_snippets": {
|
|
1568
1570
|
"additionalProperties": {
|
|
1569
|
-
"
|
|
1570
|
-
"properties": {
|
|
1571
|
-
"_inputs": {
|
|
1572
|
-
"additionalProperties": {
|
|
1573
|
-
"$ref": "#/definitions/Input"
|
|
1574
|
-
},
|
|
1575
|
-
"description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
1576
|
-
"markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
1577
|
-
"type": "object"
|
|
1578
|
-
},
|
|
1579
|
-
"_select_data": {
|
|
1580
|
-
"additionalProperties": {
|
|
1581
|
-
"$ref": "#/definitions/SelectValues"
|
|
1582
|
-
},
|
|
1583
|
-
"description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
|
|
1584
|
-
"markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
|
|
1585
|
-
"type": "object"
|
|
1586
|
-
},
|
|
1587
|
-
"_structures": {
|
|
1588
|
-
"additionalProperties": {
|
|
1589
|
-
"$ref": "#/definitions/Structure"
|
|
1590
|
-
},
|
|
1591
|
-
"description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
|
|
1592
|
-
"markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
|
|
1593
|
-
"type": "object"
|
|
1594
|
-
},
|
|
1595
|
-
"alternate_formats": {
|
|
1596
|
-
"description": "Alternate configurations for this snippet.",
|
|
1597
|
-
"items": {
|
|
1598
|
-
"$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
|
|
1599
|
-
},
|
|
1600
|
-
"markdownDescription": "Alternate configurations for this snippet.",
|
|
1601
|
-
"type": "array"
|
|
1602
|
-
},
|
|
1603
|
-
"definitions": {
|
|
1604
|
-
"description": "The variables required for the selected template.",
|
|
1605
|
-
"markdownDescription": "The variables required for the selected template.",
|
|
1606
|
-
"type": "object"
|
|
1607
|
-
},
|
|
1608
|
-
"inline": {
|
|
1609
|
-
"description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
|
|
1610
|
-
"markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
|
|
1611
|
-
"type": "boolean"
|
|
1612
|
-
},
|
|
1613
|
-
"params": {
|
|
1614
|
-
"description": "The parameters of this snippet.",
|
|
1615
|
-
"markdownDescription": "The parameters of this snippet.",
|
|
1616
|
-
"type": "object"
|
|
1617
|
-
},
|
|
1618
|
-
"picker_preview": {
|
|
1619
|
-
"$ref": "#/definitions/Preview",
|
|
1620
|
-
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
1621
|
-
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
1622
|
-
},
|
|
1623
|
-
"preview": {
|
|
1624
|
-
"$ref": "#/definitions/Preview",
|
|
1625
|
-
"description": "Changes the way items are previewed in the CMS.",
|
|
1626
|
-
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
1627
|
-
},
|
|
1628
|
-
"snippet": {
|
|
1629
|
-
"description": "Name of the snippet.",
|
|
1630
|
-
"markdownDescription": "Name of the snippet.",
|
|
1631
|
-
"type": "string"
|
|
1632
|
-
},
|
|
1633
|
-
"strict_whitespace": {
|
|
1634
|
-
"description": "Whether this snippet treats whitespace as-is or not.",
|
|
1635
|
-
"markdownDescription": "Whether this snippet treats whitespace as-is or not.",
|
|
1636
|
-
"type": "boolean"
|
|
1637
|
-
},
|
|
1638
|
-
"template": {
|
|
1639
|
-
"description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
1640
|
-
"markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
1641
|
-
"type": "string"
|
|
1642
|
-
}
|
|
1643
|
-
},
|
|
1644
|
-
"type": "object"
|
|
1571
|
+
"$ref": "#/definitions/SnippetConfig"
|
|
1645
1572
|
},
|
|
1646
1573
|
"description": "Configuration for custom snippets.",
|
|
1647
1574
|
"markdownDescription": "Configuration for custom snippets.",
|
|
@@ -1649,82 +1576,7 @@
|
|
|
1649
1576
|
},
|
|
1650
1577
|
"_snippets_definitions": {
|
|
1651
1578
|
"additionalProperties": {
|
|
1652
|
-
"
|
|
1653
|
-
"properties": {
|
|
1654
|
-
"_inputs": {
|
|
1655
|
-
"additionalProperties": {
|
|
1656
|
-
"$ref": "#/definitions/Input"
|
|
1657
|
-
},
|
|
1658
|
-
"description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
1659
|
-
"markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
1660
|
-
"type": "object"
|
|
1661
|
-
},
|
|
1662
|
-
"_select_data": {
|
|
1663
|
-
"additionalProperties": {
|
|
1664
|
-
"$ref": "#/definitions/SelectValues"
|
|
1665
|
-
},
|
|
1666
|
-
"description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
|
|
1667
|
-
"markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
|
|
1668
|
-
"type": "object"
|
|
1669
|
-
},
|
|
1670
|
-
"_structures": {
|
|
1671
|
-
"additionalProperties": {
|
|
1672
|
-
"$ref": "#/definitions/Structure"
|
|
1673
|
-
},
|
|
1674
|
-
"description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
|
|
1675
|
-
"markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
|
|
1676
|
-
"type": "object"
|
|
1677
|
-
},
|
|
1678
|
-
"alternate_formats": {
|
|
1679
|
-
"description": "Alternate configurations for this snippet.",
|
|
1680
|
-
"items": {
|
|
1681
|
-
"$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
|
|
1682
|
-
},
|
|
1683
|
-
"markdownDescription": "Alternate configurations for this snippet.",
|
|
1684
|
-
"type": "array"
|
|
1685
|
-
},
|
|
1686
|
-
"definitions": {
|
|
1687
|
-
"description": "The variables required for the selected template.",
|
|
1688
|
-
"markdownDescription": "The variables required for the selected template.",
|
|
1689
|
-
"type": "object"
|
|
1690
|
-
},
|
|
1691
|
-
"inline": {
|
|
1692
|
-
"description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
|
|
1693
|
-
"markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
|
|
1694
|
-
"type": "boolean"
|
|
1695
|
-
},
|
|
1696
|
-
"params": {
|
|
1697
|
-
"description": "The parameters of this snippet.",
|
|
1698
|
-
"markdownDescription": "The parameters of this snippet.",
|
|
1699
|
-
"type": "object"
|
|
1700
|
-
},
|
|
1701
|
-
"picker_preview": {
|
|
1702
|
-
"$ref": "#/definitions/Preview",
|
|
1703
|
-
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
1704
|
-
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
1705
|
-
},
|
|
1706
|
-
"preview": {
|
|
1707
|
-
"$ref": "#/definitions/Preview",
|
|
1708
|
-
"description": "Changes the way items are previewed in the CMS.",
|
|
1709
|
-
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
1710
|
-
},
|
|
1711
|
-
"snippet": {
|
|
1712
|
-
"description": "Name of the snippet.",
|
|
1713
|
-
"markdownDescription": "Name of the snippet.",
|
|
1714
|
-
"type": "string"
|
|
1715
|
-
},
|
|
1716
|
-
"strict_whitespace": {
|
|
1717
|
-
"description": "Whether this snippet treats whitespace as-is or not.",
|
|
1718
|
-
"markdownDescription": "Whether this snippet treats whitespace as-is or not.",
|
|
1719
|
-
"type": "boolean"
|
|
1720
|
-
},
|
|
1721
|
-
"template": {
|
|
1722
|
-
"description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
1723
|
-
"markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
1724
|
-
"type": "string"
|
|
1725
|
-
}
|
|
1726
|
-
},
|
|
1727
|
-
"type": "object"
|
|
1579
|
+
"$ref": "#/definitions/SnippetConfig"
|
|
1728
1580
|
},
|
|
1729
1581
|
"description": "Extended option used when creating more complex custom snippets.",
|
|
1730
1582
|
"markdownDescription": "Extended option used when creating more complex custom snippets.",
|
|
@@ -1737,82 +1589,7 @@
|
|
|
1737
1589
|
},
|
|
1738
1590
|
"_snippets_templates": {
|
|
1739
1591
|
"additionalProperties": {
|
|
1740
|
-
"
|
|
1741
|
-
"properties": {
|
|
1742
|
-
"_inputs": {
|
|
1743
|
-
"additionalProperties": {
|
|
1744
|
-
"$ref": "#/definitions/Input"
|
|
1745
|
-
},
|
|
1746
|
-
"description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
1747
|
-
"markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
1748
|
-
"type": "object"
|
|
1749
|
-
},
|
|
1750
|
-
"_select_data": {
|
|
1751
|
-
"additionalProperties": {
|
|
1752
|
-
"$ref": "#/definitions/SelectValues"
|
|
1753
|
-
},
|
|
1754
|
-
"description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
|
|
1755
|
-
"markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
|
|
1756
|
-
"type": "object"
|
|
1757
|
-
},
|
|
1758
|
-
"_structures": {
|
|
1759
|
-
"additionalProperties": {
|
|
1760
|
-
"$ref": "#/definitions/Structure"
|
|
1761
|
-
},
|
|
1762
|
-
"description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
|
|
1763
|
-
"markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
|
|
1764
|
-
"type": "object"
|
|
1765
|
-
},
|
|
1766
|
-
"alternate_formats": {
|
|
1767
|
-
"description": "Alternate configurations for this snippet.",
|
|
1768
|
-
"items": {
|
|
1769
|
-
"$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
|
|
1770
|
-
},
|
|
1771
|
-
"markdownDescription": "Alternate configurations for this snippet.",
|
|
1772
|
-
"type": "array"
|
|
1773
|
-
},
|
|
1774
|
-
"definitions": {
|
|
1775
|
-
"description": "The variables required for the selected template.",
|
|
1776
|
-
"markdownDescription": "The variables required for the selected template.",
|
|
1777
|
-
"type": "object"
|
|
1778
|
-
},
|
|
1779
|
-
"inline": {
|
|
1780
|
-
"description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
|
|
1781
|
-
"markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
|
|
1782
|
-
"type": "boolean"
|
|
1783
|
-
},
|
|
1784
|
-
"params": {
|
|
1785
|
-
"description": "The parameters of this snippet.",
|
|
1786
|
-
"markdownDescription": "The parameters of this snippet.",
|
|
1787
|
-
"type": "object"
|
|
1788
|
-
},
|
|
1789
|
-
"picker_preview": {
|
|
1790
|
-
"$ref": "#/definitions/Preview",
|
|
1791
|
-
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
1792
|
-
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
1793
|
-
},
|
|
1794
|
-
"preview": {
|
|
1795
|
-
"$ref": "#/definitions/Preview",
|
|
1796
|
-
"description": "Changes the way items are previewed in the CMS.",
|
|
1797
|
-
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
1798
|
-
},
|
|
1799
|
-
"snippet": {
|
|
1800
|
-
"description": "Name of the snippet.",
|
|
1801
|
-
"markdownDescription": "Name of the snippet.",
|
|
1802
|
-
"type": "string"
|
|
1803
|
-
},
|
|
1804
|
-
"strict_whitespace": {
|
|
1805
|
-
"description": "Whether this snippet treats whitespace as-is or not.",
|
|
1806
|
-
"markdownDescription": "Whether this snippet treats whitespace as-is or not.",
|
|
1807
|
-
"type": "boolean"
|
|
1808
|
-
},
|
|
1809
|
-
"template": {
|
|
1810
|
-
"description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
1811
|
-
"markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
1812
|
-
"type": "string"
|
|
1813
|
-
}
|
|
1814
|
-
},
|
|
1815
|
-
"type": "object"
|
|
1592
|
+
"$ref": "#/definitions/SnippetConfig"
|
|
1816
1593
|
},
|
|
1817
1594
|
"description": "Extended option used when creating more complex custom snippets.",
|
|
1818
1595
|
"markdownDescription": "Extended option used when creating more complex custom snippets.",
|
|
@@ -4150,27 +3927,28 @@
|
|
|
4150
3927
|
"type": "string"
|
|
4151
3928
|
},
|
|
4152
3929
|
"sizes": {
|
|
4153
|
-
"additionalProperties": false,
|
|
4154
3930
|
"description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
|
|
4155
|
-
"
|
|
4156
|
-
|
|
4157
|
-
"
|
|
4158
|
-
"
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
3931
|
+
"items": {
|
|
3932
|
+
"additionalProperties": false,
|
|
3933
|
+
"properties": {
|
|
3934
|
+
"size": {
|
|
3935
|
+
"description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
|
|
3936
|
+
"markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
|
|
3937
|
+
"type": "string"
|
|
3938
|
+
},
|
|
3939
|
+
"target": {
|
|
3940
|
+
"description": "A reference to another input that is given the path to this additional image file.",
|
|
3941
|
+
"markdownDescription": "A reference to another input that is given the path to this additional image file.",
|
|
3942
|
+
"type": "string"
|
|
3943
|
+
}
|
|
4162
3944
|
},
|
|
4163
|
-
"
|
|
4164
|
-
"
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
"type": "string"
|
|
4168
|
-
}
|
|
3945
|
+
"required": [
|
|
3946
|
+
"size"
|
|
3947
|
+
],
|
|
3948
|
+
"type": "object"
|
|
4169
3949
|
},
|
|
4170
|
-
"
|
|
4171
|
-
|
|
4172
|
-
],
|
|
4173
|
-
"type": "object"
|
|
3950
|
+
"markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
|
|
3951
|
+
"type": "array"
|
|
4174
3952
|
},
|
|
4175
3953
|
"width": {
|
|
4176
3954
|
"description": "Defines the width of the bounding box used in the image resizing process defined with resize_style.",
|
|
@@ -4253,8 +4031,6 @@
|
|
|
4253
4031
|
},
|
|
4254
4032
|
"type": {
|
|
4255
4033
|
"const": "image",
|
|
4256
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
4257
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
4258
4034
|
"type": "string"
|
|
4259
4035
|
}
|
|
4260
4036
|
},
|
|
@@ -4351,27 +4127,28 @@
|
|
|
4351
4127
|
"type": "string"
|
|
4352
4128
|
},
|
|
4353
4129
|
"sizes": {
|
|
4354
|
-
"additionalProperties": false,
|
|
4355
4130
|
"description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
|
|
4356
|
-
"
|
|
4357
|
-
|
|
4358
|
-
"
|
|
4359
|
-
"
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4131
|
+
"items": {
|
|
4132
|
+
"additionalProperties": false,
|
|
4133
|
+
"properties": {
|
|
4134
|
+
"size": {
|
|
4135
|
+
"description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
|
|
4136
|
+
"markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
|
|
4137
|
+
"type": "string"
|
|
4138
|
+
},
|
|
4139
|
+
"target": {
|
|
4140
|
+
"description": "A reference to another input that is given the path to this additional image file.",
|
|
4141
|
+
"markdownDescription": "A reference to another input that is given the path to this additional image file.",
|
|
4142
|
+
"type": "string"
|
|
4143
|
+
}
|
|
4363
4144
|
},
|
|
4364
|
-
"
|
|
4365
|
-
"
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
"type": "string"
|
|
4369
|
-
}
|
|
4145
|
+
"required": [
|
|
4146
|
+
"size"
|
|
4147
|
+
],
|
|
4148
|
+
"type": "object"
|
|
4370
4149
|
},
|
|
4371
|
-
"
|
|
4372
|
-
|
|
4373
|
-
],
|
|
4374
|
-
"type": "object"
|
|
4150
|
+
"markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
|
|
4151
|
+
"type": "array"
|
|
4375
4152
|
},
|
|
4376
4153
|
"width": {
|
|
4377
4154
|
"description": "Defines the width of the bounding box used in the image resizing process defined with resize_style.",
|
|
@@ -4386,6 +4163,9 @@
|
|
|
4386
4163
|
{
|
|
4387
4164
|
"$ref": "#/definitions/BaseInput"
|
|
4388
4165
|
},
|
|
4166
|
+
{
|
|
4167
|
+
"$ref": "#/definitions/UnknownInput"
|
|
4168
|
+
},
|
|
4389
4169
|
{
|
|
4390
4170
|
"$ref": "#/definitions/TextInput"
|
|
4391
4171
|
},
|
|
@@ -5000,8 +4780,6 @@
|
|
|
5000
4780
|
},
|
|
5001
4781
|
"type": {
|
|
5002
4782
|
"const": "multichoice",
|
|
5003
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5004
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5005
4783
|
"type": "string"
|
|
5006
4784
|
}
|
|
5007
4785
|
},
|
|
@@ -5115,8 +4893,6 @@
|
|
|
5115
4893
|
},
|
|
5116
4894
|
"type": {
|
|
5117
4895
|
"const": "multiselect",
|
|
5118
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5119
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5120
4896
|
"type": "string"
|
|
5121
4897
|
}
|
|
5122
4898
|
},
|
|
@@ -5231,8 +5007,6 @@
|
|
|
5231
5007
|
},
|
|
5232
5008
|
"type": {
|
|
5233
5009
|
"const": "number",
|
|
5234
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5235
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5236
5010
|
"type": "string"
|
|
5237
5011
|
}
|
|
5238
5012
|
},
|
|
@@ -5340,8 +5114,6 @@
|
|
|
5340
5114
|
},
|
|
5341
5115
|
"type": {
|
|
5342
5116
|
"const": "object",
|
|
5343
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5344
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5345
5117
|
"type": "string"
|
|
5346
5118
|
}
|
|
5347
5119
|
},
|
|
@@ -5350,9 +5122,38 @@
|
|
|
5350
5122
|
],
|
|
5351
5123
|
"type": "object"
|
|
5352
5124
|
},
|
|
5125
|
+
"ObjectInputGroup": {
|
|
5126
|
+
"additionalProperties": false,
|
|
5127
|
+
"properties": {
|
|
5128
|
+
"collapsed": {
|
|
5129
|
+
"type": "boolean"
|
|
5130
|
+
},
|
|
5131
|
+
"comment": {
|
|
5132
|
+
"type": "string"
|
|
5133
|
+
},
|
|
5134
|
+
"documentation": {
|
|
5135
|
+
"$ref": "#/definitions/Documentation"
|
|
5136
|
+
},
|
|
5137
|
+
"heading": {
|
|
5138
|
+
"type": "string"
|
|
5139
|
+
},
|
|
5140
|
+
"inputs": {
|
|
5141
|
+
"items": {
|
|
5142
|
+
"type": "string"
|
|
5143
|
+
},
|
|
5144
|
+
"type": "array"
|
|
5145
|
+
}
|
|
5146
|
+
},
|
|
5147
|
+
"type": "object"
|
|
5148
|
+
},
|
|
5353
5149
|
"ObjectInputOptions": {
|
|
5354
5150
|
"additionalProperties": false,
|
|
5355
5151
|
"properties": {
|
|
5152
|
+
"allow_label_formatting": {
|
|
5153
|
+
"description": "Controls whether or not labels on mutable object entries are formatted.",
|
|
5154
|
+
"markdownDescription": "Controls whether or not labels on mutable object entries are formatted.",
|
|
5155
|
+
"type": "boolean"
|
|
5156
|
+
},
|
|
5356
5157
|
"empty_type": {
|
|
5357
5158
|
"$ref": "#/definitions/EmptyTypeObject",
|
|
5358
5159
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
@@ -5397,6 +5198,19 @@
|
|
|
5397
5198
|
},
|
|
5398
5199
|
"type": "object"
|
|
5399
5200
|
},
|
|
5201
|
+
"groups": {
|
|
5202
|
+
"description": "Allows you to group the inputs inside this object together without changing the data structure.",
|
|
5203
|
+
"items": {
|
|
5204
|
+
"$ref": "#/definitions/ObjectInputGroup"
|
|
5205
|
+
},
|
|
5206
|
+
"markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure.",
|
|
5207
|
+
"type": "array"
|
|
5208
|
+
},
|
|
5209
|
+
"place_groups_below": {
|
|
5210
|
+
"description": "Controls which order input groups and ungrouped inputs appear in.",
|
|
5211
|
+
"markdownDescription": "Controls which order input groups and ungrouped inputs appear in.",
|
|
5212
|
+
"type": "boolean"
|
|
5213
|
+
},
|
|
5400
5214
|
"preview": {
|
|
5401
5215
|
"$ref": "#/definitions/ObjectPreview",
|
|
5402
5216
|
"description": "The preview definition for changing the way data within an object input is previewed before being expanded. If the input has `structures`, the preview from the structure value is used instead.",
|
|
@@ -5644,6 +5458,11 @@
|
|
|
5644
5458
|
"description": "Filename template for newly uploaded site files.",
|
|
5645
5459
|
"markdownDescription": "Filename template for newly uploaded site files.",
|
|
5646
5460
|
"type": "string"
|
|
5461
|
+
},
|
|
5462
|
+
"uploads_use_relative_path": {
|
|
5463
|
+
"description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
|
|
5464
|
+
"markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were\nuploaded to.",
|
|
5465
|
+
"type": "boolean"
|
|
5647
5466
|
}
|
|
5648
5467
|
},
|
|
5649
5468
|
"type": "object"
|
|
@@ -6168,8 +5987,6 @@
|
|
|
6168
5987
|
},
|
|
6169
5988
|
"type": {
|
|
6170
5989
|
"const": "range",
|
|
6171
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6172
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6173
5990
|
"type": "string"
|
|
6174
5991
|
}
|
|
6175
5992
|
},
|
|
@@ -6244,6 +6061,11 @@
|
|
|
6244
6061
|
"description": "Filename template for newly uploaded site files.",
|
|
6245
6062
|
"markdownDescription": "Filename template for newly uploaded site files.",
|
|
6246
6063
|
"type": "string"
|
|
6064
|
+
},
|
|
6065
|
+
"uploads_use_relative_path": {
|
|
6066
|
+
"description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
|
|
6067
|
+
"markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were\nuploaded to.",
|
|
6068
|
+
"type": "boolean"
|
|
6247
6069
|
}
|
|
6248
6070
|
},
|
|
6249
6071
|
"type": "object"
|
|
@@ -6320,12 +6142,10 @@
|
|
|
6320
6142
|
"markdownDescription": "Options that are specific to this `type` of input."
|
|
6321
6143
|
},
|
|
6322
6144
|
"type": {
|
|
6323
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6324
6145
|
"enum": [
|
|
6325
6146
|
"html",
|
|
6326
6147
|
"markdown"
|
|
6327
6148
|
],
|
|
6328
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6329
6149
|
"type": "string"
|
|
6330
6150
|
}
|
|
6331
6151
|
},
|
|
@@ -6526,27 +6346,28 @@
|
|
|
6526
6346
|
"type": "string"
|
|
6527
6347
|
},
|
|
6528
6348
|
"sizes": {
|
|
6529
|
-
"additionalProperties": false,
|
|
6530
6349
|
"description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
|
|
6531
|
-
"
|
|
6532
|
-
|
|
6533
|
-
"
|
|
6534
|
-
"
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6350
|
+
"items": {
|
|
6351
|
+
"additionalProperties": false,
|
|
6352
|
+
"properties": {
|
|
6353
|
+
"size": {
|
|
6354
|
+
"description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
|
|
6355
|
+
"markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
|
|
6356
|
+
"type": "string"
|
|
6357
|
+
},
|
|
6358
|
+
"target": {
|
|
6359
|
+
"description": "A reference to another input that is given the path to this additional image file.",
|
|
6360
|
+
"markdownDescription": "A reference to another input that is given the path to this additional image file.",
|
|
6361
|
+
"type": "string"
|
|
6362
|
+
}
|
|
6538
6363
|
},
|
|
6539
|
-
"
|
|
6540
|
-
"
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
"type": "string"
|
|
6544
|
-
}
|
|
6364
|
+
"required": [
|
|
6365
|
+
"size"
|
|
6366
|
+
],
|
|
6367
|
+
"type": "object"
|
|
6545
6368
|
},
|
|
6546
|
-
"
|
|
6547
|
-
|
|
6548
|
-
],
|
|
6549
|
-
"type": "object"
|
|
6369
|
+
"markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
|
|
6370
|
+
"type": "array"
|
|
6550
6371
|
},
|
|
6551
6372
|
"snippet": {
|
|
6552
6373
|
"description": "Enables a control to insert snippets, if any are available.",
|
|
@@ -6793,8 +6614,6 @@
|
|
|
6793
6614
|
},
|
|
6794
6615
|
"type": {
|
|
6795
6616
|
"const": "select",
|
|
6796
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6797
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6798
6617
|
"type": "string"
|
|
6799
6618
|
}
|
|
6800
6619
|
},
|
|
@@ -6945,6 +6764,84 @@
|
|
|
6945
6764
|
}
|
|
6946
6765
|
]
|
|
6947
6766
|
},
|
|
6767
|
+
"SnippetConfig": {
|
|
6768
|
+
"additionalProperties": false,
|
|
6769
|
+
"properties": {
|
|
6770
|
+
"_inputs": {
|
|
6771
|
+
"additionalProperties": {
|
|
6772
|
+
"$ref": "#/definitions/Input"
|
|
6773
|
+
},
|
|
6774
|
+
"description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
6775
|
+
"markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
6776
|
+
"type": "object"
|
|
6777
|
+
},
|
|
6778
|
+
"_select_data": {
|
|
6779
|
+
"additionalProperties": {
|
|
6780
|
+
"$ref": "#/definitions/SelectValues"
|
|
6781
|
+
},
|
|
6782
|
+
"description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
|
|
6783
|
+
"markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
|
|
6784
|
+
"type": "object"
|
|
6785
|
+
},
|
|
6786
|
+
"_structures": {
|
|
6787
|
+
"additionalProperties": {
|
|
6788
|
+
"$ref": "#/definitions/Structure"
|
|
6789
|
+
},
|
|
6790
|
+
"description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
|
|
6791
|
+
"markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
|
|
6792
|
+
"type": "object"
|
|
6793
|
+
},
|
|
6794
|
+
"alternate_formats": {
|
|
6795
|
+
"description": "Alternate configurations for this snippet.",
|
|
6796
|
+
"items": {
|
|
6797
|
+
"$ref": "#/definitions/SnippetConfig"
|
|
6798
|
+
},
|
|
6799
|
+
"markdownDescription": "Alternate configurations for this snippet.",
|
|
6800
|
+
"type": "array"
|
|
6801
|
+
},
|
|
6802
|
+
"definitions": {
|
|
6803
|
+
"description": "The variables required for the selected template.",
|
|
6804
|
+
"markdownDescription": "The variables required for the selected template.",
|
|
6805
|
+
"type": "object"
|
|
6806
|
+
},
|
|
6807
|
+
"inline": {
|
|
6808
|
+
"description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
|
|
6809
|
+
"markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
|
|
6810
|
+
"type": "boolean"
|
|
6811
|
+
},
|
|
6812
|
+
"params": {
|
|
6813
|
+
"description": "The parameters of this snippet.",
|
|
6814
|
+
"markdownDescription": "The parameters of this snippet.",
|
|
6815
|
+
"type": "object"
|
|
6816
|
+
},
|
|
6817
|
+
"picker_preview": {
|
|
6818
|
+
"$ref": "#/definitions/Preview",
|
|
6819
|
+
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
6820
|
+
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
6821
|
+
},
|
|
6822
|
+
"preview": {
|
|
6823
|
+
"$ref": "#/definitions/Preview",
|
|
6824
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
6825
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
6826
|
+
},
|
|
6827
|
+
"snippet": {
|
|
6828
|
+
"description": "Name of the snippet.",
|
|
6829
|
+
"markdownDescription": "Name of the snippet.",
|
|
6830
|
+
"type": "string"
|
|
6831
|
+
},
|
|
6832
|
+
"strict_whitespace": {
|
|
6833
|
+
"description": "Whether this snippet treats whitespace as-is or not.",
|
|
6834
|
+
"markdownDescription": "Whether this snippet treats whitespace as-is or not.",
|
|
6835
|
+
"type": "boolean"
|
|
6836
|
+
},
|
|
6837
|
+
"template": {
|
|
6838
|
+
"description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
6839
|
+
"markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
6840
|
+
"type": "string"
|
|
6841
|
+
}
|
|
6842
|
+
},
|
|
6843
|
+
"type": "object"
|
|
6844
|
+
},
|
|
6948
6845
|
"SnippetsImports": {
|
|
6949
6846
|
"additionalProperties": false,
|
|
6950
6847
|
"properties": {
|
|
@@ -7908,7 +7805,6 @@
|
|
|
7908
7805
|
"markdownDescription": "Options that are specific to this `type` of input."
|
|
7909
7806
|
},
|
|
7910
7807
|
"type": {
|
|
7911
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
7912
7808
|
"enum": [
|
|
7913
7809
|
"text",
|
|
7914
7810
|
"email",
|
|
@@ -7919,7 +7815,6 @@
|
|
|
7919
7815
|
"github",
|
|
7920
7816
|
"instagram"
|
|
7921
7817
|
],
|
|
7922
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
7923
7818
|
"type": "string"
|
|
7924
7819
|
}
|
|
7925
7820
|
},
|
|
@@ -8544,6 +8439,83 @@
|
|
|
8544
8439
|
],
|
|
8545
8440
|
"type": "string"
|
|
8546
8441
|
},
|
|
8442
|
+
"UnknownInput": {
|
|
8443
|
+
"additionalProperties": false,
|
|
8444
|
+
"properties": {
|
|
8445
|
+
"cascade": {
|
|
8446
|
+
"default": true,
|
|
8447
|
+
"description": "Specifies whether or not this input configuration should be merged with any matching, less specific configuration.",
|
|
8448
|
+
"markdownDescription": "Specifies whether or not this input configuration should be merged with any matching, less\nspecific configuration.",
|
|
8449
|
+
"type": "boolean"
|
|
8450
|
+
},
|
|
8451
|
+
"comment": {
|
|
8452
|
+
"description": "Changes the subtext below the _Label_. Has no default. Supports a limited set of Markdown: links, bold, italic, subscript, superscript, and inline code elements are allowed.",
|
|
8453
|
+
"markdownDescription": "Changes the subtext below the _Label_. Has no default. Supports a limited set of Markdown:\nlinks, bold, italic, subscript, superscript, and inline code elements are allowed.",
|
|
8454
|
+
"type": "string"
|
|
8455
|
+
},
|
|
8456
|
+
"context": {
|
|
8457
|
+
"additionalProperties": false,
|
|
8458
|
+
"description": "Adds an expandable section of rich text below the input.",
|
|
8459
|
+
"markdownDescription": "Adds an expandable section of rich text below the input.",
|
|
8460
|
+
"properties": {
|
|
8461
|
+
"content": {
|
|
8462
|
+
"description": "The rich text content shown when opened. Supports a limited set of Markdown.",
|
|
8463
|
+
"markdownDescription": "The rich text content shown when opened. Supports a limited set of Markdown.",
|
|
8464
|
+
"type": "string"
|
|
8465
|
+
},
|
|
8466
|
+
"icon": {
|
|
8467
|
+
"$ref": "#/definitions/Icon",
|
|
8468
|
+
"description": "The icon shown when not open.",
|
|
8469
|
+
"markdownDescription": "The icon shown when not open."
|
|
8470
|
+
},
|
|
8471
|
+
"open": {
|
|
8472
|
+
"description": "Makes the content visible initially.",
|
|
8473
|
+
"markdownDescription": "Makes the content visible initially.",
|
|
8474
|
+
"type": "boolean"
|
|
8475
|
+
},
|
|
8476
|
+
"title": {
|
|
8477
|
+
"description": "The text shown when not open. Defaults to \"Context\" if unset.",
|
|
8478
|
+
"markdownDescription": "The text shown when not open. Defaults to \"Context\" if unset.",
|
|
8479
|
+
"type": "string"
|
|
8480
|
+
}
|
|
8481
|
+
},
|
|
8482
|
+
"type": "object"
|
|
8483
|
+
},
|
|
8484
|
+
"documentation": {
|
|
8485
|
+
"$ref": "#/definitions/Documentation",
|
|
8486
|
+
"description": "Provides a custom link for documentation for editors shown above input.",
|
|
8487
|
+
"markdownDescription": "Provides a custom link for documentation for editors shown above input."
|
|
8488
|
+
},
|
|
8489
|
+
"hidden": {
|
|
8490
|
+
"default": false,
|
|
8491
|
+
"description": "Toggles the visibility of this input.",
|
|
8492
|
+
"markdownDescription": "Toggles the visibility of this input.",
|
|
8493
|
+
"type": [
|
|
8494
|
+
"boolean",
|
|
8495
|
+
"string"
|
|
8496
|
+
]
|
|
8497
|
+
},
|
|
8498
|
+
"instance_value": {
|
|
8499
|
+
"$ref": "#/definitions/InstanceValue",
|
|
8500
|
+
"description": "Controls if and how the value of this input is instantiated when created. This occurs when creating files, or adding array items containing the configured input.",
|
|
8501
|
+
"markdownDescription": "Controls if and how the value of this input is instantiated when created. This occurs when\ncreating files, or adding array items containing the configured input."
|
|
8502
|
+
},
|
|
8503
|
+
"label": {
|
|
8504
|
+
"description": "Optionally changes the text above this input.",
|
|
8505
|
+
"markdownDescription": "Optionally changes the text above this input.",
|
|
8506
|
+
"type": "string"
|
|
8507
|
+
},
|
|
8508
|
+
"options": {
|
|
8509
|
+
"$ref": "#/definitions/BaseInputOptions",
|
|
8510
|
+
"description": "Options that are specific to this `type` of input.",
|
|
8511
|
+
"markdownDescription": "Options that are specific to this `type` of input."
|
|
8512
|
+
},
|
|
8513
|
+
"type": {
|
|
8514
|
+
"type": "null"
|
|
8515
|
+
}
|
|
8516
|
+
},
|
|
8517
|
+
"type": "object"
|
|
8518
|
+
},
|
|
8547
8519
|
"UrlInput": {
|
|
8548
8520
|
"additionalProperties": false,
|
|
8549
8521
|
"properties": {
|
|
@@ -8617,8 +8589,6 @@
|
|
|
8617
8589
|
},
|
|
8618
8590
|
"type": {
|
|
8619
8591
|
"const": "range",
|
|
8620
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
8621
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
8622
8592
|
"type": "string"
|
|
8623
8593
|
}
|
|
8624
8594
|
},
|
|
@@ -8642,84 +8612,6 @@
|
|
|
8642
8612
|
}
|
|
8643
8613
|
},
|
|
8644
8614
|
"type": "object"
|
|
8645
|
-
},
|
|
8646
|
-
"interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487": {
|
|
8647
|
-
"additionalProperties": false,
|
|
8648
|
-
"properties": {
|
|
8649
|
-
"_inputs": {
|
|
8650
|
-
"additionalProperties": {
|
|
8651
|
-
"$ref": "#/definitions/Input"
|
|
8652
|
-
},
|
|
8653
|
-
"description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
8654
|
-
"markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
8655
|
-
"type": "object"
|
|
8656
|
-
},
|
|
8657
|
-
"_select_data": {
|
|
8658
|
-
"additionalProperties": {
|
|
8659
|
-
"$ref": "#/definitions/SelectValues"
|
|
8660
|
-
},
|
|
8661
|
-
"description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
|
|
8662
|
-
"markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
|
|
8663
|
-
"type": "object"
|
|
8664
|
-
},
|
|
8665
|
-
"_structures": {
|
|
8666
|
-
"additionalProperties": {
|
|
8667
|
-
"$ref": "#/definitions/Structure"
|
|
8668
|
-
},
|
|
8669
|
-
"description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
|
|
8670
|
-
"markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
|
|
8671
|
-
"type": "object"
|
|
8672
|
-
},
|
|
8673
|
-
"alternate_formats": {
|
|
8674
|
-
"description": "Alternate configurations for this snippet.",
|
|
8675
|
-
"items": {
|
|
8676
|
-
"$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
|
|
8677
|
-
},
|
|
8678
|
-
"markdownDescription": "Alternate configurations for this snippet.",
|
|
8679
|
-
"type": "array"
|
|
8680
|
-
},
|
|
8681
|
-
"definitions": {
|
|
8682
|
-
"description": "The variables required for the selected template.",
|
|
8683
|
-
"markdownDescription": "The variables required for the selected template.",
|
|
8684
|
-
"type": "object"
|
|
8685
|
-
},
|
|
8686
|
-
"inline": {
|
|
8687
|
-
"description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
|
|
8688
|
-
"markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
|
|
8689
|
-
"type": "boolean"
|
|
8690
|
-
},
|
|
8691
|
-
"params": {
|
|
8692
|
-
"description": "The parameters of this snippet.",
|
|
8693
|
-
"markdownDescription": "The parameters of this snippet.",
|
|
8694
|
-
"type": "object"
|
|
8695
|
-
},
|
|
8696
|
-
"picker_preview": {
|
|
8697
|
-
"$ref": "#/definitions/Preview",
|
|
8698
|
-
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
8699
|
-
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
8700
|
-
},
|
|
8701
|
-
"preview": {
|
|
8702
|
-
"$ref": "#/definitions/Preview",
|
|
8703
|
-
"description": "Changes the way items are previewed in the CMS.",
|
|
8704
|
-
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
8705
|
-
},
|
|
8706
|
-
"snippet": {
|
|
8707
|
-
"description": "Name of the snippet.",
|
|
8708
|
-
"markdownDescription": "Name of the snippet.",
|
|
8709
|
-
"type": "string"
|
|
8710
|
-
},
|
|
8711
|
-
"strict_whitespace": {
|
|
8712
|
-
"description": "Whether this snippet treats whitespace as-is or not.",
|
|
8713
|
-
"markdownDescription": "Whether this snippet treats whitespace as-is or not.",
|
|
8714
|
-
"type": "boolean"
|
|
8715
|
-
},
|
|
8716
|
-
"template": {
|
|
8717
|
-
"description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
8718
|
-
"markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
8719
|
-
"type": "string"
|
|
8720
|
-
}
|
|
8721
|
-
},
|
|
8722
|
-
"type": "object"
|
|
8723
8615
|
}
|
|
8724
8616
|
}
|
|
8725
8617
|
}
|