From cceec7769dc69e0bf8b19e7abafe9b3e3429936e Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Tue, 20 Sep 2022 11:07:57 -0400 Subject: [PATCH] Fix config types --- packages/netlify-cms-core/index.d.ts | 1 + packages/netlify-cms-core/src/types/redux.ts | 1 + 2 files changed, 2 insertions(+) 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;