@cloudcannon/configuration-types 0.0.43 → 0.0.44

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.
@@ -2,7 +2,6 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "title": "Configuration",
4
4
  "description": "The main CloudCannon configuration.",
5
- "$id": "https://github.com/cloudcannon/configuration-types/releases/latest/download/cloudcannon-config.latest.schema.json",
6
5
  "id": "type.Configuration",
7
6
  "type": "object",
8
7
  "properties": {
@@ -18,6 +17,12 @@
18
17
  "collections_config": {
19
18
  "$ref": "#/$defs/collections_config"
20
19
  },
20
+ "collections_config_from_glob": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "string"
24
+ }
25
+ },
21
26
  "collection_groups": {
22
27
  "$ref": "#/$defs/collection_groups"
23
28
  },
@@ -81,29 +86,71 @@
81
86
  "_inputs": {
82
87
  "$ref": "#/$defs/type._inputs"
83
88
  },
89
+ "_inputs_from_glob": {
90
+ "type": "array",
91
+ "items": {
92
+ "type": "string"
93
+ }
94
+ },
84
95
  "_select_data": {
85
96
  "$ref": "#/$defs/type._select_data"
86
97
  },
87
98
  "_structures": {
88
99
  "$ref": "#/$defs/type._structures"
89
100
  },
101
+ "_structures_from_glob": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "string"
105
+ }
106
+ },
90
107
  "_enabled_editors": {
91
108
  "$ref": "#/$defs/type._enabled_editors"
92
109
  },
93
110
  "_editables": {
94
111
  "$ref": "#/$defs/type._editables"
95
112
  },
113
+ "_editables_from_glob": {
114
+ "type": "array",
115
+ "items": {
116
+ "type": "string"
117
+ }
118
+ },
96
119
  "_snippets": {
97
120
  "$ref": "#/$defs/type._snippets"
98
121
  },
122
+ "_snippets_from_glob": {
123
+ "type": "array",
124
+ "items": {
125
+ "type": "string"
126
+ }
127
+ },
99
128
  "_snippets_imports": {
100
129
  "$ref": "#/$defs/type._snippets_imports"
101
130
  },
131
+ "_snippets_imports_from_glob": {
132
+ "type": "array",
133
+ "items": {
134
+ "type": "string"
135
+ }
136
+ },
102
137
  "_snippets_templates": {
103
138
  "$ref": "#/$defs/type._snippets_templates"
104
139
  },
140
+ "_snippets_templates_from_glob": {
141
+ "type": "array",
142
+ "items": {
143
+ "type": "string"
144
+ }
145
+ },
105
146
  "_snippets_definitions": {
106
147
  "$ref": "#/$defs/type._snippets_definitions"
148
+ },
149
+ "_snippets_definitions_from_glob": {
150
+ "type": "array",
151
+ "items": {
152
+ "type": "string"
153
+ }
107
154
  }
108
155
  },
109
156
  "additionalProperties": false,
@@ -423,17 +470,35 @@
423
470
  "_inputs": {
424
471
  "$ref": "#/$defs/type._inputs"
425
472
  },
473
+ "_inputs_from_glob": {
474
+ "type": "array",
475
+ "items": {
476
+ "type": "string"
477
+ }
478
+ },
426
479
  "_select_data": {
427
480
  "$ref": "#/$defs/type._select_data"
428
481
  },
429
482
  "_structures": {
430
483
  "$ref": "#/$defs/type._structures"
431
484
  },
485
+ "_structures_from_glob": {
486
+ "type": "array",
487
+ "items": {
488
+ "type": "string"
489
+ }
490
+ },
432
491
  "_enabled_editors": {
433
492
  "$ref": "#/$defs/type._enabled_editors"
434
493
  },
435
494
  "_editables": {
436
495
  "$ref": "#/$defs/type._editables"
496
+ },
497
+ "_editables_from_glob": {
498
+ "type": "array",
499
+ "items": {
500
+ "type": "string"
501
+ }
437
502
  }
