Update comment for the links export in the strapi source provider

Co-authored-by: Ben Irvin <ben@innerdvations.com>
This commit is contained in:
Jean-Sébastien Herbaux 2022-12-14 17:32:21 +01:00 committed by GitHub
parent 6414f4906c
commit 0ae21c4bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ import type { ILink } from '../../../types';
import { createLinkQuery } from '../shared/strapi/link';
/**
* Create a Duplex instance which will stream all the links from a Strapi instance
* Create a Readable which will stream all the links from a Strapi instance
*/
export const createLinksStream = (strapi: Strapi.Strapi): Readable => {
const uids = [...Object.keys(strapi.contentTypes), ...Object.keys(strapi.components)] as string[];