@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.
@@ -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\nVisual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
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/SelectPreview",
880
- "description": "The preview definition for changing the way selected and available options are displayed.",
881
- "markdownDescription": "The preview definition for changing the way selected and available options are displayed."
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": {
@@ -5400,10 +5424,26 @@
5400
5424
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5401
5425
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
5402
5426
  },
5427
+ "picker_preview": {
5428
+ "$ref": "#/definitions/Preview",
5429
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
5430
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
5431
+ },
5432
+ "picker_view": {
5433
+ "description": "Controls how selectable options are rendered.",
5434
+ "enum": [
5435
+ "card",
5436
+ "text",
5437
+ "gallery",
5438
+ "gallery-left"
5439
+ ],
5440
+ "markdownDescription": "Controls how selectable options are rendered.",
5441
+ "type": "string"
5442
+ },
5403
5443
  "preview": {
5404
- "$ref": "#/definitions/SelectPreview",
5405
- "description": "The preview definition for changing the way selected and available options are displayed.",
5406
- "markdownDescription": "The preview definition for changing the way selected and available options are displayed."
5444
+ "$ref": "#/definitions/Preview",
5445
+ "description": "Changes the way items are previewed in the CMS.",
5446
+ "markdownDescription": "Changes the way items are previewed in the CMS."
5407
5447
  },
5408
5448
  "value_key": {
5409
5449
  "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.",
@@ -5414,6 +5454,17 @@
5414
5454
  "$ref": "#/definitions/SelectValues",
5415
5455
  "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).",
5416
5456
  "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)."
5457
+ },
5458
+ "view": {
5459
+ "description": "Controls how selected items are rendered.",
5460
+ "enum": [
5461
+ "card",
5462
+ "text",
5463
+ "gallery",
5464
+ "gallery-left"
5465
+ ],
5466
+ "markdownDescription": "Controls how selected items are rendered.",
5467
+ "type": "string"
5417
5468
  }
5418
5469
  },
5419
5470
  "type": "object"
@@ -5519,6 +5570,27 @@
5519
5570
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5520
5571
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
5521
5572
  },
5573
+ "picker_preview": {
5574
+ "$ref": "#/definitions/Preview",
5575
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
5576
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
5577
+ },
5578
+ "picker_view": {
5579
+ "description": "Controls how selectable options are rendered.",
5580
+ "enum": [
5581
+ "card",
5582
+ "text",
5583
+ "gallery",
5584
+ "gallery-left"
5585
+ ],
5586
+ "markdownDescription": "Controls how selectable options are rendered.",
5587
+ "type": "string"
5588
+ },
5589
+ "preview": {
5590
+ "$ref": "#/definitions/Preview",
5591
+ "description": "Changes the way items are previewed in the CMS.",
5592
+ "markdownDescription": "Changes the way items are previewed in the CMS."
5593
+ },
5522
5594
  "value_key": {
5523
5595
  "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.",
5524
5596
  "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.",
@@ -5528,6 +5600,17 @@
5528
5600
  "$ref": "#/definitions/SelectValues",
5529
5601
  "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).",
5530
5602
  "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)."
5603
+ },
5604
+ "view": {
5605
+ "description": "Controls how selected items are rendered.",
5606
+ "enum": [
5607
+ "card",
5608
+ "text",
5609
+ "gallery",
5610
+ "gallery-left"
5611
+ ],
5612
+ "markdownDescription": "Controls how selected items are rendered.",
5613
+ "type": "string"
5531
5614
  }
5532
5615
  },
5533
5616
  "type": "object"
@@ -5810,9 +5893,9 @@
5810
5893
  "type": "boolean"
5811
5894
  },
5812
5895
  "preview": {
5813
- "$ref": "#/definitions/ObjectPreview",
5814
- "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.",
5815
- "markdownDescription": "The preview definition for changing the way data within an object input is previewed before\nbeing expanded. If the input has `structures`, the preview from the structure value is used\ninstead."
5896
+ "$ref": "#/definitions/Preview",
5897
+ "description": "Changes the way items are previewed in the CMS.",
5898
+ "markdownDescription": "Changes the way items are previewed in the CMS."
5816
5899
  },
5817
5900
  "structures": {
5818
5901
  "anyOf": [
@@ -5839,32 +5922,6 @@
5839
5922
  },
5840
5923
  "type": "object"
5841
5924
  },
