UNPKG

@botonic/plugin-contentful

Version:

Botonic Plugin Contentful is one of the **[available](https://github.com/hubtype/botonic/tree/master/packages)** plugins for Botonic. **[Contentful](http://www.contentful.com)** is a CMS (Content Management System) which manages contents of a great variet

26 lines (25 loc) 983 B
import { AssetProps } from 'contentful-management/dist/typings/entities/asset'; import { ContentTypeProps } from 'contentful-management/dist/typings/entities/content-type'; import { EntryProps } from 'contentful-management/dist/typings/entities/entry'; import { LocaleProps } from 'contentful-management/dist/typings/entities/locale'; export type I18nFieldValues = { [locale: string]: any; }; /** * Allows modifying contentful spaces exported with "contentful space export" */ export declare class SpaceExport { payload: { entries: EntryProps[]; locales?: LocaleProps[]; contentTypes?: ContentTypeProps[]; assets?: AssetProps[]; }; constructor(jsonObject: any); getLocale(locale: string): LocaleProps | undefined; getDefaultLocale(): LocaleProps | undefined; private static validate; private static hideFieldsWithBadSchema; static fromJsonFile(filename: string): SpaceExport; write(filename: string): void; }