UNPKG

@itxch/contentful-import

Version:

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

23 lines (22 loc) 786 B
import { OriginalSourceData } from '../types'; import { default as PQueue } from 'p-queue'; type GetDestinationDataParams = { client: any; spaceId: string; environmentId: string; sourceData: OriginalSourceData; contentModelOnly?: boolean; skipLocales?: boolean; skipContentModel?: boolean; requestQueue: PQueue; }; /** * Gets content from a space which will have content copied to it, based on a * collection of existing content. * * Only the supplied entry/asset/contentType/locale IDs will be retrieved. * All tags will be retrieved. * */ export default function getDestinationData({ client, spaceId, environmentId, sourceData, contentModelOnly, skipLocales, skipContentModel, requestQueue }: GetDestinationDataParams): Promise<any>; export {};