@payloadcms/plugin-import-export
Version:
Import-Export plugin for Payload
7 lines • 331 B
TypeScript
import type { SelectIncludeType } from 'payload';
/**
* Takes an input of array of string paths in dot notation and returns a select object
* example args: ['id', 'title', 'group.value', 'createdAt', 'updatedAt']
*/
export declare const getSelect: (fields: string[]) => SelectIncludeType;
//# sourceMappingURL=getSelect.d.ts.map