@cloudcannon/configuration-types 0.0.13 → 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.
@@ -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\nVisual 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 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": {
@@ -5835,7 +5837,8 @@
5835
5837
  "description": "Changes the appearance and behavior of the input.",
5836
5838
  "enum": [
5837
5839
  "object",
5838
- "mutable"
5840
+ "mutable",
5841
+ "tabbed"
5839
5842
  ],
5840
5843
  "markdownDescription": "Changes the appearance and behavior of the input.",
5841
5844
  "type": "string"
@@ -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\nVisual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
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.",
@@ -5837,7 +5839,8 @@
5837
5839
  "description": "Changes the appearance and behavior of the input.",
5838
5840
  "enum": [
5839
5841
  "object",
5840
- "mutable"
5842
+ "mutable",
5843
+ "tabbed"
5841
5844
  ],
5842
5845
  "markdownDescription": "Changes the appearance and behavior of the input.",
5843
5846
  "type": "string"
@@ -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\nVisual 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 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": {
@@ -5830,7 +5832,8 @@
5830
5832
  "description": "Changes the appearance and behavior of the input.",
5831
5833
  "enum": [
5832
5834
  "object",
5833
- "mutable"
5835
+ "mutable",
5836
+ "tabbed"
5834
5837
  ],
5835
5838
  "markdownDescription": "Changes the appearance and behavior of the input.",
5836
5839
  "type": "string"
@@ -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": {
@@ -5451,7 +5448,8 @@
5451
5448
  "description": "Changes the appearance and behavior of the input.",
5452
5449
  "enum": [
5453
5450
  "object",
5454
- "mutable"
5451
+ "mutable",
5452
+ "tabbed"
5455
5453
  ],
5456
5454
  "markdownDescription": "Changes the appearance and behavior of the input.",
5457
5455
  "type": "string"
@@ -5891,7 +5889,7 @@
5891
5889
  },
5892
5890
  "disable_url": {
5893
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.",
5894
- "markdownDescription": "Prevents this collection from being assigned output URLs. Doing so will remove the\nVisual Editor as a possible option, and hide any UI elements referring to the output URL for a file.",
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.",
5895
5893
  "type": "boolean"
5896
5894
  },
5897
5895
  "documentation": {
@@ -5931,6 +5929,11 @@
5931
5929
  "description": "Sets an icon to use alongside references to this collection.",
5932
5930
  "markdownDescription": "Sets an icon to use alongside references to this collection."
5933
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
+ },
5934
5937
  "name": {
5935
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.",
5936
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\nVisual 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 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": {
@@ -5728,7 +5730,8 @@
5728
5730
  "description": "Changes the appearance and behavior of the input.",
5729
5731
  "enum": [
5730
5732
  "object",
5731
- "mutable"
5733
+ "mutable",
5734
+ "tabbed"
5732
5735
  ],
5733
5736
  "markdownDescription": "Changes the appearance and behavior of the input.",
5734
5737
  "type": "string"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudcannon/configuration-types",
3
- "version": "0.0.13",
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",
@@ -854,7 +854,7 @@ export interface ObjectInputOptions extends BaseInputOptions<EmptyTypeObject> {
854
854
  /**
855
855
  * Changes the appearance and behavior of the input.
856
856
  */
857
- subtype?: 'object' | 'mutable';
857
+ subtype?: 'object' | 'mutable' | 'tabbed';
858
858
  /**
859
859
  * Contains options for the "mutable" subtype.
860
860
  */
@@ -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: string;
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
- * Visual Editor as a possible option, and hide any UI elements referring to the output URL for a file.
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.