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

15 lines (14 loc) 617 B
import * as contentful from 'contentful'; import * as cms from '../../cms'; import { Context } from '../../cms'; import { DeliveryApi } from '../delivery-api'; import { CommonEntryFields } from '../delivery-utils'; import { DeliveryWithReference } from './reference'; export declare class UrlDelivery extends DeliveryWithReference { constructor(delivery: DeliveryApi, resumeErrors: boolean); url(id: string, context: Context): Promise<cms.Url>; fromEntry(entry: contentful.Entry<UrlFields>, context: Context): Promise<cms.Url>; } export interface UrlFields extends CommonEntryFields { url?: string; }