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

20 lines (19 loc) 873 B
import * as contentful from 'contentful'; import { Context } from '../../cms'; import * as cms from '../../cms'; import { DeliveryApi } from '../delivery-api'; import { CommonEntryFields } from '../delivery-utils'; import { DeliveryWithReference } from './reference'; import { ScheduleDelivery, ScheduleFields } from './schedule'; export declare class QueueDelivery extends DeliveryWithReference { private readonly schedule; static REFERENCES_INCLUDE: number; constructor(delivery: DeliveryApi, schedule: ScheduleDelivery, resumeErrors: boolean); queue(id: string, context: Context): Promise<cms.Queue>; fromEntry(entry: contentful.Entry<QueueFields>, context: cms.Context): Promise<cms.Queue>; } export interface QueueFields extends CommonEntryFields { queue: string; schedule?: contentful.Entry<ScheduleFields>; handoffMessage?: string; }