@strapi/data-transfer
Version:
Data transfer capabilities for Strapi
14 lines • 567 B
TypeScript
import { Readable, Transform } from 'stream';
import type { Core } from '@strapi/types';
/**
* Generate and consume content-types streams in order to stream each entity individually
*/
export declare const createEntitiesStream: (strapi: Core.Strapi, options?: {
onWarning?: (message: string) => void;
}) => Readable;
/**
* Create an entity transform stream which convert the output of
* the multi-content-types stream to the transfer entity format
*/
export declare const createEntitiesTransformStream: () => Transform;
//# sourceMappingURL=entities.d.ts.map