438
503
  },
439
504
  "required": [
@@ -442,6 +507,12 @@
442
507
  "additionalProperties": false
443
508
  }
444
509
  },
510
+ "schemas_config_from_glob": {
511
+ "type": "array",
512
+ "items": {
513
+ "type": "string"
514
+ }
515
+ },
445
516
  "schema_key": {
446
517
  "description": "This key defines the name for the structured data key that references the Schema a file uses.",
447
518
  "type": "string"
@@ -452,17 +523,35 @@
452
523
  "_inputs": {
453
524
  "$ref": "#/$defs/type._inputs"
454
525
  },
526
+ "_inputs_from_glob": {
527
+ "type": "array",
528
+ "items": {
529
+ "type": "string"
530
+ }
531
+ },
455
532
  "_select_data": {
456
533
  "$ref": "#/$defs/type._select_data"
457
534
  },
458
535
  "_structures": {
459
536
  "$ref": "#/$defs/type._structures"
460
537
  },
538
+ "_structures_from_glob": {
539
+ "type": "array",
540
+ "items": {
541
+ "type": "string"
542
+ }
543
+ },
461
544
  "_enabled_editors": {
462
545
  "$ref": "#/$defs/type._enabled_editors"
463
546
  },
464
547
  "_editables": {
465
548
  "$ref": "#/$defs/type._editables"
549
+ },
550
+ "_editables_from_glob": {
551
+ "type": "array",
552
+ "items": {
553
+ "type": "string"
554
+ }
466
555
  }
467
556
  },
468
557
  "required": [
@@ -4147,11 +4236,23 @@
4147
4236
  "_inputs": {
4148
4237
  "$ref": "#/$defs/type._inputs"
4149
4238
  },
4239
+ "_inputs_from_glob": {
4240
+ "type": "array",
4241
+ "items": {
4242
+ "type": "string"
4243
+ }
4244
+ },
4150
4245
  "_select_data": {
4151
4246
  "$ref": "#/$defs/type._select_data"
4152
4247
  },
4153
4248
  "_structures": {
4154
4249
  "$ref": "#/$defs/type._structures"
4250
+ },
4251
+ "_structures_from_glob": {
4252
+ "type": "array",
4253
+ "items": {
4254
+ "type": "string"
4255
+ }
4155
4256
  }
4156
4257
  },
4157
4258
  "additionalProperties": false
