@itxch/contentful-import
Version:
This tool allows you to import JSON dump exported by contentful-export
28 lines (27 loc) • 776 B
TypeScript
type RunContentfulImportParams = {
spaceId: string;
environmentId?: string;
managementToken: string;
contentFile?: string;
content?: object;
contentModelOnly?: boolean;
skipContentModel?: boolean;
skipLocales?: boolean;
skipContentPublishing?: boolean;
skipAssetUpdates?: boolean;
skipContentUpdates?: boolean;
uploadAssets?: boolean;
assetsDirectory?: string;
host?: string;
proxy?: string;
rawProxy?: string;
rateLimit?: number;
headers?: object;
errorLogFile?: string;
useVerboseRenderer?: boolean;
timeout?: number;
retryLimit?: number;
config?: string;
};
declare function runContentfulImport(params: RunContentfulImportParams): Promise<any>;
export default runContentfulImport;