UNPKG

@stackbit/cms-contentful

Version:

Stackbit Contentful CMS Interface

18 lines 744 B
import * as StackbitTypes from '@stackbit/types'; import type { ContentTypeProps, EditorInterfaceProps } from 'contentful-management'; declare module 'contentful-management' { interface ContentTypeFieldValidation { message?: string | null; } } export interface ConvertSchemaOptions { contentTypes: ContentTypeProps[]; editorInterfaces: EditorInterfaceProps[]; defaultLocaleCode: string; cloudinaryImagesAsList: boolean; bynderImagesAsList: boolean; } export declare function convertSchema({ contentTypes, editorInterfaces, defaultLocaleCode, cloudinaryImagesAsList, bynderImagesAsList }: ConvertSchemaOptions): { models: StackbitTypes.Model[]; }; //# sourceMappingURL=contentful-schema-converter.d.ts.map