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

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