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

22 lines (21 loc) 750 B
import { Locale } from '../nlp'; /** * Default values when the context argument {@link Context} is not specified in a {@link CMS} call. */ export declare const DEFAULT_CONTEXT: Context; export interface Context { locale?: Locale; /** * When set, empty fields will be blank even if they have a value for the fallback locale * NOT applying it so far for assets because cms.Asset does not support blank assets */ ignoreFallbackLocale?: boolean; /** * Useful for debugging. Limit how many contents are requested in parallel. * If not specified, the contents will use as much parallelism as possible. */ concurrency?: number; } export interface ContextWithLocale extends Context { locale: Locale; }