Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
import type { ClientCollectionConfig, QueryPreset, ResolvedFilterOptions, SanitizedCollectionPermission, Where } from 'payload';
|
|
export type ListControlsProps = {
|
|
readonly beforeActions?: React.ReactNode[];
|
|
readonly collectionConfig: ClientCollectionConfig;
|
|
readonly collectionSlug: string;
|
|
/**
|
|
* @deprecated
|
|
* These are now handled by the `ListSelection` component
|
|
*/
|
|
readonly disableBulkDelete?: boolean;
|
|
/**
|
|
* @deprecated
|
|
* These are now handled by the `ListSelection` component
|
|
*/
|
|
readonly disableBulkEdit?: boolean;
|
|
readonly disableQueryPresets?: boolean;
|
|
readonly enableColumns?: boolean;
|
|
readonly enableFilters?: boolean;
|
|
readonly enableSort?: boolean;
|
|
readonly handleSearchChange?: (search: string) => void;
|
|
readonly handleSortChange?: (sort: string) => void;
|
|
readonly handleWhereChange?: (where: Where) => void;
|
|
readonly listMenuItems?: React.ReactNode[];
|
|
readonly queryPreset?: QueryPreset;
|
|
readonly queryPresetPermissions?: SanitizedCollectionPermission;
|
|
readonly renderedFilters?: Map<string, React.ReactNode>;
|
|
readonly resolvedFilterOptions?: Map<string, ResolvedFilterOptions>;
|
|
};
|
|
//# sourceMappingURL=types.d.ts.map |