@@ -4175,7 +4276,7 @@
4175
4276
  {
4176
4277
  "title": "Known Input",
4177
4278
  "description": "A union of all input types that are known to the CloudCannon configuration schema.",
4178
- "anyOf": [
4279
+ "oneOf": [
4179
4280
  {
4180
4281
  "$ref": "#/$defs/TextInput"
4181
4282
  },
@@ -8218,12 +8319,24 @@
8218
8319
  "_inputs": {
8219
8320
  "$ref": "#/$defs/type._inputs"
8220
8321
  },
8322
+ "_inputs_from_glob": {
8323
+ "type": "array",
8324
+ "items": {
8325
+ "type": "string"
8326
+ }
8327
+ },
8221
8328
  "_select_data": {
8222
8329
  "$ref": "#/$defs/type._select_data"
8223
8330
  },
8224
8331
  "_structures": {
8225
8332
  "$ref": "#/$defs/type._structures"
8226
8333
  },
8334
+ "_structures_from_glob": {
8335
+ "type": "array",
8336
+ "items": {
8337
+ "type": "string"
8338
+ }
8339
+ },
8227
8340
  "id": {
8228
8341
  "description": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option.",
8229
8342
  "type": "string"
@@ -8314,6 +8427,12 @@
8314
8427
  "additionalProperties": false
8315
8428
  }
8316
8429
  },
8430
+ "values_from_glob": {
8431
+ "type": "array",
8432
+ "items": {
8433
+ "type": "string"
8434
+ }
8435
+ },
8317
8436
  "id_key": {
8318
8437
  "description": "Defines what key should be used to detect which structure an item is. If this key is not found in the existing structure, a comparison of key names is used. Defaults to \"_type\".",
8319
8438
  "default": "_type",
@@ -9121,17 +9240,35 @@
9121
9240
  "_inputs": {
9122
9241
  "$ref": "#/$defs/type._inputs"
9123
9242
  },
9243
+ "_inputs_from_glob": {
9244
+ "type": "array",
9245
+ "items": {
9246
+ "type": "string"
9247
+ }
9248
+ },
9124
9249
  "_select_data": {
9125
9250
  "$ref": "#/$defs/type._select_data"
9126
9251
  },
9127
9252
  "_structures": {
9128
9253
  "$ref": "#/$defs/type._structures"
9129
9254
  },
9255
+ "_structures_from_glob": {
9256
+ "type": "array",
9257
+ "items": {
9258
+ "type": "string"
9259
+ }
9260
+ },
9130
9261
  "_enabled_editors": {
9131
9262
  "$ref": "#/$defs/type._enabled_editors"
9132
9263
  },
9133
9264
  "_editables": {
9134
9265
  "$ref": "#/$defs/type._editables"
9266
+ },
9267
+ "_editables_from_glob": {
9268
+ "type": "array",
9269
+ "items": {
9270
+ "type": "string"
9271
+ }
9135
9272
  }
9136
9273
  },
9137
9274
  "required": [
@@ -9376,12 +9513,24 @@
9376
9513
  "_inputs": {
9377
9514
  "$ref": "#/$defs/type._inputs"
9378
9515
  },
9516
+ "_inputs_from_glob": {
9517
+ "type": "array",
9518
+ "items": {
9519
+ "type": "string"
9520
+ }
9521
+ },
9379
9522
  "_select_data": {
9380
9523
  "$ref": "#/$defs/type._select_data"
9381
9524
  },
9382
9525
  "_structures": {
9383
9526
  "$ref": "#/$defs/type._structures"
9384
9527
  },
9528
+ "_structures_from_glob": {
9529
+ "type": "array",
9530
+ "items": {
9531
+ "type": "string"
9532
+ }
9533
+ },
9385
9534
  "preview": {
9386
9535
  "$ref": "#/$defs/type.preview"
9387
9536
  },
@@ -21,6 +21,12 @@
21
21
  "collections_config": {
22
22
  "$ref": "#/definitions/collections_config"
23
23
  },
24
+ "collections_config_from_glob": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "string"
28
+ }
29
+ },
24
30
  "collection_groups": {
25
31
  "$ref": "#/definitions/collection_groups"
26
32
  },
@@ -101,6 +107,12 @@
101
107
  }
102
108
  ]
103
109
  },
110
+ "_inputs_from_glob": {
111
+ "type": "array",
112
+ "items": {
113
+ "type": "string"
114
+ }
115
+ },
104
116
  "_select_data": {
105
117
  "allOf": [
106
118
  {
@@ -115,15 +127,33 @@
115
127
  }
116
128
  ]
117
129
  },
130
+ "_structures_from_glob": {
131
+ "type": "array",
132
+ "items": {
133
+ "type": "string"
134
+ }
135
+ },
118
136
  "_enabled_editors": {
119
137
  "$ref": "#/definitions/type._enabled_editors"
120
138
  },
121
139
  "_editables": {
122
140
  "$ref": "#/definitions/type._editables"
123
141
  },
142
+ "_editables_from_glob": {
143
+ "type": "array",
144
+ "items": {
145
+ "type": "string"
146
+ }
147
+ },
124
148
  "_snippets": {
125
149
  "$ref": "#/definitions/type._snippets"
126
150
  },
