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

17 lines (16 loc) 515 B
import { Locale } from '../nlp'; import { ContentType } from './cms'; export declare class LocaleInfo { readonly code: Locale; readonly name: string; readonly fallback: Locale | undefined; readonly isDefault: boolean; constructor(code: Locale, name: string, fallback: Locale | undefined, isDefault: boolean); } export interface CmsInfo { contentTypes(): Promise<ContentType[]>; defaultLocale(): Promise<LocaleInfo>; locales(): Promise<{ [code: string]: LocaleInfo; }>; }