Fix config types

This commit is contained in:
Daniel Lautzenheiser 2022-09-20 11:07:57 -04:00
parent 8930b9e864
commit cceec7769d
2 changed files with 2 additions and 0 deletions

View File

@ -297,6 +297,7 @@ declare module 'netlify-cms-core' {
export interface CmsCollection { export interface CmsCollection {
name: string; name: string;
icon?: string;
label: string; label: string;
label_singular?: string; label_singular?: string;
description?: string; description?: string;

View File

@ -603,6 +603,7 @@ export type Format = keyof typeof formatExtensions;
type CollectionObject = { type CollectionObject = {
name: string; name: string;
icon?: string;
folder?: string; folder?: string;
files?: CollectionFiles; files?: CollectionFiles;
fields: EntryFields; fields: EntryFields;