UNPKG

@itxch/contentful-import

Version:

This tool allows you to import JSON dump exported by contentful-export

14 lines (13 loc) 755 B
import { ContentTypeProps, EntryProps, TagProps, WebhookProps } from 'contentful-management'; /** * Default transformer methods for each kind of entity. * * In the case of assets it also changes the asset url to the upload property * as the whole upload process needs to be followed again. */ export declare function contentTypes(contentType: ContentTypeProps): ContentTypeProps; export declare function tags(tag: TagProps): TagProps; export declare function entries(entry: EntryProps, _: any, tagsEnabled?: boolean): any; export declare function webhooks(webhook: WebhookProps): WebhookProps; export declare function assets(asset: any, _: any, tagsEnabled?: boolean): any; export declare function locales(locale: any, destinationLocales: any): any;