mirror of
https://github.com/foomo/contentfultree.git
synced 2025-10-16 12:25:41 +00:00
13 lines
453 B
TypeScript
13 lines
453 B
TypeScript
import type { EntryProps, KeyValueMap } from 'contentful-management'
|
|
import type { ContentTreeNodeProps } from './ContentTreeNode'
|
|
export declare const emptyNodeProps: () => ContentTreeNodeProps
|
|
export declare const cfEntriesToNodes: (
|
|
entries: EntryProps<KeyValueMap>[],
|
|
titleFields: string[],
|
|
stLocale: string,
|
|
locales: string[],
|
|
nodeContentTypes: string[],
|
|
iconRegistry?: Record<string, string>,
|
|
parentId?: string,
|
|
) => ContentTreeNodeProps[]
|