@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
15 lines (14 loc) • 528 B
TypeScript
import * as contentful from 'contentful';
import { ContentType } from '../cms';
import { CmsInfo, LocaleInfo } from '../cms/cms-info';
import { ContentfulOptions } from '../plugin';
export declare class ContentfulInfo implements CmsInfo {
readonly options: ContentfulOptions;
client: contentful.ContentfulClientApi;
constructor(options: ContentfulOptions);
contentTypes(): Promise<ContentType[]>;
defaultLocale(): Promise<LocaleInfo>;
locales(): Promise<{
[locale: string]: LocaleInfo;
}>;
}