@sveltia/cms 0.87.2 → 0.87.3
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/README.md +36 -20
- package/dist/sveltia-cms.js +202 -200
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +206 -204
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/sveltia-cms.json +341 -376
- package/types/public.d.ts +103 -83
package/schema/sveltia-cms.json
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
},
|
|
72
72
|
"config": {
|
|
73
73
|
"type": "object",
|
|
74
|
-
"description": "Options to be passed to
|
|
74
|
+
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options for a full list of available options."
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"required": [
|
|
@@ -149,16 +149,30 @@
|
|
|
149
149
|
"collections": {
|
|
150
150
|
"type": "array",
|
|
151
151
|
"items": {
|
|
152
|
-
"
|
|
152
|
+
"anyOf": [
|
|
153
|
+
{
|
|
154
|
+
"$ref": "#/definitions/Collection"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"$ref": "#/definitions/CollectionDivider"
|
|
158
|
+
}
|
|
159
|
+
]
|
|
153
160
|
},
|
|
154
|
-
"description": "Set of collections."
|
|
161
|
+
"description": "Set of collections. The list can also contain dividers, which are used to group collections in the collection list."
|
|
155
162
|
},
|
|
156
163
|
"singletons": {
|
|
157
164
|
"type": "array",
|
|
158
165
|
"items": {
|
|
159
|
-
"
|
|
166
|
+
"anyOf": [
|
|
167
|
+
{
|
|
168
|
+
"$ref": "#/definitions/CollectionFile"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"$ref": "#/definitions/CollectionDivider"
|
|
172
|
+
}
|
|
173
|
+
]
|
|
160
174
|
},
|
|
161
|
-
"description": "Set of singleton files, such as the site configuration file or the homepage file. They are not part of any collection and can be accessed directly through the collection list."
|
|
175
|
+
"description": "Set of singleton files, such as the site configuration file or the homepage file. They are not part of any collection and can be accessed directly through the collection list. The list can also contain dividers."
|
|
162
176
|
},
|
|
163
177
|
"i18n": {
|
|
164
178
|
"$ref": "#/definitions/I18nOptions",
|
|
@@ -258,7 +272,7 @@
|
|
|
258
272
|
},
|
|
259
273
|
"automatic_deployments": {
|
|
260
274
|
"type": "boolean",
|
|
261
|
-
"description": "Whether to enable or disable automatic deployments with any connected CI/CD provider, such as GitHub Actions or Cloudflare Pages. If `false`, the `[skip ci]` prefix will be added to commit messages. Git backends only. Default: undefined
|
|
275
|
+
"description": "Whether to enable or disable automatic deployments with any connected CI/CD provider, such as GitHub Actions or Cloudflare Pages. If `false`, the `[skip ci]` prefix will be added to commit messages. Git backends only. Default: `undefined`. See https://github.com/sveltia/sveltia-cms#disabling-automatic-deployments for details."
|
|
262
276
|
}
|
|
263
277
|
},
|
|
264
278
|
"required": [
|
|
@@ -407,7 +421,7 @@
|
|
|
407
421
|
},
|
|
408
422
|
"quality": {
|
|
409
423
|
"type": "number",
|
|
410
|
-
"description": "Image quality between 0 and 100. Default: 85
|
|
424
|
+
"description": "Image quality between 0 and 100. Default: `85`."
|
|
411
425
|
},
|
|
412
426
|
"width": {
|
|
413
427
|
"type": "number",
|
|
@@ -501,7 +515,7 @@
|
|
|
501
515
|
},
|
|
502
516
|
"config": {
|
|
503
517
|
"type": "object",
|
|
504
|
-
"description": "Options to be passed to
|
|
518
|
+
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options for a full list of available options."
|
|
505
519
|
}
|
|
506
520
|
},
|
|
507
521
|
"additionalProperties": false,
|
|
@@ -664,7 +678,7 @@
|
|
|
664
678
|
},
|
|
665
679
|
"slug_length": {
|
|
666
680
|
"type": "number",
|
|
667
|
-
"description": "The maximum number of characters allowed for an entry slug. Entry collection only. Default:
|
|
681
|
+
"description": "The maximum number of characters allowed for an entry slug. Entry collection only. Default: `Infinity`."
|
|
668
682
|
},
|
|
669
683
|
"summary": {
|
|
670
684
|
"type": "string",
|
|
@@ -744,10 +758,6 @@
|
|
|
744
758
|
"type": "boolean",
|
|
745
759
|
"description": "Whether to double-quote all the strings values if the YAML format is used for file output. Default: `false`. DEPRECATED in favor of the global YAML format options."
|
|
746
760
|
},
|
|
747
|
-
"divider": {
|
|
748
|
-
"type": "boolean",
|
|
749
|
-
"description": "A special option to make this collection a divider UI in the collection list. Default: `false`. If `true`, other options will be ignored, but you still have to provide a unique `name`."
|
|
750
|
-
},
|
|
751
761
|
"thumbnail": {
|
|
752
762
|
"anyOf": [
|
|
753
763
|
{
|
|
@@ -764,7 +774,7 @@
|
|
|
764
774
|
},
|
|
765
775
|
"limit": {
|
|
766
776
|
"type": "number",
|
|
767
|
-
"description": "The maximum number of entries that can be created in the collection. Entry collection only. Default:
|
|
777
|
+
"description": "The maximum number of entries that can be created in the collection. Entry collection only. Default: `Infinity`."
|
|
768
778
|
}
|
|
769
779
|
},
|
|
770
780
|
"required": [
|
|
@@ -840,10 +850,6 @@
|
|
|
840
850
|
],
|
|
841
851
|
"description": "I18n options. Default: `false`."
|
|
842
852
|
},
|
|
843
|
-
"divider": {
|
|
844
|
-
"type": "boolean",
|
|
845
|
-
"description": "A special option to make this file a divider UI in the singleton file list. Default: `false`. Not supported in a file collection. If `true`, other options will be ignored, but you still have to provide a unique `name`."
|
|
846
|
-
},
|
|
847
853
|
"preview_path": {
|
|
848
854
|
"type": "string",
|
|
849
855
|
"description": "Preview URL path template."
|
|
@@ -936,7 +942,6 @@
|
|
|
936
942
|
},
|
|
937
943
|
"BooleanField": {
|
|
938
944
|
"type": "object",
|
|
939
|
-
"additionalProperties": false,
|
|
940
945
|
"properties": {
|
|
941
946
|
"before_input": {
|
|
942
947
|
"type": "string",
|
|
@@ -948,25 +953,13 @@
|
|
|
948
953
|
},
|
|
949
954
|
"widget": {
|
|
950
955
|
"type": "string",
|
|
951
|
-
"
|
|
952
|
-
"
|
|
956
|
+
"const": "boolean",
|
|
957
|
+
"description": "Widget name."
|
|
953
958
|
},
|
|
954
959
|
"default": {
|
|
955
960
|
"type": "boolean",
|
|
956
961
|
"description": "Default value. Accepts `true` or `false`."
|
|
957
962
|
},
|
|
958
|
-
"name": {
|
|
959
|
-
"type": "string",
|
|
960
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
961
|
-
},
|
|
962
|
-
"label": {
|
|
963
|
-
"type": "string",
|
|
964
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
965
|
-
},
|
|
966
|
-
"comment": {
|
|
967
|
-
"type": "string",
|
|
968
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
969
|
-
},
|
|
970
963
|
"required": {
|
|
971
964
|
"anyOf": [
|
|
972
965
|
{
|
|
@@ -1007,6 +1000,18 @@
|
|
|
1007
1000
|
"maxItems": 2,
|
|
1008
1001
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
1009
1002
|
},
|
|
1003
|
+
"name": {
|
|
1004
|
+
"type": "string",
|
|
1005
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1006
|
+
},
|
|
1007
|
+
"label": {
|
|
1008
|
+
"type": "string",
|
|
1009
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1010
|
+
},
|
|
1011
|
+
"comment": {
|
|
1012
|
+
"type": "string",
|
|
1013
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
1014
|
+
},
|
|
1010
1015
|
"hint": {
|
|
1011
1016
|
"type": "string",
|
|
1012
1017
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -1048,12 +1053,11 @@
|
|
|
1048
1053
|
},
|
|
1049
1054
|
"CodeField": {
|
|
1050
1055
|
"type": "object",
|
|
1051
|
-
"additionalProperties": false,
|
|
1052
1056
|
"properties": {
|
|
1053
1057
|
"widget": {
|
|
1054
1058
|
"type": "string",
|
|
1055
|
-
"
|
|
1056
|
-
"
|
|
1059
|
+
"const": "code",
|
|
1060
|
+
"description": "Widget name."
|
|
1057
1061
|
},
|
|
1058
1062
|
"default": {
|
|
1059
1063
|
"anyOf": [
|
|
@@ -1098,18 +1102,6 @@
|
|
|
1098
1102
|
"additionalProperties": false,
|
|
1099
1103
|
"description": "Output property names. It has no effect if `output_code_only` is `true`. Default: `{ code: 'code', lang: 'lang' }`."
|
|
1100
1104
|
},
|
|
1101
|
-
"name": {
|
|
1102
|
-
"type": "string",
|
|
1103
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1104
|
-
},
|
|
1105
|
-
"label": {
|
|
1106
|
-
"type": "string",
|
|
1107
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1108
|
-
},
|
|
1109
|
-
"comment": {
|
|
1110
|
-
"type": "string",
|
|
1111
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
1112
|
-
},
|
|
1113
1105
|
"required": {
|
|
1114
1106
|
"anyOf": [
|
|
1115
1107
|
{
|
|
@@ -1150,6 +1142,18 @@
|
|
|
1150
1142
|
"maxItems": 2,
|
|
1151
1143
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
1152
1144
|
},
|
|
1145
|
+
"name": {
|
|
1146
|
+
"type": "string",
|
|
1147
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1148
|
+
},
|
|
1149
|
+
"label": {
|
|
1150
|
+
"type": "string",
|
|
1151
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1152
|
+
},
|
|
1153
|
+
"comment": {
|
|
1154
|
+
"type": "string",
|
|
1155
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
1156
|
+
},
|
|
1153
1157
|
"hint": {
|
|
1154
1158
|
"type": "string",
|
|
1155
1159
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -1187,12 +1191,11 @@
|
|
|
1187
1191
|
},
|
|
1188
1192
|
"ColorField": {
|
|
1189
1193
|
"type": "object",
|
|
1190
|
-
"additionalProperties": false,
|
|
1191
1194
|
"properties": {
|
|
1192
1195
|
"widget": {
|
|
1193
1196
|
"type": "string",
|
|
1194
|
-
"
|
|
1195
|
-
"
|
|
1197
|
+
"const": "color",
|
|
1198
|
+
"description": "Widget name."
|
|
1196
1199
|
},
|
|
1197
1200
|
"default": {
|
|
1198
1201
|
"type": "string",
|
|
@@ -1206,18 +1209,6 @@
|
|
|
1206
1209
|
"type": "boolean",
|
|
1207
1210
|
"description": "Whether to edit/save the alpha channel value. Default: `false`."
|
|
1208
1211
|
},
|
|
1209
|
-
"name": {
|
|
1210
|
-
"type": "string",
|
|
1211
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1212
|
-
},
|
|
1213
|
-
"label": {
|
|
1214
|
-
"type": "string",
|
|
1215
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1216
|
-
},
|
|
1217
|
-
"comment": {
|
|
1218
|
-
"type": "string",
|
|
1219
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
1220
|
-
},
|
|
1221
1212
|
"required": {
|
|
1222
1213
|
"anyOf": [
|
|
1223
1214
|
{
|
|
@@ -1258,6 +1249,18 @@
|
|
|
1258
1249
|
"maxItems": 2,
|
|
1259
1250
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
1260
1251
|
},
|
|
1252
|
+
"name": {
|
|
1253
|
+
"type": "string",
|
|
1254
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1255
|
+
},
|
|
1256
|
+
"label": {
|
|
1257
|
+
"type": "string",
|
|
1258
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1259
|
+
},
|
|
1260
|
+
"comment": {
|
|
1261
|
+
"type": "string",
|
|
1262
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
1263
|
+
},
|
|
1261
1264
|
"hint": {
|
|
1262
1265
|
"type": "string",
|
|
1263
1266
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -1295,29 +1298,16 @@
|
|
|
1295
1298
|
},
|
|
1296
1299
|
"ComputeField": {
|
|
1297
1300
|
"type": "object",
|
|
1298
|
-
"additionalProperties": false,
|
|
1299
1301
|
"properties": {
|
|
1300
1302
|
"widget": {
|
|
1301
1303
|
"type": "string",
|
|
1302
|
-
"
|
|
1303
|
-
"
|
|
1304
|
+
"const": "compute",
|
|
1305
|
+
"description": "Widget name."
|
|
1304
1306
|
},
|
|
1305
1307
|
"value": {
|
|
1306
1308
|
"type": "string",
|
|
1307
1309
|
"description": "Value template, like `posts-{{fields.slug}}`."
|
|
1308
1310
|
},
|
|
1309
|
-
"name": {
|
|
1310
|
-
"type": "string",
|
|
1311
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1312
|
-
},
|
|
1313
|
-
"label": {
|
|
1314
|
-
"type": "string",
|
|
1315
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1316
|
-
},
|
|
1317
|
-
"comment": {
|
|
1318
|
-
"type": "string",
|
|
1319
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
1320
|
-
},
|
|
1321
1311
|
"required": {
|
|
1322
1312
|
"anyOf": [
|
|
1323
1313
|
{
|
|
@@ -1358,6 +1348,18 @@
|
|
|
1358
1348
|
"maxItems": 2,
|
|
1359
1349
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
1360
1350
|
},
|
|
1351
|
+
"name": {
|
|
1352
|
+
"type": "string",
|
|
1353
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1354
|
+
},
|
|
1355
|
+
"label": {
|
|
1356
|
+
"type": "string",
|
|
1357
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1358
|
+
},
|
|
1359
|
+
"comment": {
|
|
1360
|
+
"type": "string",
|
|
1361
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
1362
|
+
},
|
|
1361
1363
|
"hint": {
|
|
1362
1364
|
"type": "string",
|
|
1363
1365
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -1396,12 +1398,11 @@
|
|
|
1396
1398
|
},
|
|
1397
1399
|
"DateTimeField": {
|
|
1398
1400
|
"type": "object",
|
|
1399
|
-
"additionalProperties": false,
|
|
1400
1401
|
"properties": {
|
|
1401
1402
|
"widget": {
|
|
1402
1403
|
"type": "string",
|
|
1403
|
-
"
|
|
1404
|
-
"
|
|
1404
|
+
"const": "datetime",
|
|
1405
|
+
"description": "Widget name."
|
|
1405
1406
|
},
|
|
1406
1407
|
"default": {
|
|
1407
1408
|
"type": "string",
|
|
@@ -1429,18 +1430,6 @@
|
|
|
1429
1430
|
"type": "boolean",
|
|
1430
1431
|
"description": "Whether to make the date input/output UTC. Default: `false`."
|
|
1431
1432
|
},
|
|
1432
|
-
"name": {
|
|
1433
|
-
"type": "string",
|
|
1434
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1435
|
-
},
|
|
1436
|
-
"label": {
|
|
1437
|
-
"type": "string",
|
|
1438
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1439
|
-
},
|
|
1440
|
-
"comment": {
|
|
1441
|
-
"type": "string",
|
|
1442
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
1443
|
-
},
|
|
1444
1433
|
"required": {
|
|
1445
1434
|
"anyOf": [
|
|
1446
1435
|
{
|
|
@@ -1481,6 +1470,18 @@
|
|
|
1481
1470
|
"maxItems": 2,
|
|
1482
1471
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
1483
1472
|
},
|
|
1473
|
+
"name": {
|
|
1474
|
+
"type": "string",
|
|
1475
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1476
|
+
},
|
|
1477
|
+
"label": {
|
|
1478
|
+
"type": "string",
|
|
1479
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1480
|
+
},
|
|
1481
|
+
"comment": {
|
|
1482
|
+
"type": "string",
|
|
1483
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
1484
|
+
},
|
|
1484
1485
|
"hint": {
|
|
1485
1486
|
"type": "string",
|
|
1486
1487
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -1518,12 +1519,11 @@
|
|
|
1518
1519
|
},
|
|
1519
1520
|
"FileField": {
|
|
1520
1521
|
"type": "object",
|
|
1521
|
-
"additionalProperties": false,
|
|
1522
1522
|
"properties": {
|
|
1523
1523
|
"widget": {
|
|
1524
1524
|
"type": "string",
|
|
1525
|
-
"
|
|
1526
|
-
"
|
|
1525
|
+
"const": "file",
|
|
1526
|
+
"description": "Widget name."
|
|
1527
1527
|
},
|
|
1528
1528
|
"default": {
|
|
1529
1529
|
"type": "string",
|
|
@@ -1583,7 +1583,7 @@
|
|
|
1583
1583
|
},
|
|
1584
1584
|
"config": {
|
|
1585
1585
|
"type": "object",
|
|
1586
|
-
"description": "Options to be passed to
|
|
1586
|
+
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options for a full list of available options."
|
|
1587
1587
|
}
|
|
1588
1588
|
}
|
|
1589
1589
|
},
|
|
@@ -1633,18 +1633,6 @@
|
|
|
1633
1633
|
"type": "boolean",
|
|
1634
1634
|
"description": "Whether to enable multiple item selection in an external media library. Default: `true`."
|
|
1635
1635
|
},
|
|
1636
|
-
"name": {
|
|
1637
|
-
"type": "string",
|
|
1638
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1639
|
-
},
|
|
1640
|
-
"label": {
|
|
1641
|
-
"type": "string",
|
|
1642
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1643
|
-
},
|
|
1644
|
-
"comment": {
|
|
1645
|
-
"type": "string",
|
|
1646
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
1647
|
-
},
|
|
1648
1636
|
"required": {
|
|
1649
1637
|
"anyOf": [
|
|
1650
1638
|
{
|
|
@@ -1685,6 +1673,18 @@
|
|
|
1685
1673
|
"maxItems": 2,
|
|
1686
1674
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
1687
1675
|
},
|
|
1676
|
+
"name": {
|
|
1677
|
+
"type": "string",
|
|
1678
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1679
|
+
},
|
|
1680
|
+
"label": {
|
|
1681
|
+
"type": "string",
|
|
1682
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1683
|
+
},
|
|
1684
|
+
"comment": {
|
|
1685
|
+
"type": "string",
|
|
1686
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
1687
|
+
},
|
|
1688
1688
|
"hint": {
|
|
1689
1689
|
"type": "string",
|
|
1690
1690
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -1722,28 +1722,15 @@
|
|
|
1722
1722
|
},
|
|
1723
1723
|
"HiddenField": {
|
|
1724
1724
|
"type": "object",
|
|
1725
|
-
"additionalProperties": false,
|
|
1726
1725
|
"properties": {
|
|
1727
1726
|
"widget": {
|
|
1728
1727
|
"type": "string",
|
|
1729
|
-
"
|
|
1730
|
-
"
|
|
1728
|
+
"const": "hidden",
|
|
1729
|
+
"description": "Widget name."
|
|
1731
1730
|
},
|
|
1732
1731
|
"default": {
|
|
1733
1732
|
"description": "Default value. Accepts any data type that can be stored with the configured file format."
|
|
1734
1733
|
},
|
|
1735
|
-
"name": {
|
|
1736
|
-
"type": "string",
|
|
1737
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1738
|
-
},
|
|
1739
|
-
"label": {
|
|
1740
|
-
"type": "string",
|
|
1741
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1742
|
-
},
|
|
1743
|
-
"comment": {
|
|
1744
|
-
"type": "string",
|
|
1745
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
1746
|
-
},
|
|
1747
1734
|
"required": {
|
|
1748
1735
|
"anyOf": [
|
|
1749
1736
|
{
|
|
@@ -1784,6 +1771,18 @@
|
|
|
1784
1771
|
"maxItems": 2,
|
|
1785
1772
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
1786
1773
|
},
|
|
1774
|
+
"name": {
|
|
1775
|
+
"type": "string",
|
|
1776
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1777
|
+
},
|
|
1778
|
+
"label": {
|
|
1779
|
+
"type": "string",
|
|
1780
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1781
|
+
},
|
|
1782
|
+
"comment": {
|
|
1783
|
+
"type": "string",
|
|
1784
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
1785
|
+
},
|
|
1787
1786
|
"hint": {
|
|
1788
1787
|
"type": "string",
|
|
1789
1788
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -1821,12 +1820,11 @@
|
|
|
1821
1820
|
},
|
|
1822
1821
|
"ImageField": {
|
|
1823
1822
|
"type": "object",
|
|
1824
|
-
"additionalProperties": false,
|
|
1825
1823
|
"properties": {
|
|
1826
1824
|
"widget": {
|
|
1827
1825
|
"type": "string",
|
|
1828
|
-
"
|
|
1829
|
-
"
|
|
1826
|
+
"const": "image",
|
|
1827
|
+
"description": "Widget name."
|
|
1830
1828
|
},
|
|
1831
1829
|
"default": {
|
|
1832
1830
|
"type": "string",
|
|
@@ -1886,7 +1884,7 @@
|
|
|
1886
1884
|
},
|
|
1887
1885
|
"config": {
|
|
1888
1886
|
"type": "object",
|
|
1889
|
-
"description": "Options to be passed to
|
|
1887
|
+
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options for a full list of available options."
|
|
1890
1888
|
}
|
|
1891
1889
|
}
|
|
1892
1890
|
},
|
|
@@ -1936,18 +1934,6 @@
|
|
|
1936
1934
|
"type": "boolean",
|
|
1937
1935
|
"description": "Whether to enable multiple item selection in an external media library. Default: `true`."
|
|
1938
1936
|
},
|
|
1939
|
-
"name": {
|
|
1940
|
-
"type": "string",
|
|
1941
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1942
|
-
},
|
|
1943
|
-
"label": {
|
|
1944
|
-
"type": "string",
|
|
1945
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1946
|
-
},
|
|
1947
|
-
"comment": {
|
|
1948
|
-
"type": "string",
|
|
1949
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
1950
|
-
},
|
|
1951
1937
|
"required": {
|
|
1952
1938
|
"anyOf": [
|
|
1953
1939
|
{
|
|
@@ -1988,6 +1974,18 @@
|
|
|
1988
1974
|
"maxItems": 2,
|
|
1989
1975
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
1990
1976
|
},
|
|
1977
|
+
"name": {
|
|
1978
|
+
"type": "string",
|
|
1979
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
1980
|
+
},
|
|
1981
|
+
"label": {
|
|
1982
|
+
"type": "string",
|
|
1983
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
1984
|
+
},
|
|
1985
|
+
"comment": {
|
|
1986
|
+
"type": "string",
|
|
1987
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
1988
|
+
},
|
|
1991
1989
|
"hint": {
|
|
1992
1990
|
"type": "string",
|
|
1993
1991
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -2025,20 +2023,19 @@
|
|
|
2025
2023
|
},
|
|
2026
2024
|
"KeyValueField": {
|
|
2027
2025
|
"type": "object",
|
|
2028
|
-
"additionalProperties": false,
|
|
2029
2026
|
"properties": {
|
|
2030
2027
|
"min": {
|
|
2031
2028
|
"type": "number",
|
|
2032
|
-
"description": "Minimum number of items that can be added. Default: 0
|
|
2029
|
+
"description": "Minimum number of items that can be added. Default: `0`."
|
|
2033
2030
|
},
|
|
2034
2031
|
"max": {
|
|
2035
2032
|
"type": "number",
|
|
2036
|
-
"description": "Maximum number of items that can be added. Default:
|
|
2033
|
+
"description": "Maximum number of items that can be added. Default: `Infinity`."
|
|
2037
2034
|
},
|
|
2038
2035
|
"widget": {
|
|
2039
2036
|
"type": "string",
|
|
2040
|
-
"
|
|
2041
|
-
"
|
|
2037
|
+
"const": "keyvalue",
|
|
2038
|
+
"description": "Widget name."
|
|
2042
2039
|
},
|
|
2043
2040
|
"default": {
|
|
2044
2041
|
"type": "object",
|
|
@@ -2055,18 +2052,6 @@
|
|
|
2055
2052
|
"type": "string",
|
|
2056
2053
|
"description": "Label for the value column. Default: Value."
|
|
2057
2054
|
},
|
|
2058
|
-
"name": {
|
|
2059
|
-
"type": "string",
|
|
2060
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2061
|
-
},
|
|
2062
|
-
"label": {
|
|
2063
|
-
"type": "string",
|
|
2064
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2065
|
-
},
|
|
2066
|
-
"comment": {
|
|
2067
|
-
"type": "string",
|
|
2068
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
2069
|
-
},
|
|
2070
2055
|
"required": {
|
|
2071
2056
|
"anyOf": [
|
|
2072
2057
|
{
|
|
@@ -2107,6 +2092,18 @@
|
|
|
2107
2092
|
"maxItems": 2,
|
|
2108
2093
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
2109
2094
|
},
|
|
2095
|
+
"name": {
|
|
2096
|
+
"type": "string",
|
|
2097
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2098
|
+
},
|
|
2099
|
+
"label": {
|
|
2100
|
+
"type": "string",
|
|
2101
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2102
|
+
},
|
|
2103
|
+
"comment": {
|
|
2104
|
+
"type": "string",
|
|
2105
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
2106
|
+
},
|
|
2110
2107
|
"hint": {
|
|
2111
2108
|
"type": "string",
|
|
2112
2109
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -2144,7 +2141,6 @@
|
|
|
2144
2141
|
},
|
|
2145
2142
|
"ListField": {
|
|
2146
2143
|
"type": "object",
|
|
2147
|
-
"additionalProperties": false,
|
|
2148
2144
|
"properties": {
|
|
2149
2145
|
"types": {
|
|
2150
2146
|
"type": "array",
|
|
@@ -2159,16 +2155,16 @@
|
|
|
2159
2155
|
},
|
|
2160
2156
|
"min": {
|
|
2161
2157
|
"type": "number",
|
|
2162
|
-
"description": "Minimum number of items that can be added. Default: 0
|
|
2158
|
+
"description": "Minimum number of items that can be added. Default: `0`."
|
|
2163
2159
|
},
|
|
2164
2160
|
"max": {
|
|
2165
2161
|
"type": "number",
|
|
2166
|
-
"description": "Maximum number of items that can be added. Default:
|
|
2162
|
+
"description": "Maximum number of items that can be added. Default: `Infinity`."
|
|
2167
2163
|
},
|
|
2168
2164
|
"widget": {
|
|
2169
2165
|
"type": "string",
|
|
2170
|
-
"
|
|
2171
|
-
"
|
|
2166
|
+
"const": "list",
|
|
2167
|
+
"description": "Widget name."
|
|
2172
2168
|
},
|
|
2173
2169
|
"default": {
|
|
2174
2170
|
"anyOf": [
|
|
@@ -2245,18 +2241,6 @@
|
|
|
2245
2241
|
"type": "boolean",
|
|
2246
2242
|
"description": "Whether to save the field value at the top-level of the data file without the field name. If the `single_file` i18n structure is enabled, the lists will still be saved under locale keys. Default: `false`. See https://github.com/sveltia/sveltia-cms#editing-data-files-with-a-top-level-list for details."
|
|
2247
2243
|
},
|
|
2248
|
-
"name": {
|
|
2249
|
-
"type": "string",
|
|
2250
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2251
|
-
},
|
|
2252
|
-
"label": {
|
|
2253
|
-
"type": "string",
|
|
2254
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2255
|
-
},
|
|
2256
|
-
"comment": {
|
|
2257
|
-
"type": "string",
|
|
2258
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
2259
|
-
},
|
|
2260
2244
|
"required": {
|
|
2261
2245
|
"anyOf": [
|
|
2262
2246
|
{
|
|
@@ -2297,6 +2281,18 @@
|
|
|
2297
2281
|
"maxItems": 2,
|
|
2298
2282
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
2299
2283
|
},
|
|
2284
|
+
"name": {
|
|
2285
|
+
"type": "string",
|
|
2286
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2287
|
+
},
|
|
2288
|
+
"label": {
|
|
2289
|
+
"type": "string",
|
|
2290
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2291
|
+
},
|
|
2292
|
+
"comment": {
|
|
2293
|
+
"type": "string",
|
|
2294
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
2295
|
+
},
|
|
2300
2296
|
"hint": {
|
|
2301
2297
|
"type": "string",
|
|
2302
2298
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -2368,12 +2364,11 @@
|
|
|
2368
2364
|
},
|
|
2369
2365
|
"MapField": {
|
|
2370
2366
|
"type": "object",
|
|
2371
|
-
"additionalProperties": false,
|
|
2372
2367
|
"properties": {
|
|
2373
2368
|
"widget": {
|
|
2374
2369
|
"type": "string",
|
|
2375
|
-
"
|
|
2376
|
-
"
|
|
2370
|
+
"const": "map",
|
|
2371
|
+
"description": "Widget name."
|
|
2377
2372
|
},
|
|
2378
2373
|
"default": {
|
|
2379
2374
|
"type": "string",
|
|
@@ -2381,7 +2376,7 @@
|
|
|
2381
2376
|
},
|
|
2382
2377
|
"decimals": {
|
|
2383
2378
|
"type": "number",
|
|
2384
|
-
"description": "Precision of coordinates to be saved. Default: 7
|
|
2379
|
+
"description": "Precision of coordinates to be saved. Default: `7`."
|
|
2385
2380
|
},
|
|
2386
2381
|
"type": {
|
|
2387
2382
|
"type": "string",
|
|
@@ -2390,19 +2385,7 @@
|
|
|
2390
2385
|
"LineString",
|
|
2391
2386
|
"Polygon"
|
|
2392
2387
|
],
|
|
2393
|
-
"description": "Geometry type. Default: Point
|
|
2394
|
-
},
|
|
2395
|
-
"name": {
|
|
2396
|
-
"type": "string",
|
|
2397
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2398
|
-
},
|
|
2399
|
-
"label": {
|
|
2400
|
-
"type": "string",
|
|
2401
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2402
|
-
},
|
|
2403
|
-
"comment": {
|
|
2404
|
-
"type": "string",
|
|
2405
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
2388
|
+
"description": "Geometry type. Default: `Point`."
|
|
2406
2389
|
},
|
|
2407
2390
|
"required": {
|
|
2408
2391
|
"anyOf": [
|
|
@@ -2444,6 +2427,18 @@
|
|
|
2444
2427
|
"maxItems": 2,
|
|
2445
2428
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
2446
2429
|
},
|
|
2430
|
+
"name": {
|
|
2431
|
+
"type": "string",
|
|
2432
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2433
|
+
},
|
|
2434
|
+
"label": {
|
|
2435
|
+
"type": "string",
|
|
2436
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2437
|
+
},
|
|
2438
|
+
"comment": {
|
|
2439
|
+
"type": "string",
|
|
2440
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
2441
|
+
},
|
|
2447
2442
|
"hint": {
|
|
2448
2443
|
"type": "string",
|
|
2449
2444
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -2481,12 +2476,11 @@
|
|
|
2481
2476
|
},
|
|
2482
2477
|
"MarkdownField": {
|
|
2483
2478
|
"type": "object",
|
|
2484
|
-
"additionalProperties": false,
|
|
2485
2479
|
"properties": {
|
|
2486
2480
|
"widget": {
|
|
2487
2481
|
"type": "string",
|
|
2488
|
-
"
|
|
2489
|
-
"
|
|
2482
|
+
"const": "markdown",
|
|
2483
|
+
"description": "Widget name."
|
|
2490
2484
|
},
|
|
2491
2485
|
"default": {
|
|
2492
2486
|
"type": "string",
|
|
@@ -2532,18 +2526,6 @@
|
|
|
2532
2526
|
"type": "boolean",
|
|
2533
2527
|
"description": "Whether to enable the linked images feature for the built-in `image` component. Default: `true`. When enabled, the image component provides an additional text field for specifying a URL to wrap the image as a link. The resulting Markdown output will be in the format `[](link)`, where clicking the image navigates to the provided link. This feature can be disabled if it causes conflicts with certain frameworks."
|
|
2534
2528
|
},
|
|
2535
|
-
"name": {
|
|
2536
|
-
"type": "string",
|
|
2537
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2538
|
-
},
|
|
2539
|
-
"label": {
|
|
2540
|
-
"type": "string",
|
|
2541
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2542
|
-
},
|
|
2543
|
-
"comment": {
|
|
2544
|
-
"type": "string",
|
|
2545
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
2546
|
-
},
|
|
2547
2529
|
"required": {
|
|
2548
2530
|
"anyOf": [
|
|
2549
2531
|
{
|
|
@@ -2584,6 +2566,18 @@
|
|
|
2584
2566
|
"maxItems": 2,
|
|
2585
2567
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
2586
2568
|
},
|
|
2569
|
+
"name": {
|
|
2570
|
+
"type": "string",
|
|
2571
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2572
|
+
},
|
|
2573
|
+
"label": {
|
|
2574
|
+
"type": "string",
|
|
2575
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2576
|
+
},
|
|
2577
|
+
"comment": {
|
|
2578
|
+
"type": "string",
|
|
2579
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
2580
|
+
},
|
|
2587
2581
|
"hint": {
|
|
2588
2582
|
"type": "string",
|
|
2589
2583
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -2656,7 +2650,6 @@
|
|
|
2656
2650
|
},
|
|
2657
2651
|
"NumberField": {
|
|
2658
2652
|
"type": "object",
|
|
2659
|
-
"additionalProperties": false,
|
|
2660
2653
|
"properties": {
|
|
2661
2654
|
"before_input": {
|
|
2662
2655
|
"type": "string",
|
|
@@ -2668,8 +2661,8 @@
|
|
|
2668
2661
|
},
|
|
2669
2662
|
"widget": {
|
|
2670
2663
|
"type": "string",
|
|
2671
|
-
"
|
|
2672
|
-
"
|
|
2664
|
+
"const": "number",
|
|
2665
|
+
"description": "Widget name."
|
|
2673
2666
|
},
|
|
2674
2667
|
"default": {
|
|
2675
2668
|
"type": [
|
|
@@ -2684,27 +2677,15 @@
|
|
|
2684
2677
|
},
|
|
2685
2678
|
"min": {
|
|
2686
2679
|
"type": "number",
|
|
2687
|
-
"description": "Minimum value that can be entered in the input. Default:
|
|
2680
|
+
"description": "Minimum value that can be entered in the input. Default: `-Infinity`."
|
|
2688
2681
|
},
|
|
2689
2682
|
"max": {
|
|
2690
2683
|
"type": "number",
|
|
2691
|
-
"description": "Maximum value that can be entered in the input. Default:
|
|
2684
|
+
"description": "Maximum value that can be entered in the input. Default: `Infinity`."
|
|
2692
2685
|
},
|
|
2693
2686
|
"step": {
|
|
2694
2687
|
"type": "number",
|
|
2695
|
-
"description": "Number to increase/decrease with the arrow key/button. Default: 1
|
|
2696
|
-
},
|
|
2697
|
-
"name": {
|
|
2698
|
-
"type": "string",
|
|
2699
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2700
|
-
},
|
|
2701
|
-
"label": {
|
|
2702
|
-
"type": "string",
|
|
2703
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2704
|
-
},
|
|
2705
|
-
"comment": {
|
|
2706
|
-
"type": "string",
|
|
2707
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
2688
|
+
"description": "Number to increase/decrease with the arrow key/button. Default: `1`."
|
|
2708
2689
|
},
|
|
2709
2690
|
"required": {
|
|
2710
2691
|
"anyOf": [
|
|
@@ -2746,6 +2727,18 @@
|
|
|
2746
2727
|
"maxItems": 2,
|
|
2747
2728
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
2748
2729
|
},
|
|
2730
|
+
"name": {
|
|
2731
|
+
"type": "string",
|
|
2732
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2733
|
+
},
|
|
2734
|
+
"label": {
|
|
2735
|
+
"type": "string",
|
|
2736
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2737
|
+
},
|
|
2738
|
+
"comment": {
|
|
2739
|
+
"type": "string",
|
|
2740
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
2741
|
+
},
|
|
2749
2742
|
"hint": {
|
|
2750
2743
|
"type": "string",
|
|
2751
2744
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -2783,7 +2776,6 @@
|
|
|
2783
2776
|
},
|
|
2784
2777
|
"ObjectField": {
|
|
2785
2778
|
"type": "object",
|
|
2786
|
-
"additionalProperties": false,
|
|
2787
2779
|
"properties": {
|
|
2788
2780
|
"types": {
|
|
2789
2781
|
"type": "array",
|
|
@@ -2798,8 +2790,8 @@
|
|
|
2798
2790
|
},
|
|
2799
2791
|
"widget": {
|
|
2800
2792
|
"type": "string",
|
|
2801
|
-
"
|
|
2802
|
-
"
|
|
2793
|
+
"const": "object",
|
|
2794
|
+
"description": "Widget name."
|
|
2803
2795
|
},
|
|
2804
2796
|
"default": {
|
|
2805
2797
|
"type": "object",
|
|
@@ -2828,18 +2820,6 @@
|
|
|
2828
2820
|
},
|
|
2829
2821
|
"description": "Set of fields to be included."
|
|
2830
2822
|
},
|
|
2831
|
-
"name": {
|
|
2832
|
-
"type": "string",
|
|
2833
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2834
|
-
},
|
|
2835
|
-
"label": {
|
|
2836
|
-
"type": "string",
|
|
2837
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2838
|
-
},
|
|
2839
|
-
"comment": {
|
|
2840
|
-
"type": "string",
|
|
2841
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
2842
|
-
},
|
|
2843
2823
|
"required": {
|
|
2844
2824
|
"anyOf": [
|
|
2845
2825
|
{
|
|
@@ -2880,6 +2860,18 @@
|
|
|
2880
2860
|
"maxItems": 2,
|
|
2881
2861
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
2882
2862
|
},
|
|
2863
|
+
"name": {
|
|
2864
|
+
"type": "string",
|
|
2865
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
2866
|
+
},
|
|
2867
|
+
"label": {
|
|
2868
|
+
"type": "string",
|
|
2869
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
2870
|
+
},
|
|
2871
|
+
"comment": {
|
|
2872
|
+
"type": "string",
|
|
2873
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
2874
|
+
},
|
|
2883
2875
|
"hint": {
|
|
2884
2876
|
"type": "string",
|
|
2885
2877
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -2918,7 +2910,6 @@
|
|
|
2918
2910
|
},
|
|
2919
2911
|
"RelationField": {
|
|
2920
2912
|
"type": "object",
|
|
2921
|
-
"additionalProperties": false,
|
|
2922
2913
|
"properties": {
|
|
2923
2914
|
"multiple": {
|
|
2924
2915
|
"type": "boolean",
|
|
@@ -2926,20 +2917,20 @@
|
|
|
2926
2917
|
},
|
|
2927
2918
|
"min": {
|
|
2928
2919
|
"type": "number",
|
|
2929
|
-
"description": "Minimum number of items that can be selected. Ignored if `multiple` is `false`. Default: 0
|
|
2920
|
+
"description": "Minimum number of items that can be selected. Ignored if `multiple` is `false`. Default: `0`."
|
|
2930
2921
|
},
|
|
2931
2922
|
"max": {
|
|
2932
2923
|
"type": "number",
|
|
2933
|
-
"description": "Maximum number of items that can be selected. Ignored if `multiple` is `false`. Default:
|
|
2924
|
+
"description": "Maximum number of items that can be selected. Ignored if `multiple` is `false`. Default: `Infinity`."
|
|
2934
2925
|
},
|
|
2935
2926
|
"dropdown_threshold": {
|
|
2936
2927
|
"type": "number",
|
|
2937
|
-
"description": "Maximum number of options to be displayed as radio buttons (single-select) or checkboxes (multi-select) rather than a dropdown list. Default: 5
|
|
2928
|
+
"description": "Maximum number of options to be displayed as radio buttons (single-select) or checkboxes (multi-select) rather than a dropdown list. Default: `5`."
|
|
2938
2929
|
},
|
|
2939
2930
|
"widget": {
|
|
2940
2931
|
"type": "string",
|
|
2941
|
-
"
|
|
2942
|
-
"
|
|
2932
|
+
"const": "relation",
|
|
2933
|
+
"description": "Widget name."
|
|
2943
2934
|
},
|
|
2944
2935
|
"default": {
|
|
2945
2936
|
"anyOf": [
|
|
@@ -2998,18 +2989,6 @@
|
|
|
2998
2989
|
},
|
|
2999
2990
|
"description": "Entry filter options."
|
|
3000
2991
|
},
|
|
3001
|
-
"name": {
|
|
3002
|
-
"type": "string",
|
|
3003
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
3004
|
-
},
|
|
3005
|
-
"label": {
|
|
3006
|
-
"type": "string",
|
|
3007
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
3008
|
-
},
|
|
3009
|
-
"comment": {
|
|
3010
|
-
"type": "string",
|
|
3011
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
3012
|
-
},
|
|
3013
2992
|
"required": {
|
|
3014
2993
|
"anyOf": [
|
|
3015
2994
|
{
|
|
@@ -3050,6 +3029,18 @@
|
|
|
3050
3029
|
"maxItems": 2,
|
|
3051
3030
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
3052
3031
|
},
|
|
3032
|
+
"name": {
|
|
3033
|
+
"type": "string",
|
|
3034
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
3035
|
+
},
|
|
3036
|
+
"label": {
|
|
3037
|
+
"type": "string",
|
|
3038
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
3039
|
+
},
|
|
3040
|
+
"comment": {
|
|
3041
|
+
"type": "string",
|
|
3042
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
3043
|
+
},
|
|
3053
3044
|
"hint": {
|
|
3054
3045
|
"type": "string",
|
|
3055
3046
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -3108,7 +3099,6 @@
|
|
|
3108
3099
|
},
|
|
3109
3100
|
"SelectField": {
|
|
3110
3101
|
"type": "object",
|
|
3111
|
-
"additionalProperties": false,
|
|
3112
3102
|
"properties": {
|
|
3113
3103
|
"multiple": {
|
|
3114
3104
|
"type": "boolean",
|
|
@@ -3116,20 +3106,20 @@
|
|
|
3116
3106
|
},
|
|
3117
3107
|
"min": {
|
|
3118
3108
|
"type": "number",
|
|
3119
|
-
"description": "Minimum number of items that can be selected. Ignored if `multiple` is `false`. Default: 0
|
|
3109
|
+
"description": "Minimum number of items that can be selected. Ignored if `multiple` is `false`. Default: `0`."
|
|
3120
3110
|
},
|
|
3121
3111
|
"max": {
|
|
3122
3112
|
"type": "number",
|
|
3123
|
-
"description": "Maximum number of items that can be selected. Ignored if `multiple` is `false`. Default:
|
|
3113
|
+
"description": "Maximum number of items that can be selected. Ignored if `multiple` is `false`. Default: `Infinity`."
|
|
3124
3114
|
},
|
|
3125
3115
|
"dropdown_threshold": {
|
|
3126
3116
|
"type": "number",
|
|
3127
|
-
"description": "Maximum number of options to be displayed as radio buttons (single-select) or checkboxes (multi-select) rather than a dropdown list. Default: 5
|
|
3117
|
+
"description": "Maximum number of options to be displayed as radio buttons (single-select) or checkboxes (multi-select) rather than a dropdown list. Default: `5`."
|
|
3128
3118
|
},
|
|
3129
3119
|
"widget": {
|
|
3130
3120
|
"type": "string",
|
|
3131
|
-
"
|
|
3132
|
-
"
|
|
3121
|
+
"const": "select",
|
|
3122
|
+
"description": "Widget name."
|
|
3133
3123
|
},
|
|
3134
3124
|
"default": {
|
|
3135
3125
|
"anyOf": [
|
|
@@ -3171,18 +3161,6 @@
|
|
|
3171
3161
|
],
|
|
3172
3162
|
"description": "Options."
|
|
3173
3163
|
},
|
|
3174
|
-
"name": {
|
|
3175
|
-
"type": "string",
|
|
3176
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
3177
|
-
},
|
|
3178
|
-
"label": {
|
|
3179
|
-
"type": "string",
|
|
3180
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
3181
|
-
},
|
|
3182
|
-
"comment": {
|
|
3183
|
-
"type": "string",
|
|
3184
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
3185
|
-
},
|
|
3186
3164
|
"required": {
|
|
3187
3165
|
"anyOf": [
|
|
3188
3166
|
{
|
|
@@ -3223,6 +3201,18 @@
|
|
|
3223
3201
|
"maxItems": 2,
|
|
3224
3202
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
3225
3203
|
},
|
|
3204
|
+
"name": {
|
|
3205
|
+
"type": "string",
|
|
3206
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
3207
|
+
},
|
|
3208
|
+
"label": {
|
|
3209
|
+
"type": "string",
|
|
3210
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
3211
|
+
},
|
|
3212
|
+
"comment": {
|
|
3213
|
+
"type": "string",
|
|
3214
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
3215
|
+
},
|
|
3226
3216
|
"hint": {
|
|
3227
3217
|
"type": "string",
|
|
3228
3218
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -3261,15 +3251,14 @@
|
|
|
3261
3251
|
},
|
|
3262
3252
|
"StringField": {
|
|
3263
3253
|
"type": "object",
|
|
3264
|
-
"additionalProperties": false,
|
|
3265
3254
|
"properties": {
|
|
3266
3255
|
"minlength": {
|
|
3267
3256
|
"type": "number",
|
|
3268
|
-
"description": "Minimum number of characters that can be entered in the input. Default: 0
|
|
3257
|
+
"description": "Minimum number of characters that can be entered in the input. Default: `0`."
|
|
3269
3258
|
},
|
|
3270
3259
|
"maxlength": {
|
|
3271
3260
|
"type": "number",
|
|
3272
|
-
"description": "Maximum number of characters that can be entered in the input. Default:
|
|
3261
|
+
"description": "Maximum number of characters that can be entered in the input. Default: `Infinity`."
|
|
3273
3262
|
},
|
|
3274
3263
|
"before_input": {
|
|
3275
3264
|
"type": "string",
|
|
@@ -3281,8 +3270,8 @@
|
|
|
3281
3270
|
},
|
|
3282
3271
|
"widget": {
|
|
3283
3272
|
"type": "string",
|
|
3284
|
-
"
|
|
3285
|
-
"
|
|
3273
|
+
"const": "string",
|
|
3274
|
+
"description": "Widget name."
|
|
3286
3275
|
},
|
|
3287
3276
|
"default": {
|
|
3288
3277
|
"type": "string",
|
|
@@ -3295,7 +3284,7 @@
|
|
|
3295
3284
|
"url",
|
|
3296
3285
|
"email"
|
|
3297
3286
|
],
|
|
3298
|
-
"description": "Data type. It’s useful when the input value needs a validation. Default: text
|
|
3287
|
+
"description": "Data type. It’s useful when the input value needs a validation. Default: `text`."
|
|
3299
3288
|
},
|
|
3300
3289
|
"prefix": {
|
|
3301
3290
|
"type": "string",
|
|
@@ -3305,18 +3294,6 @@
|
|
|
3305
3294
|
"type": "string",
|
|
3306
3295
|
"description": "A string to be appended to the value. Default: empty string."
|
|
3307
3296
|
},
|
|
3308
|
-
"name": {
|
|
3309
|
-
"type": "string",
|
|
3310
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
3311
|
-
},
|
|
3312
|
-
"label": {
|
|
3313
|
-
"type": "string",
|
|
3314
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
3315
|
-
},
|
|
3316
|
-
"comment": {
|
|
3317
|
-
"type": "string",
|
|
3318
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
3319
|
-
},
|
|
3320
3297
|
"required": {
|
|
3321
3298
|
"anyOf": [
|
|
3322
3299
|
{
|
|
@@ -3357,6 +3334,18 @@
|
|
|
3357
3334
|
"maxItems": 2,
|
|
3358
3335
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
3359
3336
|
},
|
|
3337
|
+
"name": {
|
|
3338
|
+
"type": "string",
|
|
3339
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
3340
|
+
},
|
|
3341
|
+
"label": {
|
|
3342
|
+
"type": "string",
|
|
3343
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
3344
|
+
},
|
|
3345
|
+
"comment": {
|
|
3346
|
+
"type": "string",
|
|
3347
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
3348
|
+
},
|
|
3360
3349
|
"hint": {
|
|
3361
3350
|
"type": "string",
|
|
3362
3351
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -3387,44 +3376,30 @@
|
|
|
3387
3376
|
}
|
|
3388
3377
|
},
|
|
3389
3378
|
"required": [
|
|
3390
|
-
"name"
|
|
3391
|
-
"widget"
|
|
3379
|
+
"name"
|
|
3392
3380
|
],
|
|
3393
3381
|
"description": "String field definition."
|
|
3394
3382
|
},
|
|
3395
3383
|
"TextField": {
|
|
3396
3384
|
"type": "object",
|
|
3397
|
-
"additionalProperties": false,
|
|
3398
3385
|
"properties": {
|
|
3399
3386
|
"minlength": {
|
|
3400
3387
|
"type": "number",
|
|
3401
|
-
"description": "Minimum number of characters that can be entered in the input. Default: 0
|
|
3388
|
+
"description": "Minimum number of characters that can be entered in the input. Default: `0`."
|
|
3402
3389
|
},
|
|
3403
3390
|
"maxlength": {
|
|
3404
3391
|
"type": "number",
|
|
3405
|
-
"description": "Maximum number of characters that can be entered in the input. Default:
|
|
3392
|
+
"description": "Maximum number of characters that can be entered in the input. Default: `Infinity`."
|
|
3406
3393
|
},
|
|
3407
3394
|
"widget": {
|
|
3408
3395
|
"type": "string",
|
|
3409
|
-
"
|
|
3410
|
-
"
|
|
3396
|
+
"const": "text",
|
|
3397
|
+
"description": "Widget name."
|
|
3411
3398
|
},
|
|
3412
3399
|
"default": {
|
|
3413
3400
|
"type": "string",
|
|
3414
3401
|
"description": "Default value."
|
|
3415
3402
|
},
|
|
3416
|
-
"name": {
|
|
3417
|
-
"type": "string",
|
|
3418
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
3419
|
-
},
|
|
3420
|
-
"label": {
|
|
3421
|
-
"type": "string",
|
|
3422
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
3423
|
-
},
|
|
3424
|
-
"comment": {
|
|
3425
|
-
"type": "string",
|
|
3426
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
3427
|
-
},
|
|
3428
3403
|
"required": {
|
|
3429
3404
|
"anyOf": [
|
|
3430
3405
|
{
|
|
@@ -3465,6 +3440,18 @@
|
|
|
3465
3440
|
"maxItems": 2,
|
|
3466
3441
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
3467
3442
|
},
|
|
3443
|
+
"name": {
|
|
3444
|
+
"type": "string",
|
|
3445
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
3446
|
+
},
|
|
3447
|
+
"label": {
|
|
3448
|
+
"type": "string",
|
|
3449
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
3450
|
+
},
|
|
3451
|
+
"comment": {
|
|
3452
|
+
"type": "string",
|
|
3453
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
3454
|
+
},
|
|
3468
3455
|
"hint": {
|
|
3469
3456
|
"type": "string",
|
|
3470
3457
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -3502,12 +3489,11 @@
|
|
|
3502
3489
|
},
|
|
3503
3490
|
"UuidField": {
|
|
3504
3491
|
"type": "object",
|
|
3505
|
-
"additionalProperties": false,
|
|
3506
3492
|
"properties": {
|
|
3507
3493
|
"widget": {
|
|
3508
3494
|
"type": "string",
|
|
3509
|
-
"
|
|
3510
|
-
"
|
|
3495
|
+
"const": "uuid",
|
|
3496
|
+
"description": "Widget name."
|
|
3511
3497
|
},
|
|
3512
3498
|
"default": {
|
|
3513
3499
|
"type": "string",
|
|
@@ -3525,18 +3511,6 @@
|
|
|
3525
3511
|
"type": "boolean",
|
|
3526
3512
|
"description": "Whether to make the field read-only. Default: `true`."
|
|
3527
3513
|
},
|
|
3528
|
-
"name": {
|
|
3529
|
-
"type": "string",
|
|
3530
|
-
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
3531
|
-
},
|
|
3532
|
-
"label": {
|
|
3533
|
-
"type": "string",
|
|
3534
|
-
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
3535
|
-
},
|
|
3536
|
-
"comment": {
|
|
3537
|
-
"type": "string",
|
|
3538
|
-
"description": "Short description of the field to be displayed in the editor UI."
|
|
3539
|
-
},
|
|
3540
3514
|
"required": {
|
|
3541
3515
|
"anyOf": [
|
|
3542
3516
|
{
|
|
@@ -3577,6 +3551,18 @@
|
|
|
3577
3551
|
"maxItems": 2,
|
|
3578
3552
|
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
3579
3553
|
},
|
|
3554
|
+
"name": {
|
|
3555
|
+
"type": "string",
|
|
3556
|
+
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
3557
|
+
},
|
|
3558
|
+
"label": {
|
|
3559
|
+
"type": "string",
|
|
3560
|
+
"description": "Label of the field to be displayed in the editor UI. Default: `name` field value."
|
|
3561
|
+
},
|
|
3562
|
+
"comment": {
|
|
3563
|
+
"type": "string",
|
|
3564
|
+
"description": "Short description of the field to be displayed in the editor UI."
|
|
3565
|
+
},
|
|
3580
3566
|
"hint": {
|
|
3581
3567
|
"type": "string",
|
|
3582
3568
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -3615,6 +3601,10 @@
|
|
|
3615
3601
|
"CustomField": {
|
|
3616
3602
|
"type": "object",
|
|
3617
3603
|
"properties": {
|
|
3604
|
+
"widget": {
|
|
3605
|
+
"type": "string",
|
|
3606
|
+
"description": "Widget name."
|
|
3607
|
+
},
|
|
3618
3608
|
"name": {
|
|
3619
3609
|
"type": "string",
|
|
3620
3610
|
"description": "Unique identifier for the field. It cannot include periods and spaces."
|
|
@@ -3627,50 +3617,6 @@
|
|
|
3627
3617
|
"type": "string",
|
|
3628
3618
|
"description": "Short description of the field to be displayed in the editor UI."
|
|
3629
3619
|
},
|
|
3630
|
-
"widget": {
|
|
3631
|
-
"type": "string",
|
|
3632
|
-
"description": "Name of a widget that defines the input UI and data type. Default: `string`."
|
|
3633
|
-
},
|
|
3634
|
-
"required": {
|
|
3635
|
-
"anyOf": [
|
|
3636
|
-
{
|
|
3637
|
-
"type": "boolean"
|
|
3638
|
-
},
|
|
3639
|
-
{
|
|
3640
|
-
"type": "array",
|
|
3641
|
-
"items": {
|
|
3642
|
-
"$ref": "#/definitions/LocaleCode"
|
|
3643
|
-
}
|
|
3644
|
-
}
|
|
3645
|
-
],
|
|
3646
|
-
"description": "Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."
|
|
3647
|
-
},
|
|
3648
|
-
"readonly": {
|
|
3649
|
-
"type": "boolean",
|
|
3650
|
-
"description": "Whether to make the field read-only. Default: `false`. This is useful when a `default` value is provided and the field should not be editable by users."
|
|
3651
|
-
},
|
|
3652
|
-
"pattern": {
|
|
3653
|
-
"type": "array",
|
|
3654
|
-
"minItems": 2,
|
|
3655
|
-
"items": [
|
|
3656
|
-
{
|
|
3657
|
-
"anyOf": [
|
|
3658
|
-
{
|
|
3659
|
-
"type": "string"
|
|
3660
|
-
},
|
|
3661
|
-
{
|
|
3662
|
-
"type": "string",
|
|
3663
|
-
"format": "regex"
|
|
3664
|
-
}
|
|
3665
|
-
]
|
|
3666
|
-
},
|
|
3667
|
-
{
|
|
3668
|
-
"type": "string"
|
|
3669
|
-
}
|
|
3670
|
-
],
|
|
3671
|
-
"maxItems": 2,
|
|
3672
|
-
"description": "Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message. This option has no effect on a List or Object field with subfields."
|
|
3673
|
-
},
|
|
3674
3620
|
"hint": {
|
|
3675
3621
|
"type": "string",
|
|
3676
3622
|
"description": "Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough and links."
|
|
@@ -3701,9 +3647,10 @@
|
|
|
3701
3647
|
}
|
|
3702
3648
|
},
|
|
3703
3649
|
"required": [
|
|
3704
|
-
"name"
|
|
3650
|
+
"name",
|
|
3651
|
+
"widget"
|
|
3705
3652
|
],
|
|
3706
|
-
"description": "Entry field using a custom widget.
|
|
3653
|
+
"description": "Entry field using a custom widget."
|
|
3707
3654
|
},
|
|
3708
3655
|
"FileFormat": {
|
|
3709
3656
|
"anyOf": [
|
|
@@ -3997,7 +3944,7 @@
|
|
|
3997
3944
|
"properties": {
|
|
3998
3945
|
"depth": {
|
|
3999
3946
|
"type": "number",
|
|
4000
|
-
"description": "Maximum depth to show nested items in the collection tree. Default:
|
|
3947
|
+
"description": "Maximum depth to show nested items in the collection tree. Default: `Infinity`."
|
|
4001
3948
|
},
|
|
4002
3949
|
"summary": {
|
|
4003
3950
|
"type": "string",
|
|
@@ -4068,6 +4015,24 @@
|
|
|
4068
4015
|
"additionalProperties": false,
|
|
4069
4016
|
"description": "Index file inclusion options."
|
|
4070
4017
|
},
|
|
4018
|
+
"CollectionDivider": {
|
|
4019
|
+
"type": "object",
|
|
4020
|
+
"properties": {
|
|
4021
|
+
"name": {
|
|
4022
|
+
"type": "string",
|
|
4023
|
+
"description": "Unique identifier for the divider. Can be omitted, but it must be unique across all the collections and singletons. This property is included here because in the previous version of Sveltia CMS, a divider was defined as a collection with the `divider` option set to `true`, and the `name` option was required."
|
|
4024
|
+
},
|
|
4025
|
+
"divider": {
|
|
4026
|
+
"type": "boolean",
|
|
4027
|
+
"description": "Whether to make this collection a divider UI in the collection list. It must be `true` to be used as a divider."
|
|
4028
|
+
}
|
|
4029
|
+
},
|
|
4030
|
+
"required": [
|
|
4031
|
+
"divider"
|
|
4032
|
+
],
|
|
4033
|
+
"additionalProperties": false,
|
|
4034
|
+
"description": "A divider in the collection list and singleton list."
|
|
4035
|
+
},
|
|
4071
4036
|
"OutputOptions": {
|
|
4072
4037
|
"type": "object",
|
|
4073
4038
|
"properties": {
|
|
@@ -4104,7 +4069,7 @@
|
|
|
4104
4069
|
},
|
|
4105
4070
|
"indent_size": {
|
|
4106
4071
|
"type": "number",
|
|
4107
|
-
"description": "Indent size. Default: 2
|
|
4072
|
+
"description": "Indent size. Default: `2`."
|
|
4108
4073
|
}
|
|
4109
4074
|
},
|
|
4110
4075
|
"additionalProperties": false,
|
|
@@ -4115,7 +4080,7 @@
|
|
|
4115
4080
|
"properties": {
|
|
4116
4081
|
"indent_size": {
|
|
4117
4082
|
"type": "number",
|
|
4118
|
-
"description": "Indent size. Default: 2
|
|
4083
|
+
"description": "Indent size. Default: `2`."
|
|
4119
4084
|
},
|
|
4120
4085
|
"quote": {
|
|
4121
4086
|
"type": "string",
|