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 (18 loc) 813 B
import * as contentful from 'contentful'; import * as cms from '../../cms'; import { DeliveryApi } from '../delivery-api'; import { CommonEntryFields } from '../delivery-utils'; import { ButtonDelivery } from './button'; import { DeliveryWithReference } from './reference'; export declare class StartUpDelivery extends DeliveryWithReference { protected delivery: DeliveryApi; private readonly button; constructor(delivery: DeliveryApi, button: ButtonDelivery, resumeErrors: boolean); startUp(id: string, context: cms.Context): Promise<cms.StartUp>; fromEntry(entry: contentful.Entry<StartUpFields>, context: cms.Context): Promise<cms.StartUp>; } export interface StartUpFields extends CommonEntryFields { pic?: contentful.Asset; text?: string; buttons?: contentful.Entry<any>[]; }