payloadcms-import-export-plugin
Version:
A comprehensive Payload CMS plugin that enables seamless import and export of collection data with support for CSV and JSON formats, featuring advanced field mapping, duplicate handling, and batch processing capabilities.
13 lines (12 loc) • 345 B
TypeScript
import type { ClientField } from 'payload';
import React from 'react';
export declare const reduceFields: ({ disabledFields, fields, labelPrefix, path, }: {
disabledFields?: string[];
fields: ClientField[];
labelPrefix?: React.ReactNode;
path?: string;
}) => {
id: string;
label: React.ReactNode;
value: string;
}[];