contentfultree/dist/ContentTreeUtils.d.ts
2023-02-22 10:57:12 +01:00

7 lines
464 B
TypeScript

import { EntryProps, KeyValueMap } from 'contentful-management';
import { ContentTreeNodeProps } from './ContentTreeNode';
export declare const emptyNodeProps: () => ContentTreeNodeProps;
export declare const cfEntriesToNodes: (entries: Array<EntryProps<KeyValueMap>>, titleFields: string[], stLocale: string, locales: string[], nodeContentTypes: string[], iconRegistry?: {
[index: string]: string;
} | undefined, parentId?: string) => ContentTreeNodeProps[];