@cloudcannon/configuration-types 0.0.14 → 0.0.16
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 +140 -59
- package/build/cloudcannon-config-hugo.json +140 -59
- package/build/cloudcannon-config-jekyll.json +140 -59
- package/build/cloudcannon-config-reader.json +140 -59
- package/build/cloudcannon-config.json +140 -59
- package/package.json +1 -1
- package/src/configuration.d.ts +27 -31
|
@@ -137,11 +137,6 @@
|
|
|
137
137
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
138
138
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
139
139
|
},
|
|
140
|
-
"preview": {
|
|
141
|
-
"$ref": "#/definitions/ObjectPreview",
|
|
142
|
-
"description": "The preview definition for changing the way data within an array input's items are previewed before being expanded. If the input has structures, the preview from the structure value is used instead.",
|
|
143
|
-
"markdownDescription": "The preview definition for changing the way data within an array input's items are previewed\nbefore being expanded. If the input has structures, the preview from the structure value is\nused instead."
|
|
144
|
-
},
|
|
145
140
|
"structures": {
|
|
146
141
|
"anyOf": [
|
|
147
142
|
{
|
|
@@ -617,7 +612,7 @@
|
|
|
617
612
|
},
|
|
618
613
|
"disable_url": {
|
|
619
614
|
"description": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
620
|
-
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the\
|
|
615
|
+
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual\nEditor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
621
616
|
"type": "boolean"
|
|
622
617
|
},
|
|
623
618
|
"documentation": {
|
|
@@ -657,6 +652,11 @@
|
|
|
657
652
|
"description": "Sets an icon to use alongside references to this collection.",
|
|
658
653
|
"markdownDescription": "Sets an icon to use alongside references to this collection."
|
|
659
654
|
},
|
|
655
|
+
"include_developer_files": {
|
|
656
|
+
"description": "If set, includes files usually reserved for your SSG and developer tooling as part of this collection. These files can then be filtered with `glob`.",
|
|
657
|
+
"markdownDescription": "If set, includes files usually reserved for your SSG and developer tooling as part of this\ncollection. These files can then be filtered with `glob`.",
|
|
658
|
+
"type": "boolean"
|
|
659
|
+
},
|
|
660
660
|
"name": {
|
|
661
661
|
"description": "The display name of this collection. Used in headings and in the context menu for items in the collection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
662
662
|
"markdownDescription": "The display name of this collection. Used in headings and in the context menu for items in the\ncollection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
@@ -875,10 +875,26 @@
|
|
|
875
875
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
876
876
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
877
877
|
},
|
|
878
|
+
"picker_preview": {
|
|
879
|
+
"$ref": "#/definitions/Preview",
|
|
880
|
+
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
881
|
+
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
882
|
+
},
|
|
883
|
+
"picker_view": {
|
|
884
|
+
"description": "Controls how selectable options are rendered.",
|
|
885
|
+
"enum": [
|
|
886
|
+
"card",
|
|
887
|
+
"text",
|
|
888
|
+
"gallery",
|
|
889
|
+
"gallery-left"
|
|
890
|
+
],
|
|
891
|
+
"markdownDescription": "Controls how selectable options are rendered.",
|
|
892
|
+
"type": "string"
|
|
893
|
+
},
|
|
878
894
|
"preview": {
|
|
879
|
-
"$ref": "#/definitions/
|
|
880
|
-
"description": "
|
|
881
|
-
"markdownDescription": "
|
|
895
|
+
"$ref": "#/definitions/Preview",
|
|
896
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
897
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
882
898
|
},
|
|
883
899
|
"value_key": {
|
|
884
900
|
"description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
|
|
@@ -889,6 +905,17 @@
|
|
|
889
905
|
"$ref": "#/definitions/SelectValues",
|
|
890
906
|
"description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
|
|
891
907
|
"markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
|
|
908
|
+
},
|
|
909
|
+
"view": {
|
|
910
|
+
"description": "Controls how selected items are rendered.",
|
|
911
|
+
"enum": [
|
|
912
|
+
"card",
|
|
913
|
+
"text",
|
|
914
|
+
"gallery",
|
|
915
|
+
"gallery-left"
|
|
916
|
+
],
|
|
917
|
+
"markdownDescription": "Controls how selected items are rendered.",
|
|
918
|
+
"type": "string"
|
|
892
919
|
}
|
|
893
920
|
},
|
|
894
921
|
"type": "object"
|
|
@@ -1234,9 +1261,6 @@
|
|
|
1234
1261
|
"type": "string"
|
|
1235
1262
|
}
|
|
1236
1263
|
},
|
|
1237
|
-
"required": [
|
|
1238
|
-
"path"
|
|
1239
|
-
],
|
|
1240
1264
|
"type": "object"
|
|
1241
1265
|
},
|
|
1242
1266
|
"DateInput": {
|
|
@@ -5405,10 +5429,26 @@
|
|
|
5405
5429
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
5406
5430
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
5407
5431
|
},
|
|
5432
|
+
"picker_preview": {
|
|
5433
|
+
"$ref": "#/definitions/Preview",
|
|
5434
|
+
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
5435
|
+
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
5436
|
+
},
|
|
5437
|
+
"picker_view": {
|
|
5438
|
+
"description": "Controls how selectable options are rendered.",
|
|
5439
|
+
"enum": [
|
|
5440
|
+
"card",
|
|
5441
|
+
"text",
|
|
5442
|
+
"gallery",
|
|
5443
|
+
"gallery-left"
|
|
5444
|
+
],
|
|
5445
|
+
"markdownDescription": "Controls how selectable options are rendered.",
|
|
5446
|
+
"type": "string"
|
|
5447
|
+
},
|
|
5408
5448
|
"preview": {
|
|
5409
|
-
"$ref": "#/definitions/
|
|
5410
|
-
"description": "
|
|
5411
|
-
"markdownDescription": "
|
|
5449
|
+
"$ref": "#/definitions/Preview",
|
|
5450
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
5451
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
5412
5452
|
},
|
|
5413
5453
|
"value_key": {
|
|
5414
5454
|
"description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
|
|
@@ -5419,6 +5459,17 @@
|
|
|
5419
5459
|
"$ref": "#/definitions/SelectValues",
|
|
5420
5460
|
"description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
|
|
5421
5461
|
"markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
|
|
5462
|
+
},
|
|
5463
|
+
"view": {
|
|
5464
|
+
"description": "Controls how selected items are rendered.",
|
|
5465
|
+
"enum": [
|
|
5466
|
+
"card",
|
|
5467
|
+
"text",
|
|
5468
|
+
"gallery",
|
|
5469
|
+
"gallery-left"
|
|
5470
|
+
],
|
|
5471
|
+
"markdownDescription": "Controls how selected items are rendered.",
|
|
5472
|
+
"type": "string"
|
|
5422
5473
|
}
|
|
5423
5474
|
},
|
|
5424
5475
|
"type": "object"
|
|
@@ -5524,6 +5575,27 @@
|
|
|
5524
5575
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
5525
5576
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
5526
5577
|
},
|
|
5578
|
+
"picker_preview": {
|
|
5579
|
+
"$ref": "#/definitions/Preview",
|
|
5580
|
+
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
5581
|
+
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
5582
|
+
},
|
|
5583
|
+
"picker_view": {
|
|
5584
|
+
"description": "Controls how selectable options are rendered.",
|
|
5585
|
+
"enum": [
|
|
5586
|
+
"card",
|
|
5587
|
+
"text",
|
|
5588
|
+
"gallery",
|
|
5589
|
+
"gallery-left"
|
|
5590
|
+
],
|
|
5591
|
+
"markdownDescription": "Controls how selectable options are rendered.",
|
|
5592
|
+
"type": "string"
|
|
5593
|
+
},
|
|
5594
|
+
"preview": {
|
|
5595
|
+
"$ref": "#/definitions/Preview",
|
|
5596
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
5597
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
5598
|
+
},
|
|
5527
5599
|
"value_key": {
|
|
5528
5600
|
"description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
|
|
5529
5601
|
"markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
|
|
@@ -5533,6 +5605,17 @@
|
|
|
5533
5605
|
"$ref": "#/definitions/SelectValues",
|
|
5534
5606
|
"description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
|
|
5535
5607
|
"markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
|
|
5608
|
+
},
|
|
5609
|
+
"view": {
|
|
5610
|
+
"description": "Controls how selected items are rendered.",
|
|
5611
|
+
"enum": [
|
|
5612
|
+
"card",
|
|
5613
|
+
"text",
|
|
5614
|
+
"gallery",
|
|
5615
|
+
"gallery-left"
|
|
5616
|
+
],
|
|
5617
|
+
"markdownDescription": "Controls how selected items are rendered.",
|
|
5618
|
+
"type": "string"
|
|
5536
5619
|
}
|
|
5537
5620
|
},
|
|
5538
5621
|
"type": "object"
|
|
@@ -5815,9 +5898,9 @@
|
|
|
5815
5898
|
"type": "boolean"
|
|
5816
5899
|
},
|
|
5817
5900
|
"preview": {
|
|
5818
|
-
"$ref": "#/definitions/
|
|
5819
|
-
"description": "
|
|
5820
|
-
"markdownDescription": "
|
|
5901
|
+
"$ref": "#/definitions/Preview",
|
|
5902
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
5903
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
5821
5904
|
},
|
|
5822
5905
|
"structures": {
|
|
5823
5906
|
"anyOf": [
|
|
@@ -5844,32 +5927,6 @@
|
|
|
5844
5927
|
},
|
|
5845
5928
|
"type": "object"
|
|
5846
5929
|
},
|
|
5847
|
-
"ObjectPreview": {
|
|
5848
|
-
"additionalProperties": false,
|
|
5849
|
-
"properties": {
|
|
5850
|
-
"icon": {
|
|
5851
|
-
"$ref": "#/definitions/PreviewEntry",
|
|
5852
|
-
"description": "Controls the icon shown per item. Must result in a Material Icon name.",
|
|
5853
|
-
"markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
|
|
5854
|
-
},
|
|
5855
|
-
"image": {
|
|
5856
|
-
"$ref": "#/definitions/PreviewEntry",
|
|
5857
|
-
"description": "Controls the image shown per item.",
|
|
5858
|
-
"markdownDescription": "Controls the image shown per item."
|
|
5859
|
-
},
|
|
5860
|
-
"subtext": {
|
|
5861
|
-
"$ref": "#/definitions/PreviewEntry",
|
|
5862
|
-
"description": "Controls the supporting text shown per item.",
|
|
5863
|
-
"markdownDescription": "Controls the supporting text shown per item."
|
|
5864
|
-
},
|
|
5865
|
-
"text": {
|
|
5866
|
-
"$ref": "#/definitions/PreviewEntry",
|
|
5867
|
-
"description": "Controls the main text shown per item.",
|
|
5868
|
-
"markdownDescription": "Controls the main text shown per item."
|
|
5869
|
-
}
|
|
5870
|
-
},
|
|
5871
|
-
"type": "object"
|
|
5872
|
-
},
|
|
5873
5930
|
"Paths": {
|
|
5874
5931
|
"additionalProperties": false,
|
|
5875
5932
|
"properties": {
|
|
@@ -6753,6 +6810,27 @@
|
|
|
6753
6810
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
6754
6811
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
6755
6812
|
},
|
|
6813
|
+
"picker_preview": {
|
|
6814
|
+
"$ref": "#/definitions/Preview",
|
|
6815
|
+
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
6816
|
+
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
6817
|
+
},
|
|
6818
|
+
"picker_view": {
|
|
6819
|
+
"description": "Controls how selectable options are rendered.",
|
|
6820
|
+
"enum": [
|
|
6821
|
+
"card",
|
|
6822
|
+
"text",
|
|
6823
|
+
"gallery",
|
|
6824
|
+
"gallery-left"
|
|
6825
|
+
],
|
|
6826
|
+
"markdownDescription": "Controls how selectable options are rendered.",
|
|
6827
|
+
"type": "string"
|
|
6828
|
+
},
|
|
6829
|
+
"preview": {
|
|
6830
|
+
"$ref": "#/definitions/Preview",
|
|
6831
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
6832
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
6833
|
+
},
|
|
6756
6834
|
"value_key": {
|
|
6757
6835
|
"description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
|
|
6758
6836
|
"markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
|
|
@@ -6762,22 +6840,17 @@
|
|
|
6762
6840
|
"$ref": "#/definitions/SelectValues",
|
|
6763
6841
|
"description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
|
|
6764
6842
|
"markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
|
|
6765
|
-
}
|
|
6766
|
-
},
|
|
6767
|
-
"type": "object"
|
|
6768
|
-
},
|
|
6769
|
-
"SelectPreview": {
|
|
6770
|
-
"additionalProperties": false,
|
|
6771
|
-
"properties": {
|
|
6772
|
-
"icon": {
|
|
6773
|
-
"$ref": "#/definitions/PreviewEntry",
|
|
6774
|
-
"description": "Controls the icon shown per item. Must result in a Material Icon name.",
|
|
6775
|
-
"markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
|
|
6776
6843
|
},
|
|
6777
|
-
"
|
|
6778
|
-
"
|
|
6779
|
-
"
|
|
6780
|
-
|
|
6844
|
+
"view": {
|
|
6845
|
+
"description": "Controls how selected items are rendered.",
|
|
6846
|
+
"enum": [
|
|
6847
|
+
"card",
|
|
6848
|
+
"text",
|
|
6849
|
+
"gallery",
|
|
6850
|
+
"gallery-left"
|
|
6851
|
+
],
|
|
6852
|
+
"markdownDescription": "Controls how selected items are rendered.",
|
|
6853
|
+
"type": "string"
|
|
6781
6854
|
}
|
|
6782
6855
|
},
|
|
6783
6856
|
"type": "object"
|
|
@@ -7476,6 +7549,14 @@
|
|
|
7476
7549
|
"markdownDescription": "If set to true, this item will be considered the default type for this structure. If the type\nof a value within a structure cannot be inferred based on its id_key or matching fields, then\nit will fall back to this item. If multiple items have default set to true, only the first item\nwill be used.",
|
|
7477
7550
|
"type": "boolean"
|
|
7478
7551
|
},
|
|
7552
|
+
"groups": {
|
|
7553
|
+
"description": "Allows you to group the inputs inside this object together without changing the data structure.",
|
|
7554
|
+
"items": {
|
|
7555
|
+
"$ref": "#/definitions/ObjectInputGroup"
|
|
7556
|
+
},
|
|
7557
|
+
"markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure.",
|
|
7558
|
+
"type": "array"
|
|
7559
|
+
},
|
|
7479
7560
|
"hide_extra_inputs": {
|
|
7480
7561
|
"default": false,
|
|
7481
7562
|
"description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true.",
|
|
@@ -137,11 +137,6 @@
|
|
|
137
137
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
138
138
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
139
139
|
},
|
|
140
|
-
"preview": {
|
|
141
|
-
"$ref": "#/definitions/ObjectPreview",
|
|
142
|
-
"description": "The preview definition for changing the way data within an array input's items are previewed before being expanded. If the input has structures, the preview from the structure value is used instead.",
|
|
143
|
-
"markdownDescription": "The preview definition for changing the way data within an array input's items are previewed\nbefore being expanded. If the input has structures, the preview from the structure value is\nused instead."
|
|
144
|
-
},
|
|
145
140
|
"structures": {
|
|
146
141
|
"anyOf": [
|
|
147
142
|
{
|
|
@@ -675,10 +670,26 @@
|
|
|
675
670
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
676
671
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
677
672
|
},
|
|
673
|
+
"picker_preview": {
|
|
674
|
+
"$ref": "#/definitions/Preview",
|
|
675
|
+
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
676
|
+
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
677
|
+
},
|
|
678
|
+
"picker_view": {
|
|
679
|
+
"description": "Controls how selectable options are rendered.",
|
|
680
|
+
"enum": [
|
|
681
|
+
"card",
|
|
682
|
+
"text",
|
|
683
|
+
"gallery",
|
|
684
|
+
"gallery-left"
|
|
685
|
+
],
|
|
686
|
+
"markdownDescription": "Controls how selectable options are rendered.",
|
|
687
|
+
"type": "string"
|
|
688
|
+
},
|
|
678
689
|
"preview": {
|
|
679
|
-
"$ref": "#/definitions/
|
|
680
|
-
"description": "
|
|
681
|
-
"markdownDescription": "
|
|
690
|
+
"$ref": "#/definitions/Preview",
|
|
691
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
692
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
682
693
|
},
|
|
683
694
|
"value_key": {
|
|
684
695
|
"description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
|
|
@@ -689,6 +700,17 @@
|
|
|
689
700
|
"$ref": "#/definitions/SelectValues",
|
|
690
701
|
"description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
|
|
691
702
|
"markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
|
|
703
|
+
},
|
|
704
|
+
"view": {
|
|
705
|
+
"description": "Controls how selected items are rendered.",
|
|
706
|
+
"enum": [
|
|
707
|
+
"card",
|
|
708
|
+
"text",
|
|
709
|
+
"gallery",
|
|
710
|
+
"gallery-left"
|
|
711
|
+
],
|
|
712
|
+
"markdownDescription": "Controls how selected items are rendered.",
|
|
713
|
+
"type": "string"
|
|
692
714
|
}
|
|
693
715
|
},
|
|
694
716
|
"type": "object"
|
|
@@ -1034,9 +1056,6 @@
|
|
|
1034
1056
|
"type": "string"
|
|
1035
1057
|
}
|
|
1036
1058
|
},
|
|
1037
|
-
"required": [
|
|
1038
|
-
"path"
|
|
1039
|
-
],
|
|
1040
1059
|
"type": "object"
|
|
1041
1060
|
},
|
|
1042
1061
|
"DateInput": {
|
|
@@ -1594,7 +1613,7 @@
|
|
|
1594
1613
|
},
|
|
1595
1614
|
"disable_url": {
|
|
1596
1615
|
"description": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
1597
|
-
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the\
|
|
1616
|
+
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual\nEditor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
1598
1617
|
"type": "boolean"
|
|
1599
1618
|
},
|
|
1600
1619
|
"documentation": {
|
|
@@ -1634,6 +1653,11 @@
|
|
|
1634
1653
|
"description": "Sets an icon to use alongside references to this collection.",
|
|
1635
1654
|
"markdownDescription": "Sets an icon to use alongside references to this collection."
|
|
1636
1655
|
},
|
|
1656
|
+
"include_developer_files": {
|
|
1657
|
+
"description": "If set, includes files usually reserved for your SSG and developer tooling as part of this collection. These files can then be filtered with `glob`.",
|
|
1658
|
+
"markdownDescription": "If set, includes files usually reserved for your SSG and developer tooling as part of this\ncollection. These files can then be filtered with `glob`.",
|
|
1659
|
+
"type": "boolean"
|
|
1660
|
+
},
|
|
1637
1661
|
"name": {
|
|
1638
1662
|
"description": "The display name of this collection. Used in headings and in the context menu for items in the collection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
1639
1663
|
"markdownDescription": "The display name of this collection. Used in headings and in the context menu for items in the\ncollection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
@@ -5407,10 +5431,26 @@
|
|
|
5407
5431
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
5408
5432
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
5409
5433
|
},
|
|
5434
|
+
"picker_preview": {
|
|
5435
|
+
"$ref": "#/definitions/Preview",
|
|
5436
|
+
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
5437
|
+
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
5438
|
+
},
|
|
5439
|
+
"picker_view": {
|
|
5440
|
+
"description": "Controls how selectable options are rendered.",
|
|
5441
|
+
"enum": [
|
|
5442
|
+
"card",
|
|
5443
|
+
"text",
|
|
5444
|
+
"gallery",
|
|
5445
|
+
"gallery-left"
|
|
5446
|
+
],
|
|
5447
|
+
"markdownDescription": "Controls how selectable options are rendered.",
|
|
5448
|
+
"type": "string"
|
|
5449
|
+
},
|
|
5410
5450
|
"preview": {
|
|
5411
|
-
"$ref": "#/definitions/
|
|
5412
|
-
"description": "
|
|
5413
|
-
"markdownDescription": "
|
|
5451
|
+
"$ref": "#/definitions/Preview",
|
|
5452
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
5453
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
5414
5454
|
},
|
|
5415
5455
|
"value_key": {
|
|
5416
5456
|
"description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
|
|
@@ -5421,6 +5461,17 @@
|
|
|
5421
5461
|
"$ref": "#/definitions/SelectValues",
|
|
5422
5462
|
"description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
|
|
5423
5463
|
"markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
|
|
5464
|
+
},
|
|
5465
|
+
"view": {
|
|
5466
|
+
"description": "Controls how selected items are rendered.",
|
|
5467
|
+
"enum": [
|
|
5468
|
+
"card",
|
|
5469
|
+
"text",
|
|
5470
|
+
"gallery",
|
|
5471
|
+
"gallery-left"
|
|
5472
|
+
],
|
|
5473
|
+
"markdownDescription": "Controls how selected items are rendered.",
|
|
5474
|
+
"type": "string"
|
|
5424
5475
|
}
|
|
5425
5476
|
},
|
|
5426
5477
|
"type": "object"
|
|
@@ -5526,6 +5577,27 @@
|
|
|
5526
5577
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
5527
5578
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
5528
5579
|
},
|
|
5580
|
+
"picker_preview": {
|
|
5581
|
+
"$ref": "#/definitions/Preview",
|
|
5582
|
+
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
5583
|
+
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
5584
|
+
},
|
|
5585
|
+
"picker_view": {
|
|
5586
|
+
"description": "Controls how selectable options are rendered.",
|
|
5587
|
+
"enum": [
|
|
5588
|
+
"card",
|
|
5589
|
+
"text",
|
|
5590
|
+
"gallery",
|
|
5591
|
+
"gallery-left"
|
|
5592
|
+
],
|
|
5593
|
+
"markdownDescription": "Controls how selectable options are rendered.",
|
|
5594
|
+
"type": "string"
|
|
5595
|
+
},
|
|
5596
|
+
"preview": {
|
|
5597
|
+
"$ref": "#/definitions/Preview",
|
|
5598
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
5599
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
5600
|
+
},
|
|
5529
5601
|
"value_key": {
|
|
5530
5602
|
"description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
|
|
5531
5603
|
"markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
|
|
@@ -5535,6 +5607,17 @@
|
|
|
5535
5607
|
"$ref": "#/definitions/SelectValues",
|
|
5536
5608
|
"description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
|
|
5537
5609
|
"markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
|
|
5610
|
+
},
|
|
5611
|
+
"view": {
|
|
5612
|
+
"description": "Controls how selected items are rendered.",
|
|
5613
|
+
"enum": [
|
|
5614
|
+
"card",
|
|
5615
|
+
"text",
|
|
5616
|
+
"gallery",
|
|
5617
|
+
"gallery-left"
|
|
5618
|
+
],
|
|
5619
|
+
"markdownDescription": "Controls how selected items are rendered.",
|
|
5620
|
+
"type": "string"
|
|
5538
5621
|
}
|
|
5539
5622
|
},
|
|
5540
5623
|
"type": "object"
|
|
@@ -5817,9 +5900,9 @@
|
|
|
5817
5900
|
"type": "boolean"
|
|
5818
5901
|
},
|
|
5819
5902
|
"preview": {
|
|
5820
|
-
"$ref": "#/definitions/
|
|
5821
|
-
"description": "
|
|
5822
|
-
"markdownDescription": "
|
|
5903
|
+
"$ref": "#/definitions/Preview",
|
|
5904
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
5905
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
5823
5906
|
},
|
|
5824
5907
|
"structures": {
|
|
5825
5908
|
"anyOf": [
|
|
@@ -5846,32 +5929,6 @@
|
|
|
5846
5929
|
},
|
|
5847
5930
|
"type": "object"
|
|
5848
5931
|
},
|
|
5849
|
-
"ObjectPreview": {
|
|
5850
|
-
"additionalProperties": false,
|
|
5851
|
-
"properties": {
|
|
5852
|
-
"icon": {
|
|
5853
|
-
"$ref": "#/definitions/PreviewEntry",
|
|
5854
|
-
"description": "Controls the icon shown per item. Must result in a Material Icon name.",
|
|
5855
|
-
"markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
|
|
5856
|
-
},
|
|
5857
|
-
"image": {
|
|
5858
|
-
"$ref": "#/definitions/PreviewEntry",
|
|
5859
|
-
"description": "Controls the image shown per item.",
|
|
5860
|
-
"markdownDescription": "Controls the image shown per item."
|
|
5861
|
-
},
|
|
5862
|
-
"subtext": {
|
|
5863
|
-
"$ref": "#/definitions/PreviewEntry",
|
|
5864
|
-
"description": "Controls the supporting text shown per item.",
|
|
5865
|
-
"markdownDescription": "Controls the supporting text shown per item."
|
|
5866
|
-
},
|
|
5867
|
-
"text": {
|
|
5868
|
-
"$ref": "#/definitions/PreviewEntry",
|
|
5869
|
-
"description": "Controls the main text shown per item.",
|
|
5870
|
-
"markdownDescription": "Controls the main text shown per item."
|
|
5871
|
-
}
|
|
5872
|
-
},
|
|
5873
|
-
"type": "object"
|
|
5874
|
-
},
|
|
5875
5932
|
"Paths": {
|
|
5876
5933
|
"additionalProperties": false,
|
|
5877
5934
|
"properties": {
|
|
@@ -6755,6 +6812,27 @@
|
|
|
6755
6812
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
6756
6813
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
6757
6814
|
},
|
|
6815
|
+
"picker_preview": {
|
|
6816
|
+
"$ref": "#/definitions/Preview",
|
|
6817
|
+
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
6818
|
+
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
6819
|
+
},
|
|
6820
|
+
"picker_view": {
|
|
6821
|
+
"description": "Controls how selectable options are rendered.",
|
|
6822
|
+
"enum": [
|
|
6823
|
+
"card",
|
|
6824
|
+
"text",
|
|
6825
|
+
"gallery",
|
|
6826
|
+
"gallery-left"
|
|
6827
|
+
],
|
|
6828
|
+
"markdownDescription": "Controls how selectable options are rendered.",
|
|
6829
|
+
"type": "string"
|
|
6830
|
+
},
|
|
6831
|
+
"preview": {
|
|
6832
|
+
"$ref": "#/definitions/Preview",
|
|
6833
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
6834
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
6835
|
+
},
|
|
6758
6836
|
"value_key": {
|
|
6759
6837
|
"description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
|
|
6760
6838
|
"markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
|
|
@@ -6764,22 +6842,17 @@
|
|
|
6764
6842
|
"$ref": "#/definitions/SelectValues",
|
|
6765
6843
|
"description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
|
|
6766
6844
|
"markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
|
|
6767
|
-
}
|
|
6768
|
-
},
|
|
6769
|
-
"type": "object"
|
|
6770
|
-
},
|
|
6771
|
-
"SelectPreview": {
|
|
6772
|
-
"additionalProperties": false,
|
|
6773
|
-
"properties": {
|
|
6774
|
-
"icon": {
|
|
6775
|
-
"$ref": "#/definitions/PreviewEntry",
|
|
6776
|
-
"description": "Controls the icon shown per item. Must result in a Material Icon name.",
|
|
6777
|
-
"markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
|
|
6778
6845
|
},
|
|
6779
|
-
"
|
|
6780
|
-
"
|
|
6781
|
-
"
|
|
6782
|
-
|
|
6846
|
+
"view": {
|
|
6847
|
+
"description": "Controls how selected items are rendered.",
|
|
6848
|
+
"enum": [
|
|
6849
|
+
"card",
|
|
6850
|
+
"text",
|
|
6851
|
+
"gallery",
|
|
6852
|
+
"gallery-left"
|
|
6853
|
+
],
|
|
6854
|
+
"markdownDescription": "Controls how selected items are rendered.",
|
|
6855
|
+
"type": "string"
|
|
6783
6856
|
}
|
|
6784
6857
|
},
|
|
6785
6858
|
"type": "object"
|
|
@@ -7478,6 +7551,14 @@
|
|
|
7478
7551
|
"markdownDescription": "If set to true, this item will be considered the default type for this structure. If the type\nof a value within a structure cannot be inferred based on its id_key or matching fields, then\nit will fall back to this item. If multiple items have default set to true, only the first item\nwill be used.",
|
|
7479
7552
|
"type": "boolean"
|
|
7480
7553
|
},
|
|
7554
|
+
"groups": {
|
|
7555
|
+
"description": "Allows you to group the inputs inside this object together without changing the data structure.",
|
|
7556
|
+
"items": {
|
|
7557
|
+
"$ref": "#/definitions/ObjectInputGroup"
|
|
7558
|
+
},
|
|
7559
|
+
"markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure.",
|
|
7560
|
+
"type": "array"
|
|
7561
|
+
},
|
|
7481
7562
|
"hide_extra_inputs": {
|
|
7482
7563
|
"default": false,
|
|
7483
7564
|
"description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true.",
|