UNPKG

@botonic/plugin-contentful

Version:

## What Does This Plugin Do?

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; }>; }