Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new flag to prevent filter on developer files #16

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading