Skip to content

Commit

Permalink
Merge pull request #16 from CloudCannon/feat/new-file-flag
Browse files Browse the repository at this point in the history
Add new flag to prevent filter on developer files
  • Loading branch information
rphillips-cc authored Sep 17, 2024
2 parents 7c44b66 + 57314be commit 65371db
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/configuration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ export interface Create extends ReducedCascade {
* The raw template to be processed when creating files. Relative to the containing collection's
* path.
*/
path: string;
path?: string;
/**
* Adds to the available data placeholders coming from the file. Entry values follow the same
* format as path, and are processed sequentially before path. These values are not saved back to
Expand Down Expand Up @@ -1233,10 +1233,15 @@ export interface CollectionConfig extends Cascade, Previewable {
*/
url?: string;
/**
* 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.
* 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.
*/
disable_url?: boolean;
/**
* 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`.
*/
include_developer_files?: boolean;
/**
* 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.
Expand Down

0 comments on commit 65371db

Please sign in to comment.