@cloudcannon/configuration-types
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@cloudcannon/configuration-types", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Contains TypeScript declarations and generates JSONSchema files for the CloudCannon configuration file.", | ||
@@ -5,0 +5,0 @@ "author": "CloudCannon <support@cloudcannon.com>", |
@@ -47,4 +47,2 @@ import Scrapbooker from '@cloudcannon/snippet-types'; | ||
type SnippetImportKey = keyof typeof Scrapbooker.defaults; | ||
interface SnippetsImport<T> { | ||
@@ -1164,6 +1162,9 @@ /** | ||
* The top-most folder where the files in this collection are stored. It is relative to source. | ||
* Each collection must have a unique path. | ||
*/ | ||
path?: string; | ||
/** | ||
* Glob pattern(s) to include or exclude files from this collection. It is relative to `path`. | ||
*/ | ||
glob?: string | string[]; | ||
/** | ||
* Whether or not files in this collection produce files in the build output. | ||
@@ -1395,2 +1396,9 @@ */ | ||
export interface FileConfigEntry extends Cascade { | ||
/** | ||
* The glob pattern(s) targeting a path to one or more files. | ||
*/ | ||
glob: string | string[]; | ||
} | ||
export interface Editor { | ||
@@ -1506,2 +1514,6 @@ /** | ||
/** | ||
* Provides scope to configure at a file level, without adding configuration to files. | ||
*/ | ||
file_config?: Record<string, FileConfigEntry>; | ||
/** | ||
* Contains settings for the default editor actions on your site. | ||
@@ -1682,3 +1694,8 @@ */ | ||
export interface HugoIntegrationOutput extends HugoConfiguration, WithIntegrationOutput {} | ||
export interface JekyllIntegrationOutput extends JekyllConfiguration, WithIntegrationOutput {} | ||
export interface JekyllIntegrationOutput extends JekyllConfiguration, WithIntegrationOutput { | ||
/** | ||
* @deprecated Do not use. | ||
*/ | ||
defaults: any; | ||
} | ||
export interface EleventyIntegrationOutput extends EleventyConfiguration, WithIntegrationOutput {} | ||
@@ -1685,0 +1702,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1943734
50074