151
+ "_snippets_from_glob": {
152
+ "type": "array",
153
+ "items": {
154
+ "type": "string"
155
+ }
156
+ },
127
157
  "_snippets_imports": {
128
158
  "allOf": [
129
159
  {
@@ -131,11 +161,29 @@
131
161
  }
132
162
  ]
133
163
  },
164
+ "_snippets_imports_from_glob": {
165
+ "type": "array",
166
+ "items": {
167
+ "type": "string"
168
+ }
169
+ },
134
170
  "_snippets_templates": {
135
171
  "$ref": "#/definitions/type._snippets_templates"
136
172
  },
173
+ "_snippets_templates_from_glob": {
174
+ "type": "array",
175
+ "items": {
176
+ "type": "string"
177
+ }
178
+ },
137
179
  "_snippets_definitions": {
138
180
  "$ref": "#/definitions/type._snippets_definitions"
181
+ },
182
+ "_snippets_definitions_from_glob": {
183
+ "type": "array",
184
+ "items": {
185
+ "type": "string"
186
+ }
139
187
  }
140
188
  },
141
189
  "additionalProperties": false,
@@ -523,6 +571,12 @@
523
571
  }
524
572
  ]
525
573
  },
574
+ "_inputs_from_glob": {
575
+ "type": "array",
576
+ "items": {
577
+ "type": "string"
578
+ }
579
+ },
526
580
  "_select_data": {
527
581
  "allOf": [
528
582
  {
@@ -537,11 +591,23 @@
537
591
  }
538
592
  ]
539
593
  },
594
+ "_structures_from_glob": {
595
+ "type": "array",
596
+ "items": {
597
+ "type": "string"
598
+ }
599
+ },
540
600
  "_enabled_editors": {
541
601
  "$ref": "#/definitions/type._enabled_editors"
542
602
  },
543
603
  "_editables": {
544
604
  "$ref": "#/definitions/type._editables"
605
+ },
606
+ "_editables_from_glob": {
607
+ "type": "array",
608
+ "items": {
609
+ "type": "string"
610
+ }
545
611
  }
546
612
  },
547
613
  "required": [
@@ -552,6 +618,12 @@
552
618
  },
553
619
  "markdownDescription": "This key defines which Schemas are available to populate files in this Collection."
554
620
  },
621
+ "schemas_config_from_glob": {
622
+ "type": "array",
623
+ "items": {
624
+ "type": "string"
625
+ }
626
+ },
555
627
  "schema_key": {
556
628
  "description": "This key defines the name for the structured data key that references the Schema a file uses.",
557
629
  "type": "string",
@@ -571,6 +643,12 @@
571
643
  }
572
644
  ]
573
645
  },
646
+ "_inputs_from_glob": {
647
+ "type": "array",
648
+ "items": {
649
+ "type": "string"
650
+ }
651
+ },
574
652
  "_select_data": {
575
653
  "allOf": [
576
654
  {
@@ -585,11 +663,23 @@
585
663
  }
586
664
  ]
587
665
  },
666
+ "_structures_from_glob": {
667
+ "type": "array",
668
+ "items": {
669
+ "type": "string"
670
+ }
671
+ },
588
672
  "_enabled_editors": {
589
673
  "$ref": "#/definitions/type._enabled_editors"
590
674
  },
591
675
  "_editables": {
592
676
  "$ref": "#/definitions/type._editables"
677
+ },
678
+ "_editables_from_glob": {
679
+ "type": "array",
680
+ "items": {
681
+ "type": "string"
682
+ }
593
683
  }
594
684
  },
595
685
  "required": [
@@ -4287,6 +4377,12 @@
4287
4377
  }
4288
4378
  ]
4289
4379
  },
4380
+ "_inputs_from_glob": {
4381
+ "type": "array",
4382
+ "items": {
4383
+ "type": "string"
4384
+ }
4385
+ },
4290
4386
  "_select_data": {
4291
4387
  "allOf": [
4292
4388
  {
@@ -4300,6 +4396,12 @@
4300
4396
  "$ref": "#/definitions/type._structures"
4301
4397
  }
4302
4398
  ]
4399
+ },
4400
+ "_structures_from_glob": {
4401
+ "type": "array",
4402
+ "items": {
4403
+ "type": "string"
4404
+ }
4303
4405
  }
