@cloudcannon/configuration-types 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cloudcannon-config-eleventy.json +390 -77
- package/build/cloudcannon-config-hugo.json +390 -77
- package/build/cloudcannon-config-jekyll.json +390 -77
- package/build/cloudcannon-config-reader.json +415 -105
- package/build/cloudcannon-config.json +325 -94
- package/package.json +1 -1
- package/src/build-coupled.d.ts +47 -4
- package/src/configuration.d.ts +27 -65
|
@@ -163,7 +163,8 @@
|
|
|
163
163
|
"right",
|
|
164
164
|
"space right",
|
|
165
165
|
"below",
|
|
166
|
-
"newline below"
|
|
166
|
+
"newline below",
|
|
167
|
+
"right-of-prefix"
|
|
167
168
|
],
|
|
168
169
|
"type": "string"
|
|
169
170
|
},
|
|
@@ -401,7 +402,7 @@
|
|
|
401
402
|
"type": "boolean"
|
|
402
403
|
},
|
|
403
404
|
"paths": {
|
|
404
|
-
"$ref": "#/definitions/
|
|
405
|
+
"$ref": "#/definitions/Paths",
|
|
405
406
|
"description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
|
|
406
407
|
"markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
|
|
407
408
|
},
|
|
@@ -917,11 +918,6 @@
|
|
|
917
918
|
"markdownDescription": "The set of schemas for this collection. Schemas are used when creating and editing files in\nthis collection. Each entry corresponds to a schema that describes a data structure for this\ncollection.\n\nThe keys in this object should match the values used for schema_key inside each of this\ncollection's files. default is a special entry and is used when a file has no schema.",
|
|
918
919
|
"type": "object"
|
|
919
920
|
},
|
|
920
|
-
"singular_key": {
|
|
921
|
-
"description": "Overrides the default singular input key of the collection. This is used for naming conventions for select and multiselect inputs.",
|
|
922
|
-
"markdownDescription": "Overrides the default singular input key of the collection. This is used for naming conventions\nfor select and multiselect inputs.",
|
|
923
|
-
"type": "string"
|
|
924
|
-
},
|
|
925
921
|
"singular_name": {
|
|
926
922
|
"description": "Overrides the default singular display name of the collection. This is displayed in the collection add menu and file context menu.",
|
|
927
923
|
"markdownDescription": "Overrides the default singular display name of the collection. This is displayed in the\ncollection add menu and file context menu.",
|
|
@@ -1268,8 +1264,8 @@
|
|
|
1268
1264
|
},
|
|
1269
1265
|
"paths": {
|
|
1270
1266
|
"$ref": "#/definitions/Paths",
|
|
1271
|
-
"description": "
|
|
1272
|
-
"markdownDescription": "
|
|
1267
|
+
"description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
|
|
1268
|
+
"markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
|
|
1273
1269
|
},
|
|
1274
1270
|
"source": {
|
|
1275
1271
|
"description": "Base path to your site source files, relative to the root folder.",
|
|
@@ -1344,19 +1340,6 @@
|
|
|
1344
1340
|
"DataConfigEntry": {
|
|
1345
1341
|
"additionalProperties": false,
|
|
1346
1342
|
"properties": {
|
|
1347
|
-
"parser": {
|
|
1348
|
-
"description": "Overrides the format files are read. Detected automatically from file extension if unset.",
|
|
1349
|
-
"enum": [
|
|
1350
|
-
"csv",
|
|
1351
|
-
"front-matter",
|
|
1352
|
-
"json",
|
|
1353
|
-
"properties",
|
|
1354
|
-
"toml",
|
|
1355
|
-
"yaml"
|
|
1356
|
-
],
|
|
1357
|
-
"markdownDescription": "Overrides the format files are read. Detected automatically from file extension if unset.",
|
|
1358
|
-
"type": "string"
|
|
1359
|
-
},
|
|
1360
1343
|
"path": {
|
|
1361
1344
|
"description": "The path to a file or folder of files containing data.",
|
|
1362
1345
|
"markdownDescription": "The path to a file or folder of files containing data.",
|
|
@@ -1778,7 +1761,7 @@
|
|
|
1778
1761
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
1779
1762
|
},
|
|
1780
1763
|
"paths": {
|
|
1781
|
-
"$ref": "#/definitions/
|
|
1764
|
+
"$ref": "#/definitions/Paths",
|
|
1782
1765
|
"description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
|
|
1783
1766
|
"markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
|
|
1784
1767
|
}
|
|
@@ -3952,7 +3935,7 @@
|
|
|
3952
3935
|
"type": "string"
|
|
3953
3936
|
},
|
|
3954
3937
|
"paths": {
|
|
3955
|
-
"$ref": "#/definitions/
|
|
3938
|
+
"$ref": "#/definitions/Paths",
|
|
3956
3939
|
"description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
|
|
3957
3940
|
"markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
|
|
3958
3941
|
},
|
|
@@ -4147,7 +4130,7 @@
|
|
|
4147
4130
|
"type": "string"
|
|
4148
4131
|
},
|
|
4149
4132
|
"paths": {
|
|
4150
|
-
"$ref": "#/definitions/
|
|
4133
|
+
"$ref": "#/definitions/Paths",
|
|
4151
4134
|
"description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
|
|
4152
4135
|
"markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
|
|
4153
4136
|
},
|
|
@@ -4305,7 +4288,7 @@
|
|
|
4305
4288
|
"additionalProperties": false,
|
|
4306
4289
|
"properties": {
|
|
4307
4290
|
"paths": {
|
|
4308
|
-
"$ref": "#/definitions/
|
|
4291
|
+
"$ref": "#/definitions/Paths",
|
|
4309
4292
|
"description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
|
|
4310
4293
|
"markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
|
|
4311
4294
|
}
|
|
@@ -4315,35 +4298,347 @@
|
|
|
4315
4298
|
"MarkdownAttributeElementOptions": {
|
|
4316
4299
|
"additionalProperties": false,
|
|
4317
4300
|
"properties": {
|
|
4301
|
+
"a": {
|
|
4302
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4303
|
+
},
|
|
4304
|
+
"abbr": {
|
|
4305
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4306
|
+
},
|
|
4307
|
+
"address": {
|
|
4308
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4309
|
+
},
|
|
4310
|
+
"area": {
|
|
4311
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4312
|
+
},
|
|
4313
|
+
"article": {
|
|
4314
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4315
|
+
},
|
|
4316
|
+
"aside": {
|
|
4317
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4318
|
+
},
|
|
4319
|
+
"audio": {
|
|
4320
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4321
|
+
},
|
|
4322
|
+
"b": {
|
|
4323
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4324
|
+
},
|
|
4325
|
+
"base": {
|
|
4326
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4327
|
+
},
|
|
4328
|
+
"bdi": {
|
|
4329
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4330
|
+
},
|
|
4331
|
+
"bdo": {
|
|
4332
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4333
|
+
},
|
|
4318
4334
|
"block": {
|
|
4319
4335
|
"$ref": "#/definitions/AttributeListPosition"
|
|
4320
4336
|
},
|
|
4321
4337
|
"blockquote": {
|
|
4322
4338
|
"$ref": "#/definitions/AttributeListPosition"
|
|
4323
4339
|
},
|
|
4340
|
+
"body": {
|
|
4341
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4342
|
+
},
|
|
4343
|
+
"br": {
|
|
4344
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4345
|
+
},
|
|
4346
|
+
"button": {
|
|
4347
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4348
|
+
},
|
|
4349
|
+
"canvas": {
|
|
4350
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4351
|
+
},
|
|
4352
|
+
"caption": {
|
|
4353
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4354
|
+
},
|
|
4355
|
+
"cite": {
|
|
4356
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4357
|
+
},
|
|
4358
|
+
"code": {
|
|
4359
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4360
|
+
},
|
|
4361
|
+
"col": {
|
|
4362
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4363
|
+
},
|
|
4364
|
+
"colgroup": {
|
|
4365
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4366
|
+
},
|
|
4367
|
+
"data": {
|
|
4368
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4369
|
+
},
|
|
4370
|
+
"datalist": {
|
|
4371
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4372
|
+
},
|
|
4373
|
+
"dd": {
|
|
4374
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4375
|
+
},
|
|
4376
|
+
"del": {
|
|
4377
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4378
|
+
},
|
|
4379
|
+
"details": {
|
|
4380
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4381
|
+
},
|
|
4382
|
+
"dfn": {
|
|
4383
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4384
|
+
},
|
|
4385
|
+
"dialog": {
|
|
4386
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4387
|
+
},
|
|
4388
|
+
"div": {
|
|
4389
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4390
|
+
},
|
|
4391
|
+
"dl": {
|
|
4392
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4393
|
+
},
|
|
4394
|
+
"dt": {
|
|
4395
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4396
|
+
},
|
|
4397
|
+
"em": {
|
|
4398
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4399
|
+
},
|
|
4400
|
+
"embed": {
|
|
4401
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4402
|
+
},
|
|
4403
|
+
"fieldset": {
|
|
4404
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4405
|
+
},
|
|
4406
|
+
"figcaption": {
|
|
4407
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4408
|
+
},
|
|
4409
|
+
"figure": {
|
|
4410
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4411
|
+
},
|
|
4412
|
+
"footer": {
|
|
4413
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4414
|
+
},
|
|
4415
|
+
"form": {
|
|
4416
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4417
|
+
},
|
|
4418
|
+
"h1": {
|
|
4419
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4420
|
+
},
|
|
4421
|
+
"h2": {
|
|
4422
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4423
|
+
},
|
|
4424
|
+
"h3": {
|
|
4425
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4426
|
+
},
|
|
4427
|
+
"h4": {
|
|
4428
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4429
|
+
},
|
|
4430
|
+
"h5": {
|
|
4431
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4432
|
+
},
|
|
4433
|
+
"h6": {
|
|
4434
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4435
|
+
},
|
|
4436
|
+
"head": {
|
|
4437
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4438
|
+
},
|
|
4439
|
+
"header": {
|
|
4440
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4441
|
+
},
|
|
4442
|
+
"hgroup": {
|
|
4443
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4444
|
+
},
|
|
4445
|
+
"hr": {
|
|
4446
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4447
|
+
},
|
|
4448
|
+
"html": {
|
|
4449
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4450
|
+
},
|
|
4451
|
+
"i": {
|
|
4452
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4453
|
+
},
|
|
4454
|
+
"iframe": {
|
|
4455
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4456
|
+
},
|
|
4324
4457
|
"img": {
|
|
4325
4458
|
"$ref": "#/definitions/AttributeListPosition"
|
|
4326
4459
|
},
|
|
4327
4460
|
"inline": {
|
|
4328
4461
|
"$ref": "#/definitions/AttributeListPosition"
|
|
4329
4462
|
},
|
|
4463
|
+
"input": {
|
|
4464
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4465
|
+
},
|
|
4466
|
+
"ins": {
|
|
4467
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4468
|
+
},
|
|
4469
|
+
"kbd": {
|
|
4470
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4471
|
+
},
|
|
4472
|
+
"label": {
|
|
4473
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4474
|
+
},
|
|
4475
|
+
"legend": {
|
|
4476
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4477
|
+
},
|
|
4330
4478
|
"li": {
|
|
4331
4479
|
"$ref": "#/definitions/AttributeListPosition"
|
|
4332
4480
|
},
|
|
4481
|
+
"link": {
|
|
4482
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4483
|
+
},
|
|
4484
|
+
"main": {
|
|
4485
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4486
|
+
},
|
|
4487
|
+
"map": {
|
|
4488
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4489
|
+
},
|
|
4490
|
+
"mark": {
|
|
4491
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4492
|
+
},
|
|
4493
|
+
"menu": {
|
|
4494
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4495
|
+
},
|
|
4496
|
+
"meta": {
|
|
4497
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4498
|
+
},
|
|
4499
|
+
"meter": {
|
|
4500
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4501
|
+
},
|
|
4502
|
+
"nav": {
|
|
4503
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4504
|
+
},
|
|
4505
|
+
"noscript": {
|
|
4506
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4507
|
+
},
|
|
4508
|
+
"object": {
|
|
4509
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4510
|
+
},
|
|
4333
4511
|
"ol": {
|
|
4334
4512
|
"$ref": "#/definitions/AttributeListPosition"
|
|
4335
4513
|
},
|
|
4514
|
+
"optgroup": {
|
|
4515
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4516
|
+
},
|
|
4517
|
+
"option": {
|
|
4518
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4519
|
+
},
|
|
4520
|
+
"output": {
|
|
4521
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4522
|
+
},
|
|
4523
|
+
"p": {
|
|
4524
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4525
|
+
},
|
|
4526
|
+
"picture": {
|
|
4527
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4528
|
+
},
|
|
4529
|
+
"pre": {
|
|
4530
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4531
|
+
},
|
|
4532
|
+
"progress": {
|
|
4533
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4534
|
+
},
|
|
4535
|
+
"q": {
|
|
4536
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4537
|
+
},
|
|
4538
|
+
"rp": {
|
|
4539
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4540
|
+
},
|
|
4541
|
+
"rt": {
|
|
4542
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4543
|
+
},
|
|
4544
|
+
"ruby": {
|
|
4545
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4546
|
+
},
|
|
4547
|
+
"s": {
|
|
4548
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4549
|
+
},
|
|
4550
|
+
"samp": {
|
|
4551
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4552
|
+
},
|
|
4553
|
+
"script": {
|
|
4554
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4555
|
+
},
|
|
4556
|
+
"search": {
|
|
4557
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4558
|
+
},
|
|
4559
|
+
"section": {
|
|
4560
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4561
|
+
},
|
|
4562
|
+
"select": {
|
|
4563
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4564
|
+
},
|
|
4565
|
+
"slot": {
|
|
4566
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4567
|
+
},
|
|
4568
|
+
"small": {
|
|
4569
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4570
|
+
},
|
|
4571
|
+
"source": {
|
|
4572
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4573
|
+
},
|
|
4574
|
+
"span": {
|
|
4575
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4576
|
+
},
|
|
4577
|
+
"strong": {
|
|
4578
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4579
|
+
},
|
|
4580
|
+
"style": {
|
|
4581
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4582
|
+
},
|
|
4583
|
+
"sub": {
|
|
4584
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4585
|
+
},
|
|
4586
|
+
"summary": {
|
|
4587
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4588
|
+
},
|
|
4589
|
+
"sup": {
|
|
4590
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4591
|
+
},
|
|
4336
4592
|
"table": {
|
|
4337
4593
|
"$ref": "#/definitions/AttributeListPosition"
|
|
4338
4594
|
},
|
|
4595
|
+
"tbody": {
|
|
4596
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4597
|
+
},
|
|
4339
4598
|
"td": {
|
|
4340
4599
|
"$ref": "#/definitions/AttributeListPosition"
|
|
4341
4600
|
},
|
|
4601
|
+
"template": {
|
|
4602
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4603
|
+
},
|
|
4604
|
+
"textarea": {
|
|
4605
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4606
|
+
},
|
|
4607
|
+
"tfoot": {
|
|
4608
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4609
|
+
},
|
|
4610
|
+
"th": {
|
|
4611
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4612
|
+
},
|
|
4613
|
+
"thead": {
|
|
4614
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4615
|
+
},
|
|
4616
|
+
"time": {
|
|
4617
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4618
|
+
},
|
|
4619
|
+
"title": {
|
|
4620
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4621
|
+
},
|
|
4342
4622
|
"tr": {
|
|
4343
4623
|
"$ref": "#/definitions/AttributeListPosition"
|
|
4344
4624
|
},
|
|
4625
|
+
"track": {
|
|
4626
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4627
|
+
},
|
|
4628
|
+
"u": {
|
|
4629
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4630
|
+
},
|
|
4345
4631
|
"ul": {
|
|
4346
4632
|
"$ref": "#/definitions/AttributeListPosition"
|
|
4633
|
+
},
|
|
4634
|
+
"var": {
|
|
4635
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4636
|
+
},
|
|
4637
|
+
"video": {
|
|
4638
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4639
|
+
},
|
|
4640
|
+
"wbr": {
|
|
4641
|
+
"$ref": "#/definitions/AttributeListPosition"
|
|
4347
4642
|
}
|
|
4348
4643
|
},
|
|
4349
4644
|
"type": "object"
|
|
@@ -4412,7 +4707,7 @@
|
|
|
4412
4707
|
},
|
|
4413
4708
|
"quotes": {
|
|
4414
4709
|
"description": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For example, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).",
|
|
4415
|
-
"markdownDescription": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For
|
|
4710
|
+
"markdownDescription": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For\nexample, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\\xA0', '\\xA0»', '‹\\xA0',\n'\\xA0›'] for French (including nbsp).",
|
|
4416
4711
|
"type": "string"
|
|
4417
4712
|
},
|
|
4418
4713
|
"sentence_per_line": {
|
|
@@ -5470,11 +5765,6 @@
|
|
|
5470
5765
|
"Paths": {
|
|
5471
5766
|
"additionalProperties": false,
|
|
5472
5767
|
"properties": {
|
|
5473
|
-
"collections": {
|
|
5474
|
-
"description": "Parent folder of all collections.",
|
|
5475
|
-
"markdownDescription": "Parent folder of all collections.",
|
|
5476
|
-
"type": "string"
|
|
5477
|
-
},
|
|
5478
5768
|
"dam_static": {
|
|
5479
5769
|
"default": "",
|
|
5480
5770
|
"description": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM Uploads_ path when CloudCannon outputs the URL of an asset.",
|
|
@@ -5492,21 +5782,6 @@
|
|
|
5492
5782
|
"markdownDescription": "Filename template for newly uploaded DAM files.",
|
|
5493
5783
|
"type": "string"
|
|
5494
5784
|
},
|
|
5495
|
-
"data": {
|
|
5496
|
-
"description": "Parent folder of all site data files.",
|
|
5497
|
-
"markdownDescription": "Parent folder of all site data files.",
|
|
5498
|
-
"type": "string"
|
|
5499
|
-
},
|
|
5500
|
-
"includes": {
|
|
5501
|
-
"description": "Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
|
|
5502
|
-
"markdownDescription": "Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and\nEleventy sites_.",
|
|
5503
|
-
"type": "string"
|
|
5504
|
-
},
|
|
5505
|
-
"layouts": {
|
|
5506
|
-
"description": "Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
|
|
5507
|
-
"markdownDescription": "Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
|
|
5508
|
-
"type": "string"
|
|
5509
|
-
},
|
|
5510
5785
|
"static": {
|
|
5511
5786
|
"description": "Location of assets that are statically copied to the output site. This prefix will be removed from the _Uploads_ path when CloudCannon outputs the URL of an asset.",
|
|
5512
5787
|
"markdownDescription": "Location of assets that are statically copied to the output site. This prefix will be removed\nfrom the _Uploads_ path when CloudCannon outputs the URL of an asset.",
|
|
@@ -5790,50 +6065,6 @@
|
|
|
5790
6065
|
],
|
|
5791
6066
|
"type": "object"
|
|
5792
6067
|
},
|
|
5793
|
-
"ReducedPaths": {
|
|
5794
|
-
"additionalProperties": false,
|
|
5795
|
-
"properties": {
|
|
5796
|
-
"dam_static": {
|
|
5797
|
-
"default": "",
|
|
5798
|
-
"description": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM Uploads_ path when CloudCannon outputs the URL of an asset.",
|
|
5799
|
-
"markdownDescription": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM\nUploads_ path when CloudCannon outputs the URL of an asset.",
|
|
5800
|
-
"type": "string"
|
|
5801
|
-
},
|
|
5802
|
-
"dam_uploads": {
|
|
5803
|
-
"default": "",
|
|
5804
|
-
"description": "Default location of newly uploaded DAM files.",
|
|
5805
|
-
"markdownDescription": "Default location of newly uploaded DAM files.",
|
|
5806
|
-
"type": "string"
|
|
5807
|
-
},
|
|
5808
|
-
"dam_uploads_filename": {
|
|
5809
|
-
"description": "Filename template for newly uploaded DAM files.",
|
|
5810
|
-
"markdownDescription": "Filename template for newly uploaded DAM files.",
|
|
5811
|
-
"type": "string"
|
|
5812
|
-
},
|
|
5813
|
-
"static": {
|
|
5814
|
-
"description": "Location of assets that are statically copied to the output site. This prefix will be removed from the _Uploads_ path when CloudCannon outputs the URL of an asset.",
|
|
5815
|
-
"markdownDescription": "Location of assets that are statically copied to the output site. This prefix will be removed\nfrom the _Uploads_ path when CloudCannon outputs the URL of an asset.",
|
|
5816
|
-
"type": "string"
|
|
5817
|
-
},
|
|
5818
|
-
"uploads": {
|
|
5819
|
-
"default": "uploads",
|
|
5820
|
-
"description": "Default location of newly uploaded site files.",
|
|
5821
|
-
"markdownDescription": "Default location of newly uploaded site files.",
|
|
5822
|
-
"type": "string"
|
|
5823
|
-
},
|
|
5824
|
-
"uploads_filename": {
|
|
5825
|
-
"description": "Filename template for newly uploaded site files.",
|
|
5826
|
-
"markdownDescription": "Filename template for newly uploaded site files.",
|
|
5827
|
-
"type": "string"
|
|
5828
|
-
},
|
|
5829
|
-
"uploads_use_relative_path": {
|
|
5830
|
-
"description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
|
|
5831
|
-
"markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were\nuploaded to.",
|
|
5832
|
-
"type": "boolean"
|
|
5833
|
-
}
|
|
5834
|
-
},
|
|
5835
|
-
"type": "object"
|
|
5836
|
-
},
|
|
5837
6068
|
"RichTextInput": {
|
|
5838
6069
|
"additionalProperties": false,
|
|
5839
6070
|
"properties": {
|
|
@@ -6072,7 +6303,7 @@
|
|
|
6072
6303
|
"type": "boolean"
|
|
6073
6304
|
},
|
|
6074
6305
|
"paths": {
|
|
6075
|
-
"$ref": "#/definitions/
|
|
6306
|
+
"$ref": "#/definitions/Paths",
|
|
6076
6307
|
"description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
|
|
6077
6308
|
"markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
|
|
6078
6309
|
},
|
|
@@ -7414,7 +7645,7 @@
|
|
|
7414
7645
|
"type": "boolean"
|
|
7415
7646
|
},
|
|
7416
7647
|
"paths": {
|
|
7417
|
-
"$ref": "#/definitions/
|
|
7648
|
+
"$ref": "#/definitions/Paths",
|
|
7418
7649
|
"description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
|
|
7419
7650
|
"markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
|
|
7420
7651
|
},
|
|
@@ -8377,7 +8608,7 @@
|
|
|
8377
8608
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
8378
8609
|
},
|
|
8379
8610
|
"paths": {
|
|
8380
|
-
"$ref": "#/definitions/
|
|
8611
|
+
"$ref": "#/definitions/Paths",
|
|
8381
8612
|
"description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
|
|
8382
8613
|
"markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
|
|
8383
8614
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcannon/configuration-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Contains TypeScript declarations and generates JSONSchema files for the CloudCannon configuration file.",
|
|
5
5
|
"author": "CloudCannon <support@cloudcannon.com>",
|
|
6
6
|
"license": "MIT",
|
package/src/build-coupled.d.ts
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
|
-
import { CollectionConfig, Configuration,
|
|
1
|
+
import { CollectionConfig, Configuration, DataConfigEntry, Paths } from './configuration';
|
|
2
|
+
|
|
3
|
+
export interface BuildCoupledPaths extends Paths {
|
|
4
|
+
/**
|
|
5
|
+
* Parent folder of all collections.
|
|
6
|
+
*/
|
|
7
|
+
collections?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Parent folder of all site data files.
|
|
10
|
+
*/
|
|
11
|
+
data?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.
|
|
14
|
+
*/
|
|
15
|
+
layouts?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and
|
|
18
|
+
* Eleventy sites_.
|
|
19
|
+
*/
|
|
20
|
+
includes?: string;
|
|
21
|
+
}
|
|
2
22
|
|
|
3
23
|
export type FilterBase = 'none' | 'all' | 'strict';
|
|
4
24
|
|
|
@@ -20,6 +40,13 @@ export interface Filter {
|
|
|
20
40
|
exclude?: string[];
|
|
21
41
|
}
|
|
22
42
|
|
|
43
|
+
interface Parseable {
|
|
44
|
+
/**
|
|
45
|
+
* Overrides the format files are read. Detected automatically from file extension if unset.
|
|
46
|
+
*/
|
|
47
|
+
parser?: 'csv' | 'front-matter' | 'json' | 'properties' | 'toml' | 'yaml';
|
|
48
|
+
}
|
|
49
|
+
|
|
23
50
|
interface Filterable {
|
|
24
51
|
/**
|
|
25
52
|
* Controls which files are displayed in the collection list. Does not change which files are
|
|
@@ -39,12 +66,20 @@ interface WithCollectionsConfigOverride {
|
|
|
39
66
|
/**
|
|
40
67
|
* The `collections_config` entry format for build-coupled non-Jekyll/Hugo/Eleventy sites.
|
|
41
68
|
*/
|
|
42
|
-
export interface ReaderCollectionConfig extends CollectionConfig, Parseable, Filterable {
|
|
69
|
+
export interface ReaderCollectionConfig extends CollectionConfig, Parseable, Filterable {
|
|
70
|
+
/**
|
|
71
|
+
* Overrides the default singular input key of the collection. This is used for naming conventions
|
|
72
|
+
* for select and multiselect inputs.
|
|
73
|
+
*/
|
|
74
|
+
singular_key?: string;
|
|
75
|
+
}
|
|
43
76
|
|
|
44
77
|
/**
|
|
45
78
|
* The configuration format for build-coupled non-Jekyll/Hugo/Eleventy sites.
|
|
46
79
|
*/
|
|
47
80
|
export interface ReaderConfiguration extends Configuration {
|
|
81
|
+
paths?: BuildCoupledPaths;
|
|
82
|
+
data_config?: Record<string, DataConfigEntry & Parseable>;
|
|
48
83
|
collections_config?: Record<string, ReaderCollectionConfig>;
|
|
49
84
|
/**
|
|
50
85
|
* Generates the integration file in another folder. Not applicable to Jekyll, Hugo, and Eleventy.
|
|
@@ -53,11 +88,19 @@ export interface ReaderConfiguration extends Configuration {
|
|
|
53
88
|
output?: string;
|
|
54
89
|
}
|
|
55
90
|
|
|
56
|
-
export interface BuildCoupledCollectionConfig extends Omit<CollectionConfig, 'url'>, Filterable {
|
|
91
|
+
export interface BuildCoupledCollectionConfig extends Omit<CollectionConfig, 'url'>, Filterable {
|
|
92
|
+
/**
|
|
93
|
+
* Overrides the default singular input key of the collection. This is used for naming conventions
|
|
94
|
+
* for select and multiselect inputs.
|
|
95
|
+
*/
|
|
96
|
+
singular_key?: string;
|
|
97
|
+
}
|
|
57
98
|
|
|
58
99
|
interface BuildCoupledConfiguration
|
|
59
100
|
extends Omit<Configuration, 'data_config'>,
|
|
60
|
-
WithCollectionsConfigOverride {
|
|
101
|
+
WithCollectionsConfigOverride {
|
|
102
|
+
paths?: BuildCoupledPaths;
|
|
103
|
+
}
|
|
61
104
|
|
|
62
105
|
/**
|
|
63
106
|
* The `collections_config` entry format for build-coupled Hugo sites.
|