5842
- "ObjectPreview": {
5843
- "additionalProperties": false,
5844
- "properties": {
5845
- "icon": {
5846
- "$ref": "#/definitions/PreviewEntry",
5847
- "description": "Controls the icon shown per item. Must result in a Material Icon name.",
5848
- "markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
5849
- },
5850
- "image": {
5851
- "$ref": "#/definitions/PreviewEntry",
5852
- "description": "Controls the image shown per item.",
5853
- "markdownDescription": "Controls the image shown per item."
5854
- },
5855
- "subtext": {
5856
- "$ref": "#/definitions/PreviewEntry",
5857
- "description": "Controls the supporting text shown per item.",
5858
- "markdownDescription": "Controls the supporting text shown per item."
5859
- },
5860
- "text": {
5861
- "$ref": "#/definitions/PreviewEntry",
5862
- "description": "Controls the main text shown per item.",
5863
- "markdownDescription": "Controls the main text shown per item."
5864
- }
5865
- },
5866
- "type": "object"
5867
- },
5868
5925
  "Paths": {
5869
5926
  "additionalProperties": false,
5870
5927
  "properties": {
@@ -6748,6 +6805,27 @@
6748
6805
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
6749
6806
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
6750
6807
  },
6808
+ "picker_preview": {
6809
+ "$ref": "#/definitions/Preview",
6810
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
6811
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
6812
+ },
6813
+ "picker_view": {
6814
+ "description": "Controls how selectable options are rendered.",
6815
+ "enum": [
6816
+ "card",
6817
+ "text",
6818
+ "gallery",
6819
+ "gallery-left"
6820
+ ],
6821
+ "markdownDescription": "Controls how selectable options are rendered.",
6822
+ "type": "string"
6823
+ },
6824
+ "preview": {
6825
+ "$ref": "#/definitions/Preview",
6826
+ "description": "Changes the way items are previewed in the CMS.",
6827
+ "markdownDescription": "Changes the way items are previewed in the CMS."
6828
+ },
6751
6829
  "value_key": {
6752
6830
  "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.",
6753
6831
  "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.",
@@ -6757,22 +6835,17 @@
6757
6835
  "$ref": "#/definitions/SelectValues",
6758
6836
  "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).",
6759
6837
  "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)."
6760
- }
6761
- },
6762
- "type": "object"
6763
- },
6764
- "SelectPreview": {
6765
- "additionalProperties": false,
6766
- "properties": {
6767
- "icon": {
6768
- "$ref": "#/definitions/PreviewEntry",
6769
- "description": "Controls the icon shown per item. Must result in a Material Icon name.",
6770
- "markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
6771
6838
  },
6772
- "text": {
6773
- "$ref": "#/definitions/PreviewEntry",
6774
- "description": "Controls the main text shown per item.",
6775
- "markdownDescription": "Controls the main text shown per item."
6839
+ "view": {
6840
+ "description": "Controls how selected items are rendered.",
6841
+ "enum": [
6842
+ "card",
6843
+ "text",
6844
+ "gallery",
6845
+ "gallery-left"
6846
+ ],
6847
+ "markdownDescription": "Controls how selected items are rendered.",
6848
+ "type": "string"
6776
6849
  }
6777
6850
  },
6778
6851
  "type": "object"
@@ -7471,6 +7544,14 @@
7471
7544
  "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.",
7472
7545
  "type": "boolean"
7473
7546
  },
7547
+ "groups": {
7548
+ "description": "Allows you to group the inputs inside this object together without changing the data structure.",
7549
+ "items": {
7550
+ "$ref": "#/definitions/ObjectInputGroup"
7551
+ },
7552
+ "markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure.",
7553
+ "type": "array"
7554
+ },
7474
7555
  "hide_extra_inputs": {
7475
7556
  "default": false,
7476
7557
  "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/SelectPreview",
680
- "description": "The preview definition for changing the way selected and available options are displayed.",
681
- "markdownDescription": "The preview definition for changing the way selected and available options are displayed."
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": {
@@ -5021,10 +5040,26 @@
5021
5040
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5022
5041
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
5023
5042
  },
5043
+ "picker_preview": {
5044
+ "$ref": "#/definitions/Preview",
5045
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
5046
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
5047
+ },
5048
+ "picker_view": {
5049
+ "description": "Controls how selectable options are rendered.",
5050
+ "enum": [
5051
+ "card",
5052
+ "text",
5053
+ "gallery",
5054
+ "gallery-left"
5055
+ ],
5056
+ "markdownDescription": "Controls how selectable options are rendered.",
5057
+ "type": "string"
5058
+ },
5024
5059
  "preview": {
5025
- "$ref": "#/definitions/SelectPreview",
5026
- "description": "The preview definition for changing the way selected and available options are displayed.",
5027
- "markdownDescription": "The preview definition for changing the way selected and available options are displayed."
5060
+ "$ref": "#/definitions/Preview",
5061
+ "description": "Changes the way items are previewed in the CMS.",
5062
+ "markdownDescription": "Changes the way items are previewed in the CMS."
5028
5063
  },
5029
5064
  "value_key": {
5030
5065
  "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.",
@@ -5035,6 +5070,17 @@
5035
5070
  "$ref": "#/definitions/SelectValues",
5036
5071
  "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).",
5037
5072
  "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)."
5073
+ },
5074
+ "view": {
5075
+ "description": "Controls how selected items are rendered.",
5076
+ "enum": [
5077
+ "card",
5078
+ "text",
5079
+ "gallery",
5080
+ "gallery-left"
5081
+ ],
5082
+ "markdownDescription": "Controls how selected items are rendered.",
5083
+ "type": "string"
5038
5084
  }
5039
5085
  },
5040
5086
  "type": "object"
@@ -5140,6 +5186,27 @@
5140
5186
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5141
5187
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
5142
5188
  },
5189
+ "picker_preview": {
5190
+ "$ref": "#/definitions/Preview",
5191
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
5192
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
5193
+ },
5194
+ "picker_view": {
5195
+ "description": "Controls how selectable options are rendered.",
5196
+ "enum": [
5197
+ "card",
5198
+ "text",
5199
+ "gallery",
5200
+ "gallery-left"
5201
+ ],
5202
+ "markdownDescription": "Controls how selectable options are rendered.",
5203
+ "type": "string"
5204
+ },
5205
+ "preview": {
5206
+ "$ref": "#/definitions/Preview",
5207
+ "description": "Changes the way items are previewed in the CMS.",
5208
+ "markdownDescription": "Changes the way items are previewed in the CMS."
5209
+ },
5143
5210
  "value_key": {
5144
5211
  "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.",
5145
5212
  "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.",
@@ -5149,6 +5216,17 @@
5149
5216
  "$ref": "#/definitions/SelectValues",
5150
5217
  "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).",
5151
5218
  "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)."
5219
+ },
5220
+ "view": {
5221
+ "description": "Controls how selected items are rendered.",
5222
+ "enum": [
5223
+ "card",
5224
+ "text",
5225
+ "gallery",
5226
+ "gallery-left"
5227
+ ],
5228
+ "markdownDescription": "Controls how selected items are rendered.",
5229
+ "type": "string"
5152
5230
  }
5153
5231
  },
5154
5232
  "type": "object"
@@ -5431,9 +5509,9 @@
5431
5509
  "type": "boolean"
5432
5510
  },
5433
5511
  "preview": {
5434
- "$ref": "#/definitions/ObjectPreview",
5435
- "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.",
5436
- "markdownDescription": "The preview definition for changing the way data within an object input is previewed before\nbeing expanded. If the input has `structures`, the preview from the structure value is used\ninstead."
5512
+ "$ref": "#/definitions/Preview",
5513
+ "description": "Changes the way items are previewed in the CMS.",
5514
+ "markdownDescription": "Changes the way items are previewed in the CMS."
5437
5515
  },
5438
5516
  "structures": {
5439
5517
  "anyOf": [
@@ -5460,32 +5538,6 @@
5460
5538
  },
5461
5539
  "type": "object"
5462
5540
  },