4304
4406
  },
4305
4407
  "additionalProperties": false,
@@ -4323,7 +4425,7 @@
4323
4425
  {
4324
4426
  "title": "Known Input",
4325
4427
  "description": "A union of all input types that are known to the CloudCannon configuration schema.",
4326
- "anyOf": [
4428
+ "oneOf": [
4327
4429
  {
4328
4430
  "$ref": "#/definitions/TextInput"
4329
4431
  },
@@ -8831,6 +8933,12 @@
8831
8933
  }
8832
8934
  ]
8833
8935
  },
8936
+ "_inputs_from_glob": {
8937
+ "type": "array",
8938
+ "items": {
8939
+ "type": "string"
8940
+ }
8941
+ },
8834
8942
  "_select_data": {
8835
8943
  "allOf": [
8836
8944
  {
@@ -8845,6 +8953,12 @@
8845
8953
  }
8846
8954
  ]
8847
8955
  },
8956
+ "_structures_from_glob": {
8957
+ "type": "array",
8958
+ "items": {
8959
+ "type": "string"
8960
+ }
8961
+ },
8848
8962
  "id": {
8849
8963
  "description": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option.",
8850
8964
  "type": "string",
@@ -8966,6 +9080,12 @@
8966
9080
  },
8967
9081
  "markdownDescription": "Defines what values are available to add when using this structure."
8968
9082
  },
9083
+ "values_from_glob": {
9084
+ "type": "array",
9085
+ "items": {
9086
+ "type": "string"
9087
+ }
9088
+ },
8969
9089
  "id_key": {
8970
9090
  "description": "Defines what key should be used to detect which structure an item is. If this key is not found in the existing structure, a comparison of key names is used. Defaults to \"_type\".",
8971
9091
  "default": "_type",
@@ -9838,6 +9958,12 @@
9838
9958
  }
9839
9959
  ]
9840
9960
  },
9961
+ "_inputs_from_glob": {
9962
+ "type": "array",
9963
+ "items": {
9964
+ "type": "string"
9965
+ }
9966
+ },
9841
9967
  "_select_data": {
9842
9968
  "allOf": [
9843
9969
  {
@@ -9852,11 +9978,23 @@
9852
9978
  }
9853
9979
  ]
9854
9980
  },
9981
+ "_structures_from_glob": {
9982
+ "type": "array",
9983
+ "items": {
9984
+ "type": "string"
9985
+ }
9986
+ },
9855
9987
  "_enabled_editors": {
9856
9988
  "$ref": "#/definitions/type._enabled_editors"
9857
9989
  },
9858
9990
  "_editables": {
9859
9991
  "$ref": "#/definitions/type._editables"
9992
+ },
9993
+ "_editables_from_glob": {
9994
+ "type": "array",
9995
+ "items": {
9996
+ "type": "string"
9997
+ }
9860
9998
  }
9861
9999
  },
9862
10000
  "required": [
@@ -10141,6 +10279,12 @@
10141
10279
  }
10142
10280
  ]
10143
10281
  },
10282
+ "_inputs_from_glob": {
10283
+ "type": "array",
10284
+ "items": {
10285
+ "type": "string"
10286
+ }
10287
+ },
10144
10288
  "_select_data": {
10145
10289
  "allOf": [
10146
10290
  {
@@ -10155,6 +10299,12 @@
10155
10299
  }
10156
10300
  ]
10157
10301
  },
10302
+ "_structures_from_glob": {
10303
+ "type": "array",
10304
+ "items": {
10305
+ "type": "string"
10306
+ }
10307
+ },
10158
10308
  "preview": {
10159
10309
  "allOf": [
10160
10310
  {