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

18 lines (17 loc) 747 B
import { TopContentId } from '../cms'; import { MessageContentInverseTraverser } from '../cms/visitors/message-visitors'; import { ManageCms } from './manage-cms'; import { ManageContext } from './manage-context'; /** * Deletes fields and the references from other contents that reference the * content through a button. */ export declare class ContentDeleter { readonly manageCms: ManageCms; readonly inverseTraverser: MessageContentInverseTraverser; readonly context: ManageContext; constructor(manageCms: ManageCms, inverseTraverser: MessageContentInverseTraverser, context: ManageContext); deleteContent(contentId: TopContentId, name?: string): Promise<void>; private deleteFields; private deleteReferencesTo; }