Skip to content

Commit

Permalink
Remove output option, add disable_url option
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Sep 10, 2024
1 parent 0366ee2 commit 17f7d64
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/configuration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1227,15 +1227,16 @@ export interface CollectionConfig extends Cascade, Previewable {
* 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.
*/
output?: boolean;
/**
* Used to build the url field for items in the collection. Similar to permalink in many SSGs.
* Defaults to ''
* Defaults to '', in which case CloudCannon will attempt to guess the output URLs for each file.
*/
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.
*/
disable_url?: 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 17f7d64

Please sign in to comment.