@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.",
|
|
@@ -3517,27 +3519,28 @@
|
|
|
3517
3519
|
"type": "string"
|
|
3518
3520
|
},
|
|
3519
3521
|
"sizes": {
|
|
3520
|
-
"additionalProperties": false,
|
|
3521
3522
|
"description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
|
|
3522
|
-
"
|
|
3523
|
-
|
|
3524
|
-
"
|
|
3525
|
-
"
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3523
|
+
"items": {
|
|
3524
|
+
"additionalProperties": false,
|
|
3525
|
+
"properties": {
|
|
3526
|
+
"size": {
|
|
3527
|
+
"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).",
|
|
3528
|
+
"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).",
|
|
3529
|
+
"type": "string"
|
|
3530
|
+
},
|
|
3531
|
+
"target": {
|
|
3532
|
+
"description": "A reference to another input that is given the path to this additional image file.",
|
|
3533
|
+
"markdownDescription": "A reference to another input that is given the path to this additional image file.",
|
|
3534
|
+
"type": "string"
|
|
3535
|
+
}
|
|
3529
3536
|
},
|
|
3530
|
-
"
|
|
3531
|
-
"
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
"type": "string"
|
|
3535
|
-
}
|
|
3537
|
+
"required": [
|
|
3538
|
+
"size"
|
|
3539
|
+
],
|
|
3540
|
+
"type": "object"
|
|
3536
3541
|
},
|
|
3537
|
-
"
|
|
3538
|
-
|
|
3539
|
-
],
|
|
3540
|
-
"type": "object"
|
|
3542
|
+
"markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
|
|
3543
|
+
"type": "array"
|
|
3541
3544
|
},
|
|
3542
3545
|
"width": {
|
|
3543
3546
|
"description": "Defines the width of the bounding box used in the image resizing process defined with resize_style.",
|
|
@@ -3620,8 +3623,6 @@
|
|
|
3620
3623
|
},
|
|
3621
3624
|
"type": {
|
|
3622
3625
|
"const": "image",
|
|
3623
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
3624
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
3625
3626
|
"type": "string"
|
|
3626
3627
|
}
|
|
3627
3628
|
},
|
|
@@ -3718,27 +3719,28 @@
|
|
|
3718
3719
|
"type": "string"
|
|
3719
3720
|
},
|
|
3720
3721
|
"sizes": {
|
|
3721
|
-
"additionalProperties": false,
|
|
3722
3722
|
"description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
|
|
3723
|
-
"
|
|
3724
|
-
|
|
3725
|
-
"
|
|
3726
|
-
"
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3723
|
+
"items": {
|
|
3724
|
+
"additionalProperties": false,
|
|
3725
|
+
"properties": {
|
|
3726
|
+
"size": {
|
|
3727
|
+
"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).",
|
|
3728
|
+
"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).",
|
|
3729
|
+
"type": "string"
|
|
3730
|
+
},
|
|
3731
|
+
"target": {
|
|
3732
|
+
"description": "A reference to another input that is given the path to this additional image file.",
|
|
3733
|
+
"markdownDescription": "A reference to another input that is given the path to this additional image file.",
|
|
3734
|
+
"type": "string"
|
|
3735
|
+
}
|
|
3730
3736
|
},
|
|
3731
|
-
"
|
|
3732
|
-
"
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
"type": "string"
|
|
3736
|
-
}
|
|
3737
|
+
"required": [
|
|
3738
|
+
"size"
|
|
3739
|
+
],
|
|
3740
|
+
"type": "object"
|
|
3737
3741
|
},
|
|
3738
|
-
"
|
|
3739
|
-
|
|
3740
|
-
],
|
|
3741
|
-
"type": "object"
|
|
3742
|
+
"markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
|
|
3743
|
+
"type": "array"
|
|
3742
3744
|
},
|
|
3743
3745
|
"width": {
|
|
3744
3746
|
"description": "Defines the width of the bounding box used in the image resizing process defined with resize_style.",
|
|
@@ -3753,6 +3755,9 @@
|
|
|
3753
3755
|
{
|
|
3754
3756
|
"$ref": "#/definitions/BaseInput"
|
|
3755
3757
|
},
|
|
3758
|
+
{
|
|
3759
|
+
"$ref": "#/definitions/UnknownInput"
|
|
3760
|
+
},
|
|
3756
3761
|
{
|
|
3757
3762
|
"$ref": "#/definitions/TextInput"
|
|
3758
3763
|
},
|
|
@@ -3902,82 +3907,7 @@
|
|
|
3902
3907
|
},
|
|
3903
3908
|
"_snippets": {
|
|
3904
3909
|
"additionalProperties": {
|
|
3905
|
-
"
|
|
3906
|
-
"properties": {
|
|
3907
|
-
"_inputs": {
|
|
3908
|
-
"additionalProperties": {
|
|
3909
|
-
"$ref": "#/definitions/Input"
|
|
3910
|
-
},
|
|
3911
|
-
"description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
3912
|
-
"markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
3913
|
-
"type": "object"
|
|
3914
|
-
},
|
|
3915
|
-
"_select_data": {
|
|
3916
|
-
"additionalProperties": {
|
|
3917
|
-
"$ref": "#/definitions/SelectValues"
|
|
3918
|
-
},
|
|
3919
|
-
"description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
|
|
3920
|
-
"markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
|
|
3921
|
-
"type": "object"
|
|
3922
|
-
},
|
|
3923
|
-
"_structures": {
|
|
3924
|
-
"additionalProperties": {
|
|
3925
|
-
"$ref": "#/definitions/Structure"
|
|
3926
|
-
},
|
|
3927
|
-
"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.",
|
|
3928
|
-
"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.",
|
|
3929
|
-
"type": "object"
|
|
3930
|
-
},
|
|
3931
|
-
"alternate_formats": {
|
|
3932
|
-
"description": "Alternate configurations for this snippet.",
|
|
3933
|
-
"items": {
|
|
3934
|
-
"$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
|
|
3935
|
-
},
|
|
3936
|
-
"markdownDescription": "Alternate configurations for this snippet.",
|
|
3937
|
-
"type": "array"
|
|
3938
|
-
},
|
|
3939
|
-
"definitions": {
|
|
3940
|
-
"description": "The variables required for the selected template.",
|
|
3941
|
-
"markdownDescription": "The variables required for the selected template.",
|
|
3942
|
-
"type": "object"
|
|
3943
|
-
},
|
|
3944
|
-
"inline": {
|
|
3945
|
-
"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.",
|
|
3946
|
-
"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.",
|
|
3947
|
-
"type": "boolean"
|
|
3948
|
-
},
|
|
3949
|
-
"params": {
|
|
3950
|
-
"description": "The parameters of this snippet.",
|
|
3951
|
-
"markdownDescription": "The parameters of this snippet.",
|
|
3952
|
-
"type": "object"
|
|
3953
|
-
},
|
|
3954
|
-
"picker_preview": {
|
|
3955
|
-
"$ref": "#/definitions/Preview",
|
|
3956
|
-
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
3957
|
-
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
3958
|
-
},
|
|
3959
|
-
"preview": {
|
|
3960
|
-
"$ref": "#/definitions/Preview",
|
|
3961
|
-
"description": "Changes the way items are previewed in the CMS.",
|
|
3962
|
-
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
3963
|
-
},
|
|
3964
|
-
"snippet": {
|
|
3965
|
-
"description": "Name of the snippet.",
|
|
3966
|
-
"markdownDescription": "Name of the snippet.",
|
|
3967
|
-
"type": "string"
|
|
3968
|
-
},
|
|
3969
|
-
"strict_whitespace": {
|
|
3970
|
-
"description": "Whether this snippet treats whitespace as-is or not.",
|
|
3971
|
-
"markdownDescription": "Whether this snippet treats whitespace as-is or not.",
|
|
3972
|
-
"type": "boolean"
|
|
3973
|
-
},
|
|
3974
|
-
"template": {
|
|
3975
|
-
"description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
3976
|
-
"markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
3977
|
-
"type": "string"
|
|
3978
|
-
}
|
|
3979
|
-
},
|
|
3980
|
-
"type": "object"
|
|
3910
|
+
"$ref": "#/definitions/SnippetConfig"
|
|
3981
3911
|
},
|
|
3982
3912
|
"description": "Configuration for custom snippets.",
|
|
3983
3913
|
"markdownDescription": "Configuration for custom snippets.",
|
|
@@ -3985,82 +3915,7 @@
|
|
|
3985
3915
|
},
|
|
3986
3916
|
"_snippets_definitions": {
|
|
3987
3917
|
"additionalProperties": {
|
|
3988
|
-
"
|
|
3989
|
-
"properties": {
|
|
3990
|
-
"_inputs": {
|
|
3991
|
-
"additionalProperties": {
|
|
3992
|
-
"$ref": "#/definitions/Input"
|
|
3993
|
-
},
|
|
3994
|
-
"description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
3995
|
-
"markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
3996
|
-
"type": "object"
|
|
3997
|
-
},
|
|
3998
|
-
"_select_data": {
|
|
3999
|
-
"additionalProperties": {
|
|
4000
|
-
"$ref": "#/definitions/SelectValues"
|
|
4001
|
-
},
|
|
4002
|
-
"description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
|
|
4003
|
-
"markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
|
|
4004
|
-
"type": "object"
|
|
4005
|
-
},
|
|
4006
|
-
"_structures": {
|
|
4007
|
-
"additionalProperties": {
|
|
4008
|
-
"$ref": "#/definitions/Structure"
|
|
4009
|
-
},
|
|
4010
|
-
"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.",
|
|
4011
|
-
"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.",
|
|
4012
|
-
"type": "object"
|
|
4013
|
-
},
|
|
4014
|
-
"alternate_formats": {
|
|
4015
|
-
"description": "Alternate configurations for this snippet.",
|
|
4016
|
-
"items": {
|
|
4017
|
-
"$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
|
|
4018
|
-
},
|
|
4019
|
-
"markdownDescription": "Alternate configurations for this snippet.",
|
|
4020
|
-
"type": "array"
|
|
4021
|
-
},
|
|
4022
|
-
"definitions": {
|
|
4023
|
-
"description": "The variables required for the selected template.",
|
|
4024
|
-
"markdownDescription": "The variables required for the selected template.",
|
|
4025
|
-
"type": "object"
|
|
4026
|
-
},
|
|
4027
|
-
"inline": {
|
|
4028
|
-
"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.",
|
|
4029
|
-
"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.",
|
|
4030
|
-
"type": "boolean"
|
|
4031
|
-
},
|
|
4032
|
-
"params": {
|
|
4033
|
-
"description": "The parameters of this snippet.",
|
|
4034
|
-
"markdownDescription": "The parameters of this snippet.",
|
|
4035
|
-
"type": "object"
|
|
4036
|
-
},
|
|
4037
|
-
"picker_preview": {
|
|
4038
|
-
"$ref": "#/definitions/Preview",
|
|
4039
|
-
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
4040
|
-
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
4041
|
-
},
|
|
4042
|
-
"preview": {
|
|
4043
|
-
"$ref": "#/definitions/Preview",
|
|
4044
|
-
"description": "Changes the way items are previewed in the CMS.",
|
|
4045
|
-
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
4046
|
-
},
|
|
4047
|
-
"snippet": {
|
|
4048
|
-
"description": "Name of the snippet.",
|
|
4049
|
-
"markdownDescription": "Name of the snippet.",
|
|
4050
|
-
"type": "string"
|
|
4051
|
-
},
|
|
4052
|
-
"strict_whitespace": {
|
|
4053
|
-
"description": "Whether this snippet treats whitespace as-is or not.",
|
|
4054
|
-
"markdownDescription": "Whether this snippet treats whitespace as-is or not.",
|
|
4055
|
-
"type": "boolean"
|
|
4056
|
-
},
|
|
4057
|
-
"template": {
|
|
4058
|
-
"description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
4059
|
-
"markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
4060
|
-
"type": "string"
|
|
4061
|
-
}
|
|
4062
|
-
},
|
|
4063
|
-
"type": "object"
|
|
3918
|
+
"$ref": "#/definitions/SnippetConfig"
|
|
4064
3919
|
},
|
|
4065
3920
|
"description": "Extended option used when creating more complex custom snippets.",
|
|
4066
3921
|
"markdownDescription": "Extended option used when creating more complex custom snippets.",
|
|
@@ -4073,82 +3928,7 @@
|
|
|
4073
3928
|
},
|
|
4074
3929
|
"_snippets_templates": {
|
|
4075
3930
|
"additionalProperties": {
|
|
4076
|
-
"
|
|
4077
|
-
"properties": {
|
|
4078
|
-
"_inputs": {
|
|
4079
|
-
"additionalProperties": {
|
|
4080
|
-
"$ref": "#/definitions/Input"
|
|
4081
|
-
},
|
|
4082
|
-
"description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
4083
|
-
"markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
4084
|
-
"type": "object"
|
|
4085
|
-
},
|
|
4086
|
-
"_select_data": {
|
|
4087
|
-
"additionalProperties": {
|
|
4088
|
-
"$ref": "#/definitions/SelectValues"
|
|
4089
|
-
},
|
|
4090
|
-
"description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
|
|
4091
|
-
"markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
|
|
4092
|
-
"type": "object"
|
|
4093
|
-
},
|
|
4094
|
-
"_structures": {
|
|
4095
|
-
"additionalProperties": {
|
|
4096
|
-
"$ref": "#/definitions/Structure"
|
|
4097
|
-
},
|
|
4098
|
-
"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.",
|
|
4099
|
-
"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.",
|
|
4100
|
-
"type": "object"
|
|
4101
|
-
},
|
|
4102
|
-
"alternate_formats": {
|
|
4103
|
-
"description": "Alternate configurations for this snippet.",
|
|
4104
|
-
"items": {
|
|
4105
|
-
"$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
|
|
4106
|
-
},
|
|
4107
|
-
"markdownDescription": "Alternate configurations for this snippet.",
|
|
4108
|
-
"type": "array"
|
|
4109
|
-
},
|
|
4110
|
-
"definitions": {
|
|
4111
|
-
"description": "The variables required for the selected template.",
|
|
4112
|
-
"markdownDescription": "The variables required for the selected template.",
|
|
4113
|
-
"type": "object"
|
|
4114
|
-
},
|
|
4115
|
-
"inline": {
|
|
4116
|
-
"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.",
|
|
4117
|
-
"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.",
|
|
4118
|
-
"type": "boolean"
|
|
4119
|
-
},
|
|
4120
|
-
"params": {
|
|
4121
|
-
"description": "The parameters of this snippet.",
|
|
4122
|
-
"markdownDescription": "The parameters of this snippet.",
|
|
4123
|
-
"type": "object"
|
|
4124
|
-
},
|
|
4125
|
-
"picker_preview": {
|
|
4126
|
-
"$ref": "#/definitions/Preview",
|
|
4127
|
-
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
4128
|
-
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
4129
|
-
},
|
|
4130
|
-
"preview": {
|
|
4131
|
-
"$ref": "#/definitions/Preview",
|
|
4132
|
-
"description": "Changes the way items are previewed in the CMS.",
|
|
4133
|
-
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
4134
|
-
},
|
|
4135
|
-
"snippet": {
|
|
4136
|
-
"description": "Name of the snippet.",
|
|
4137
|
-
"markdownDescription": "Name of the snippet.",
|
|
4138
|
-
"type": "string"
|
|
4139
|
-
},
|
|
4140
|
-
"strict_whitespace": {
|
|
4141
|
-
"description": "Whether this snippet treats whitespace as-is or not.",
|
|
4142
|
-
"markdownDescription": "Whether this snippet treats whitespace as-is or not.",
|
|
4143
|
-
"type": "boolean"
|
|
4144
|
-
},
|
|
4145
|
-
"template": {
|
|
4146
|
-
"description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
4147
|
-
"markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
4148
|
-
"type": "string"
|
|
4149
|
-
}
|
|
4150
|
-
},
|
|
4151
|
-
"type": "object"
|
|
3931
|
+
"$ref": "#/definitions/SnippetConfig"
|
|
4152
3932
|
},
|
|
4153
3933
|
"description": "Extended option used when creating more complex custom snippets.",
|
|
4154
3934
|
"markdownDescription": "Extended option used when creating more complex custom snippets.",
|
|
@@ -4992,8 +4772,6 @@
|
|
|
4992
4772
|
},
|
|
4993
4773
|
"type": {
|
|
4994
4774
|
"const": "multichoice",
|
|
4995
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
4996
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
4997
4775
|
"type": "string"
|
|
4998
4776
|
}
|
|
4999
4777
|
},
|
|
@@ -5107,8 +4885,6 @@
|
|
|
5107
4885
|
},
|
|
5108
4886
|
"type": {
|
|
5109
4887
|
"const": "multiselect",
|
|
5110
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5111
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5112
4888
|
"type": "string"
|
|
5113
4889
|
}
|
|
5114
4890
|
},
|
|
@@ -5223,8 +4999,6 @@
|
|
|
5223
4999
|
},
|
|
5224
5000
|
"type": {
|
|
5225
5001
|
"const": "number",
|
|
5226
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5227
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5228
5002
|
"type": "string"
|
|
5229
5003
|
}
|
|
5230
5004
|
},
|
|
@@ -5332,8 +5106,6 @@
|
|
|
5332
5106
|
},
|
|
5333
5107
|
"type": {
|
|
5334
5108
|
"const": "object",
|
|
5335
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5336
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
5337
5109
|
"type": "string"
|
|
5338
5110
|
}
|
|
5339
5111
|
},
|
|
@@ -5342,9 +5114,38 @@
|
|
|
5342
5114
|
],
|
|
5343
5115
|
"type": "object"
|
|
5344
5116
|
},
|
|
5117
|
+
"ObjectInputGroup": {
|
|
5118
|
+
"additionalProperties": false,
|
|
5119
|
+
"properties": {
|
|
5120
|
+
"collapsed": {
|
|
5121
|
+
"type": "boolean"
|
|
5122
|
+
},
|
|
5123
|
+
"comment": {
|
|
5124
|
+
"type": "string"
|
|
5125
|
+
},
|
|
5126
|
+
"documentation": {
|
|
5127
|
+
"$ref": "#/definitions/Documentation"
|
|
5128
|
+
},
|
|
5129
|
+
"heading": {
|
|
5130
|
+
"type": "string"
|
|
5131
|
+
},
|
|
5132
|
+
"inputs": {
|
|
5133
|
+
"items": {
|
|
5134
|
+
"type": "string"
|
|
5135
|
+
},
|
|
5136
|
+
"type": "array"
|
|
5137
|
+
}
|
|
5138
|
+
},
|
|
5139
|
+
"type": "object"
|
|
5140
|
+
},
|
|
5345
5141
|
"ObjectInputOptions": {
|
|
5346
5142
|
"additionalProperties": false,
|
|
5347
5143
|
"properties": {
|
|
5144
|
+
"allow_label_formatting": {
|
|
5145
|
+
"description": "Controls whether or not labels on mutable object entries are formatted.",
|
|
5146
|
+
"markdownDescription": "Controls whether or not labels on mutable object entries are formatted.",
|
|
5147
|
+
"type": "boolean"
|
|
5148
|
+
},
|
|
5348
5149
|
"empty_type": {
|
|
5349
5150
|
"$ref": "#/definitions/EmptyTypeObject",
|
|
5350
5151
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
@@ -5389,6 +5190,19 @@
|
|
|
5389
5190
|
},
|
|
5390
5191
|
"type": "object"
|
|
5391
5192
|
},
|
|
5193
|
+
"groups": {
|
|
5194
|
+
"description": "Allows you to group the inputs inside this object together without changing the data structure.",
|
|
5195
|
+
"items": {
|
|
5196
|
+
"$ref": "#/definitions/ObjectInputGroup"
|
|
5197
|
+
},
|
|
5198
|
+
"markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure.",
|
|
5199
|
+
"type": "array"
|
|
5200
|
+
},
|
|
5201
|
+
"place_groups_below": {
|
|
5202
|
+
"description": "Controls which order input groups and ungrouped inputs appear in.",
|
|
5203
|
+
"markdownDescription": "Controls which order input groups and ungrouped inputs appear in.",
|
|
5204
|
+
"type": "boolean"
|
|
5205
|
+
},
|
|
5392
5206
|
"preview": {
|
|
5393
5207
|
"$ref": "#/definitions/ObjectPreview",
|
|
5394
5208
|
"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.",
|
|
@@ -5636,6 +5450,11 @@
|
|
|
5636
5450
|
"description": "Filename template for newly uploaded site files.",
|
|
5637
5451
|
"markdownDescription": "Filename template for newly uploaded site files.",
|
|
5638
5452
|
"type": "string"
|
|
5453
|
+
},
|
|
5454
|
+
"uploads_use_relative_path": {
|
|
5455
|
+
"description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
|
|
5456
|
+
"markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were\nuploaded to.",
|
|
5457
|
+
"type": "boolean"
|
|
5639
5458
|
}
|
|
5640
5459
|
},
|
|
5641
5460
|
"type": "object"
|
|
@@ -6160,8 +5979,6 @@
|
|
|
6160
5979
|
},
|
|
6161
5980
|
"type": {
|
|
6162
5981
|
"const": "range",
|
|
6163
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6164
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6165
5982
|
"type": "string"
|
|
6166
5983
|
}
|
|
6167
5984
|
},
|
|
@@ -6236,6 +6053,11 @@
|
|
|
6236
6053
|
"description": "Filename template for newly uploaded site files.",
|
|
6237
6054
|
"markdownDescription": "Filename template for newly uploaded site files.",
|
|
6238
6055
|
"type": "string"
|
|
6056
|
+
},
|
|
6057
|
+
"uploads_use_relative_path": {
|
|
6058
|
+
"description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
|
|
6059
|
+
"markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were\nuploaded to.",
|
|
6060
|
+
"type": "boolean"
|
|
6239
6061
|
}
|
|
6240
6062
|
},
|
|
6241
6063
|
"type": "object"
|
|
@@ -6312,12 +6134,10 @@
|
|
|
6312
6134
|
"markdownDescription": "Options that are specific to this `type` of input."
|
|
6313
6135
|
},
|
|
6314
6136
|
"type": {
|
|
6315
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6316
6137
|
"enum": [
|
|
6317
6138
|
"html",
|
|
6318
6139
|
"markdown"
|
|
6319
6140
|
],
|
|
6320
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6321
6141
|
"type": "string"
|
|
6322
6142
|
}
|
|
6323
6143
|
},
|
|
@@ -6518,27 +6338,28 @@
|
|
|
6518
6338
|
"type": "string"
|
|
6519
6339
|
},
|
|
6520
6340
|
"sizes": {
|
|
6521
|
-
"additionalProperties": false,
|
|
6522
6341
|
"description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
|
|
6523
|
-
"
|
|
6524
|
-
|
|
6525
|
-
"
|
|
6526
|
-
"
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6342
|
+
"items": {
|
|
6343
|
+
"additionalProperties": false,
|
|
6344
|
+
"properties": {
|
|
6345
|
+
"size": {
|
|
6346
|
+
"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).",
|
|
6347
|
+
"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).",
|
|
6348
|
+
"type": "string"
|
|
6349
|
+
},
|
|
6350
|
+
"target": {
|
|
6351
|
+
"description": "A reference to another input that is given the path to this additional image file.",
|
|
6352
|
+
"markdownDescription": "A reference to another input that is given the path to this additional image file.",
|
|
6353
|
+
"type": "string"
|
|
6354
|
+
}
|
|
6530
6355
|
},
|
|
6531
|
-
"
|
|
6532
|
-
"
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
"type": "string"
|
|
6536
|
-
}
|
|
6356
|
+
"required": [
|
|
6357
|
+
"size"
|
|
6358
|
+
],
|
|
6359
|
+
"type": "object"
|
|
6537
6360
|
},
|
|
6538
|
-
"
|
|
6539
|
-
|
|
6540
|
-
],
|
|
6541
|
-
"type": "object"
|
|
6361
|
+
"markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
|
|
6362
|
+
"type": "array"
|
|
6542
6363
|
},
|
|
6543
6364
|
"snippet": {
|
|
6544
6365
|
"description": "Enables a control to insert snippets, if any are available.",
|
|
@@ -6785,8 +6606,6 @@
|
|
|
6785
6606
|
},
|
|
6786
6607
|
"type": {
|
|
6787
6608
|
"const": "select",
|
|
6788
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6789
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
6790
6609
|
"type": "string"
|
|
6791
6610
|
}
|
|
6792
6611
|
},
|
|
@@ -6937,6 +6756,84 @@
|
|
|
6937
6756
|
}
|
|
6938
6757
|
]
|
|
6939
6758
|
},
|
|
6759
|
+
"SnippetConfig": {
|
|
6760
|
+
"additionalProperties": false,
|
|
6761
|
+
"properties": {
|
|
6762
|
+
"_inputs": {
|
|
6763
|
+
"additionalProperties": {
|
|
6764
|
+
"$ref": "#/definitions/Input"
|
|
6765
|
+
},
|
|
6766
|
+
"description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
6767
|
+
"markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
6768
|
+
"type": "object"
|
|
6769
|
+
},
|
|
6770
|
+
"_select_data": {
|
|
6771
|
+
"additionalProperties": {
|
|
6772
|
+
"$ref": "#/definitions/SelectValues"
|
|
6773
|
+
},
|
|
6774
|
+
"description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
|
|
6775
|
+
"markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
|
|
6776
|
+
"type": "object"
|
|
6777
|
+
},
|
|
6778
|
+
"_structures": {
|
|
6779
|
+
"additionalProperties": {
|
|
6780
|
+
"$ref": "#/definitions/Structure"
|
|
6781
|
+
},
|
|
6782
|
+
"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.",
|
|
6783
|
+
"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.",
|
|
6784
|
+
"type": "object"
|
|
6785
|
+
},
|
|
6786
|
+
"alternate_formats": {
|
|
6787
|
+
"description": "Alternate configurations for this snippet.",
|
|
6788
|
+
"items": {
|
|
6789
|
+
"$ref": "#/definitions/SnippetConfig"
|
|
6790
|
+
},
|
|
6791
|
+
"markdownDescription": "Alternate configurations for this snippet.",
|
|
6792
|
+
"type": "array"
|
|
6793
|
+
},
|
|
6794
|
+
"definitions": {
|
|
6795
|
+
"description": "The variables required for the selected template.",
|
|
6796
|
+
"markdownDescription": "The variables required for the selected template.",
|
|
6797
|
+
"type": "object"
|
|
6798
|
+
},
|
|
6799
|
+
"inline": {
|
|
6800
|
+
"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.",
|
|
6801
|
+
"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.",
|
|
6802
|
+
"type": "boolean"
|
|
6803
|
+
},
|
|
6804
|
+
"params": {
|
|
6805
|
+
"description": "The parameters of this snippet.",
|
|
6806
|
+
"markdownDescription": "The parameters of this snippet.",
|
|
6807
|
+
"type": "object"
|
|
6808
|
+
},
|
|
6809
|
+
"picker_preview": {
|
|
6810
|
+
"$ref": "#/definitions/Preview",
|
|
6811
|
+
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
6812
|
+
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
6813
|
+
},
|
|
6814
|
+
"preview": {
|
|
6815
|
+
"$ref": "#/definitions/Preview",
|
|
6816
|
+
"description": "Changes the way items are previewed in the CMS.",
|
|
6817
|
+
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
6818
|
+
},
|
|
6819
|
+
"snippet": {
|
|
6820
|
+
"description": "Name of the snippet.",
|
|
6821
|
+
"markdownDescription": "Name of the snippet.",
|
|
6822
|
+
"type": "string"
|
|
6823
|
+
},
|
|
6824
|
+
"strict_whitespace": {
|
|
6825
|
+
"description": "Whether this snippet treats whitespace as-is or not.",
|
|
6826
|
+
"markdownDescription": "Whether this snippet treats whitespace as-is or not.",
|
|
6827
|
+
"type": "boolean"
|
|
6828
|
+
},
|
|
6829
|
+
"template": {
|
|
6830
|
+
"description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
6831
|
+
"markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
6832
|
+
"type": "string"
|
|
6833
|
+
}
|
|
6834
|
+
},
|
|
6835
|
+
"type": "object"
|
|
6836
|
+
},
|
|
6940
6837
|
"SnippetsImports": {
|
|
6941
6838
|
"additionalProperties": false,
|
|
6942
6839
|
"properties": {
|
|
@@ -7900,7 +7797,6 @@
|
|
|
7900
7797
|
"markdownDescription": "Options that are specific to this `type` of input."
|
|
7901
7798
|
},
|
|
7902
7799
|
"type": {
|
|
7903
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
7904
7800
|
"enum": [
|
|
7905
7801
|
"text",
|
|
7906
7802
|
"email",
|
|
@@ -7911,7 +7807,6 @@
|
|
|
7911
7807
|
"github",
|
|
7912
7808
|
"instagram"
|
|
7913
7809
|
],
|
|
7914
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
7915
7810
|
"type": "string"
|
|
7916
7811
|
}
|
|
7917
7812
|
},
|
|
@@ -8536,6 +8431,83 @@
|
|
|
8536
8431
|
],
|
|
8537
8432
|
"type": "string"
|
|
8538
8433
|
},
|
|
8434
|
+
"UnknownInput": {
|
|
8435
|
+
"additionalProperties": false,
|
|
8436
|
+
"properties": {
|
|
8437
|
+
"cascade": {
|
|
8438
|
+
"default": true,
|
|
8439
|
+
"description": "Specifies whether or not this input configuration should be merged with any matching, less specific configuration.",
|
|
8440
|
+
"markdownDescription": "Specifies whether or not this input configuration should be merged with any matching, less\nspecific configuration.",
|
|
8441
|
+
"type": "boolean"
|
|
8442
|
+
},
|
|
8443
|
+
"comment": {
|
|
8444
|
+
"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.",
|
|
8445
|
+
"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.",
|
|
8446
|
+
"type": "string"
|
|
8447
|
+
},
|
|
8448
|
+
"context": {
|
|
8449
|
+
"additionalProperties": false,
|
|
8450
|
+
"description": "Adds an expandable section of rich text below the input.",
|
|
8451
|
+
"markdownDescription": "Adds an expandable section of rich text below the input.",
|
|
8452
|
+
"properties": {
|
|
8453
|
+
"content": {
|
|
8454
|
+
"description": "The rich text content shown when opened. Supports a limited set of Markdown.",
|
|
8455
|
+
"markdownDescription": "The rich text content shown when opened. Supports a limited set of Markdown.",
|
|
8456
|
+
"type": "string"
|
|
8457
|
+
},
|
|
8458
|
+
"icon": {
|
|
8459
|
+
"$ref": "#/definitions/Icon",
|
|
8460
|
+
"description": "The icon shown when not open.",
|
|
8461
|
+
"markdownDescription": "The icon shown when not open."
|
|
8462
|
+
},
|
|
8463
|
+
"open": {
|
|
8464
|
+
"description": "Makes the content visible initially.",
|
|
8465
|
+
"markdownDescription": "Makes the content visible initially.",
|
|
8466
|
+
"type": "boolean"
|
|
8467
|
+
},
|
|
8468
|
+
"title": {
|
|
8469
|
+
"description": "The text shown when not open. Defaults to \"Context\" if unset.",
|
|
8470
|
+
"markdownDescription": "The text shown when not open. Defaults to \"Context\" if unset.",
|
|
8471
|
+
"type": "string"
|
|
8472
|
+
}
|
|
8473
|
+
},
|
|
8474
|
+
"type": "object"
|
|
8475
|
+
},
|
|
8476
|
+
"documentation": {
|
|
8477
|
+
"$ref": "#/definitions/Documentation",
|
|
8478
|
+
"description": "Provides a custom link for documentation for editors shown above input.",
|
|
8479
|
+
"markdownDescription": "Provides a custom link for documentation for editors shown above input."
|
|
8480
|
+
},
|
|
8481
|
+
"hidden": {
|
|
8482
|
+
"default": false,
|
|
8483
|
+
"description": "Toggles the visibility of this input.",
|
|
8484
|
+
"markdownDescription": "Toggles the visibility of this input.",
|
|
8485
|
+
"type": [
|
|
8486
|
+
"boolean",
|
|
8487
|
+
"string"
|
|
8488
|
+
]
|
|
8489
|
+
},
|
|
8490
|
+
"instance_value": {
|
|
8491
|
+
"$ref": "#/definitions/InstanceValue",
|
|
8492
|
+
"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.",
|
|
8493
|
+
"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."
|
|
8494
|
+
},
|
|
8495
|
+
"label": {
|
|
8496
|
+
"description": "Optionally changes the text above this input.",
|
|
8497
|
+
"markdownDescription": "Optionally changes the text above this input.",
|
|
8498
|
+
"type": "string"
|
|
8499
|
+
},
|
|
8500
|
+
"options": {
|
|
8501
|
+
"$ref": "#/definitions/BaseInputOptions",
|
|
8502
|
+
"description": "Options that are specific to this `type` of input.",
|
|
8503
|
+
"markdownDescription": "Options that are specific to this `type` of input."
|
|
8504
|
+
},
|
|
8505
|
+
"type": {
|
|
8506
|
+
"type": "null"
|
|
8507
|
+
}
|
|
8508
|
+
},
|
|
8509
|
+
"type": "object"
|
|
8510
|
+
},
|
|
8539
8511
|
"UrlInput": {
|
|
8540
8512
|
"additionalProperties": false,
|
|
8541
8513
|
"properties": {
|
|
@@ -8609,8 +8581,6 @@
|
|
|
8609
8581
|
},
|
|
8610
8582
|
"type": {
|
|
8611
8583
|
"const": "range",
|
|
8612
|
-
"description": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
8613
|
-
"markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
|
|
8614
8584
|
"type": "string"
|
|
8615
8585
|
}
|
|
8616
8586
|
},
|
|
@@ -8634,84 +8604,6 @@
|
|
|
8634
8604
|
}
|
|
8635
8605
|
},
|
|
8636
8606
|
"type": "object"
|
|
8637
|
-
},
|
|
8638
|
-
"interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487": {
|
|
8639
|
-
"additionalProperties": false,
|
|
8640
|
-
"properties": {
|
|
8641
|
-
"_inputs": {
|
|
8642
|
-
"additionalProperties": {
|
|
8643
|
-
"$ref": "#/definitions/Input"
|
|
8644
|
-
},
|
|
8645
|
-
"description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
8646
|
-
"markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
|
|
8647
|
-
"type": "object"
|
|
8648
|
-
},
|
|
8649
|
-
"_select_data": {
|
|
8650
|
-
"additionalProperties": {
|
|
8651
|
-
"$ref": "#/definitions/SelectValues"
|
|
8652
|
-
},
|
|
8653
|
-
"description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
|
|
8654
|
-
"markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
|
|
8655
|
-
"type": "object"
|
|
8656
|
-
},
|
|
8657
|
-
"_structures": {
|
|
8658
|
-
"additionalProperties": {
|
|
8659
|
-
"$ref": "#/definitions/Structure"
|
|
8660
|
-
},
|
|
8661
|
-
"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.",
|
|
8662
|
-
"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.",
|
|
8663
|
-
"type": "object"
|
|
8664
|
-
},
|
|
8665
|
-
"alternate_formats": {
|
|
8666
|
-
"description": "Alternate configurations for this snippet.",
|
|
8667
|
-
"items": {
|
|
8668
|
-
"$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
|
|
8669
|
-
},
|
|
8670
|
-
"markdownDescription": "Alternate configurations for this snippet.",
|
|
8671
|
-
"type": "array"
|
|
8672
|
-
},
|
|
8673
|
-
"definitions": {
|
|
8674
|
-
"description": "The variables required for the selected template.",
|
|
8675
|
-
"markdownDescription": "The variables required for the selected template.",
|
|
8676
|
-
"type": "object"
|
|
8677
|
-
},
|
|
8678
|
-
"inline": {
|
|
8679
|
-
"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.",
|
|
8680
|
-
"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.",
|
|
8681
|
-
"type": "boolean"
|
|
8682
|
-
},
|
|
8683
|
-
"params": {
|
|
8684
|
-
"description": "The parameters of this snippet.",
|
|
8685
|
-
"markdownDescription": "The parameters of this snippet.",
|
|
8686
|
-
"type": "object"
|
|
8687
|
-
},
|
|
8688
|
-
"picker_preview": {
|
|
8689
|
-
"$ref": "#/definitions/Preview",
|
|
8690
|
-
"description": "Changes the way items are previewed in the CMS while being chosen.",
|
|
8691
|
-
"markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
|
|
8692
|
-
},
|
|
8693
|
-
"preview": {
|
|
8694
|
-
"$ref": "#/definitions/Preview",
|
|
8695
|
-
"description": "Changes the way items are previewed in the CMS.",
|
|
8696
|
-
"markdownDescription": "Changes the way items are previewed in the CMS."
|
|
8697
|
-
},
|
|
8698
|
-
"snippet": {
|
|
8699
|
-
"description": "Name of the snippet.",
|
|
8700
|
-
"markdownDescription": "Name of the snippet.",
|
|
8701
|
-
"type": "string"
|
|
8702
|
-
},
|
|
8703
|
-
"strict_whitespace": {
|
|
8704
|
-
"description": "Whether this snippet treats whitespace as-is or not.",
|
|
8705
|
-
"markdownDescription": "Whether this snippet treats whitespace as-is or not.",
|
|
8706
|
-
"type": "boolean"
|
|
8707
|
-
},
|
|
8708
|
-
"template": {
|
|
8709
|
-
"description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
8710
|
-
"markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
|
|
8711
|
-
"type": "string"
|
|
8712
|
-
}
|
|
8713
|
-
},
|
|
8714
|
-
"type": "object"
|
|
8715
8607
|
}
|
|
8716
8608
|
}
|
|
8717
8609
|
}
|