@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
14 lines (13 loc) • 632 B
TypeScript
import * as contentful from 'contentful';
import * as cms from '../../cms';
import { DeliveryApi } from '../delivery-api';
import { CommonEntryFields } from '../delivery-utils';
import { DeliveryWithReference } from './reference';
export declare class DocumentDelivery extends DeliveryWithReference {
constructor(delivery: DeliveryApi, resumeErrors: boolean);
document(id: string, context: cms.Context): Promise<cms.Document>;
fromEntry(entry: contentful.Entry<DocumentFields>, context: cms.Context): Promise<cms.Document>;
}
export interface DocumentFields extends CommonEntryFields {
document: contentful.Asset;
}