5463
- "ObjectPreview": {
5464
- "additionalProperties": false,
5465
- "properties": {
5466
- "icon": {
5467
- "$ref": "#/definitions/PreviewEntry",
5468
- "description": "Controls the icon shown per item. Must result in a Material Icon name.",
5469
- "markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
5470
- },
5471
- "image": {
5472
- "$ref": "#/definitions/PreviewEntry",
5473
- "description": "Controls the image shown per item.",
5474
- "markdownDescription": "Controls the image shown per item."
5475
- },
5476
- "subtext": {
5477
- "$ref": "#/definitions/PreviewEntry",
5478
- "description": "Controls the supporting text shown per item.",
5479
- "markdownDescription": "Controls the supporting text shown per item."
5480
- },
5481
- "text": {
5482
- "$ref": "#/definitions/PreviewEntry",
5483
- "description": "Controls the main text shown per item.",
5484
- "markdownDescription": "Controls the main text shown per item."
5485
- }
5486
- },
5487
- "type": "object"
5488
- },
5489
5541
  "Paths": {
5490
5542
  "additionalProperties": false,
5491
5543
  "properties": {
@@ -5892,7 +5944,7 @@
5892
5944
  },
5893
5945
  "disable_url": {
5894
5946
  "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.",
5895
- "markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the\nVisual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
5947
+ "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.",
5896
5948
  "type": "boolean"
5897
5949
  },
5898
5950
  "documentation": {
@@ -5932,6 +5984,11 @@
5932
5984
  "description": "Sets an icon to use alongside references to this collection.",
5933
5985
  "markdownDescription": "Sets an icon to use alongside references to this collection."
5934
5986
  },
5987
+ "include_developer_files": {
5988
+ "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`.",
5989
+ "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`.",
5990
+ "type": "boolean"
5991
+ },
5935
5992
  "name": {
5936
5993
  "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.",
5937
5994
  "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.",
@@ -6794,6 +6851,27 @@
6794
6851
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
6795
6852
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
6796
6853
  },
6854
+ "picker_preview": {
6855
+ "$ref": "#/definitions/Preview",
6856
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
6857
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
6858
+ },
6859
+ "picker_view": {
6860
+ "description": "Controls how selectable options are rendered.",
6861
+ "enum": [
6862
+ "card",
6863
+ "text",
6864
+ "gallery",
6865
+ "gallery-left"
6866
+ ],
6867
+ "markdownDescription": "Controls how selectable options are rendered.",
6868
+ "type": "string"
6869
+ },
6870
+ "preview": {
6871
+ "$ref": "#/definitions/Preview",
6872
+ "description": "Changes the way items are previewed in the CMS.",
6873
+ "markdownDescription": "Changes the way items are previewed in the CMS."
6874
+ },
6797
6875
  "value_key": {
6798
6876
  "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.",
6799
6877
  "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.",
@@ -6803,22 +6881,17 @@
6803
6881
  "$ref": "#/definitions/SelectValues",
6804
6882
  "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).",
6805
6883
  "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)."
6806
- }
6807
- },
6808
- "type": "object"
6809
- },
6810
- "SelectPreview": {
6811
- "additionalProperties": false,
6812
- "properties": {
6813
- "icon": {
6814
- "$ref": "#/definitions/PreviewEntry",
6815
- "description": "Controls the icon shown per item. Must result in a Material Icon name.",
6816
- "markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
6817
6884
  },
6818
- "text": {
6819
- "$ref": "#/definitions/PreviewEntry",
6820
- "description": "Controls the main text shown per item.",
6821
- "markdownDescription": "Controls the main text shown per item."
6885
+ "view": {
6886
+ "description": "Controls how selected items are rendered.",
6887
+ "enum": [
6888
+ "card",
6889
+ "text",
6890
+ "gallery",
6891
+ "gallery-left"
6892
+ ],
6893
+ "markdownDescription": "Controls how selected items are rendered.",
6894
+ "type": "string"
6822
6895
  }
6823
6896
  },
6824
6897
  "type": "object"
@@ -7517,6 +7590,14 @@
7517
7590
  "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.",
7518
7591
  "type": "boolean"
7519
7592
  },
7593
+ "groups": {
7594
+ "description": "Allows you to group the inputs inside this object together without changing the data structure.",
7595
+ "items": {
7596
+ "$ref": "#/definitions/ObjectInputGroup"
7597
+ },
7598
+ "markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure.",
7599
+ "type": "array"
7600
+ },
7520
7601
  "hide_extra_inputs": {
7521
7602
  "default": false,
7522
7603
  "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true.",