From 17f7d645ea1669703fbc560d5693fc179fb8565b Mon Sep 17 00:00:00 2001 From: Liam Bigelow <40188355+bglw@users.noreply.github.com> Date: Tue, 10 Sep 2024 16:37:22 +1200 Subject: [PATCH] Remove `output` option, add `disable_url` option --- src/configuration.d.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/configuration.d.ts b/src/configuration.d.ts index 237b08b..43ab382 100644 --- a/src/configuration.d.ts +++ b/src/configuration.d.ts @@ -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.