diff --git a/packages/netlify-cms-core/index.d.ts b/packages/netlify-cms-core/index.d.ts index 932e02ff..b205f1c7 100644 --- a/packages/netlify-cms-core/index.d.ts +++ b/packages/netlify-cms-core/index.d.ts @@ -297,6 +297,7 @@ declare module 'netlify-cms-core' { export interface CmsCollection { name: string; + icon?: string; label: string; label_singular?: string; description?: string; diff --git a/packages/netlify-cms-core/src/types/redux.ts b/packages/netlify-cms-core/src/types/redux.ts index abc53a1b..f0069f4d 100644 --- a/packages/netlify-cms-core/src/types/redux.ts +++ b/packages/netlify-cms-core/src/types/redux.ts @@ -603,6 +603,7 @@ export type Format = keyof typeof formatExtensions; type CollectionObject = { name: string; + icon?: string; folder?: string; files?: CollectionFiles; fields: EntryFields;