mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
Update comment for the links export in the strapi source provider
Co-authored-by: Ben Irvin <ben@innerdvations.com>
This commit is contained in:
parent
6414f4906c
commit
0ae21c4bce
@ -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[];
|
||||
|
Loading…
x
Reference in New Issue
Block a user