@cloudcannon/configuration-types 0.0.14 → 0.0.15
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 +6 -4
- package/build/cloudcannon-config-hugo.json +6 -4
- package/build/cloudcannon-config-jekyll.json +6 -4
- package/build/cloudcannon-config-reader.json +6 -4
- package/build/cloudcannon-config.json +6 -4
- package/package.json +1 -1
- package/src/configuration.d.ts +8 -3
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
},
|
|
618
618
|
"disable_url": {
|
|
619
619
|
"description": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
620
|
-
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the\
|
|
620
|
+
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual\nEditor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
621
621
|
"type": "boolean"
|
|
622
622
|
},
|
|
623
623
|
"documentation": {
|
|
@@ -657,6 +657,11 @@
|
|
|
657
657
|
"description": "Sets an icon to use alongside references to this collection.",
|
|
658
658
|
"markdownDescription": "Sets an icon to use alongside references to this collection."
|
|
659
659
|
},
|
|
660
|
+
"include_developer_files": {
|
|
661
|
+
"description": "If set, includes files usually reserved for your SSG and developer tooling as part of this collection. These files can then be filtered with `glob`.",
|
|
662
|
+
"markdownDescription": "If set, includes files usually reserved for your SSG and developer tooling as part of this\ncollection. These files can then be filtered with `glob`.",
|
|
663
|
+
"type": "boolean"
|
|
664
|
+
},
|
|
660
665
|
"name": {
|
|
661
666
|
"description": "The display name of this collection. Used in headings and in the context menu for items in the collection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
662
667
|
"markdownDescription": "The display name of this collection. Used in headings and in the context menu for items in the\ncollection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
@@ -1234,9 +1239,6 @@
|
|
|
1234
1239
|
"type": "string"
|
|
1235
1240
|
}
|
|
1236
1241
|
},
|
|
1237
|
-
"required": [
|
|
1238
|
-
"path"
|
|
1239
|
-
],
|
|
1240
1242
|
"type": "object"
|
|
1241
1243
|
},
|
|
1242
1244
|
"DateInput": {
|
|
@@ -1034,9 +1034,6 @@
|
|
|
1034
1034
|
"type": "string"
|
|
1035
1035
|
}
|
|
1036
1036
|
},
|
|
1037
|
-
"required": [
|
|
1038
|
-
"path"
|
|
1039
|
-
],
|
|
1040
1037
|
"type": "object"
|
|
1041
1038
|
},
|
|
1042
1039
|
"DateInput": {
|
|
@@ -1594,7 +1591,7 @@
|
|
|
1594
1591
|
},
|
|
1595
1592
|
"disable_url": {
|
|
1596
1593
|
"description": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
1597
|
-
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the\
|
|
1594
|
+
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual\nEditor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
1598
1595
|
"type": "boolean"
|
|
1599
1596
|
},
|
|
1600
1597
|
"documentation": {
|
|
@@ -1634,6 +1631,11 @@
|
|
|
1634
1631
|
"description": "Sets an icon to use alongside references to this collection.",
|
|
1635
1632
|
"markdownDescription": "Sets an icon to use alongside references to this collection."
|
|
1636
1633
|
},
|
|
1634
|
+
"include_developer_files": {
|
|
1635
|
+
"description": "If set, includes files usually reserved for your SSG and developer tooling as part of this collection. These files can then be filtered with `glob`.",
|
|
1636
|
+
"markdownDescription": "If set, includes files usually reserved for your SSG and developer tooling as part of this\ncollection. These files can then be filtered with `glob`.",
|
|
1637
|
+
"type": "boolean"
|
|
1638
|
+
},
|
|
1637
1639
|
"name": {
|
|
1638
1640
|
"description": "The display name of this collection. Used in headings and in the context menu for items in the collection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
1639
1641
|
"markdownDescription": "The display name of this collection. Used in headings and in the context menu for items in the\ncollection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
},
|
|
618
618
|
"disable_url": {
|
|
619
619
|
"description": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
620
|
-
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the\
|
|
620
|
+
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual\nEditor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
621
621
|
"type": "boolean"
|
|
622
622
|
},
|
|
623
623
|
"documentation": {
|
|
@@ -657,6 +657,11 @@
|
|
|
657
657
|
"description": "Sets an icon to use alongside references to this collection.",
|
|
658
658
|
"markdownDescription": "Sets an icon to use alongside references to this collection."
|
|
659
659
|
},
|
|
660
|
+
"include_developer_files": {
|
|
661
|
+
"description": "If set, includes files usually reserved for your SSG and developer tooling as part of this collection. These files can then be filtered with `glob`.",
|
|
662
|
+
"markdownDescription": "If set, includes files usually reserved for your SSG and developer tooling as part of this\ncollection. These files can then be filtered with `glob`.",
|
|
663
|
+
"type": "boolean"
|
|
664
|
+
},
|
|
660
665
|
"name": {
|
|
661
666
|
"description": "The display name of this collection. Used in headings and in the context menu for items in the collection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
662
667
|
"markdownDescription": "The display name of this collection. Used in headings and in the context menu for items in the\ncollection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
@@ -1234,9 +1239,6 @@
|
|
|
1234
1239
|
"type": "string"
|
|
1235
1240
|
}
|
|
1236
1241
|
},
|
|
1237
|
-
"required": [
|
|
1238
|
-
"path"
|
|
1239
|
-
],
|
|
1240
1242
|
"type": "object"
|
|
1241
1243
|
},
|
|
1242
1244
|
"DateInput": {
|
|
@@ -1034,9 +1034,6 @@
|
|
|
1034
1034
|
"type": "string"
|
|
1035
1035
|
}
|
|
1036
1036
|
},
|
|
1037
|
-
"required": [
|
|
1038
|
-
"path"
|
|
1039
|
-
],
|
|
1040
1037
|
"type": "object"
|
|
1041
1038
|
},
|
|
1042
1039
|
"DateInput": {
|
|
@@ -5892,7 +5889,7 @@
|
|
|
5892
5889
|
},
|
|
5893
5890
|
"disable_url": {
|
|
5894
5891
|
"description": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
5895
|
-
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the\
|
|
5892
|
+
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual\nEditor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
5896
5893
|
"type": "boolean"
|
|
5897
5894
|
},
|
|
5898
5895
|
"documentation": {
|
|
@@ -5932,6 +5929,11 @@
|
|
|
5932
5929
|
"description": "Sets an icon to use alongside references to this collection.",
|
|
5933
5930
|
"markdownDescription": "Sets an icon to use alongside references to this collection."
|
|
5934
5931
|
},
|
|
5932
|
+
"include_developer_files": {
|
|
5933
|
+
"description": "If set, includes files usually reserved for your SSG and developer tooling as part of this collection. These files can then be filtered with `glob`.",
|
|
5934
|
+
"markdownDescription": "If set, includes files usually reserved for your SSG and developer tooling as part of this\ncollection. These files can then be filtered with `glob`.",
|
|
5935
|
+
"type": "boolean"
|
|
5936
|
+
},
|
|
5935
5937
|
"name": {
|
|
5936
5938
|
"description": "The display name of this collection. Used in headings and in the context menu for items in the collection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
5937
5939
|
"markdownDescription": "The display name of this collection. Used in headings and in the context menu for items in the\ncollection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
@@ -857,7 +857,7 @@
|
|
|
857
857
|
},
|
|
858
858
|
"disable_url": {
|
|
859
859
|
"description": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
860
|
-
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the\
|
|
860
|
+
"markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the Visual\nEditor as a possible option, and hide any UI elements referring to the output URL for a file.",
|
|
861
861
|
"type": "boolean"
|
|
862
862
|
},
|
|
863
863
|
"documentation": {
|
|
@@ -885,6 +885,11 @@
|
|
|
885
885
|
"description": "Sets an icon to use alongside references to this collection.",
|
|
886
886
|
"markdownDescription": "Sets an icon to use alongside references to this collection."
|
|
887
887
|
},
|
|
888
|
+
"include_developer_files": {
|
|
889
|
+
"description": "If set, includes files usually reserved for your SSG and developer tooling as part of this collection. These files can then be filtered with `glob`.",
|
|
890
|
+
"markdownDescription": "If set, includes files usually reserved for your SSG and developer tooling as part of this\ncollection. These files can then be filtered with `glob`.",
|
|
891
|
+
"type": "boolean"
|
|
892
|
+
},
|
|
888
893
|
"name": {
|
|
889
894
|
"description": "The display name of this collection. Used in headings and in the context menu for items in the collection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
890
895
|
"markdownDescription": "The display name of this collection. Used in headings and in the context menu for items in the\ncollection. This is optional as CloudCannon auto-generates this from the collection key.",
|
|
@@ -1332,9 +1337,6 @@
|
|
|
1332
1337
|
"type": "string"
|
|
1333
1338
|
}
|
|
1334
1339
|
},
|
|
1335
|
-
"required": [
|
|
1336
|
-
"path"
|
|
1337
|
-
],
|
|
1338
1340
|
"type": "object"
|
|
1339
1341
|
},
|
|
1340
1342
|
"DataConfigEntry": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcannon/configuration-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
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/configuration.d.ts
CHANGED
|
@@ -1204,7 +1204,7 @@ export interface Create extends ReducedCascade {
|
|
|
1204
1204
|
* The raw template to be processed when creating files. Relative to the containing collection's
|
|
1205
1205
|
* path.
|
|
1206
1206
|
*/
|
|
1207
|
-
path
|
|
1207
|
+
path?: string;
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Adds to the available data placeholders coming from the file. Entry values follow the same
|
|
1210
1210
|
* format as path, and are processed sequentially before path. These values are not saved back to
|
|
@@ -1233,10 +1233,15 @@ export interface CollectionConfig extends Cascade, Previewable {
|
|
|
1233
1233
|
*/
|
|
1234
1234
|
url?: string;
|
|
1235
1235
|
/**
|
|
1236
|
-
* Prevents this collection from being assigned output URLs. Doing so will remove the
|
|
1237
|
-
*
|
|
1236
|
+
* Prevents this collection from being assigned output URLs. Doing so will remove the Visual
|
|
1237
|
+
* Editor as a possible option, and hide any UI elements referring to the output URL for a file.
|
|
1238
1238
|
*/
|
|
1239
1239
|
disable_url?: boolean;
|
|
1240
|
+
/**
|
|
1241
|
+
* If set, includes files usually reserved for your SSG and developer tooling as part of this
|
|
1242
|
+
* collection. These files can then be filtered with `glob`.
|
|
1243
|
+
*/
|
|
1244
|
+
include_developer_files?: boolean;
|
|
1240
1245
|
/**
|
|
1241
1246
|
* The display name of this collection. Used in headings and in the context menu for items in the
|
|
1242
1247
|
* collection. This is optional as CloudCannon auto-generates this from the collection key.
|