Files
klz-cables.com/.pnpm-store/v10/files/1f/a5e001ab3a4bcf1257ff11a6aed3c39b4964c6fde38a478992422ac355d6267059c61c02bf27e467f57ce84e5b88fa8279c6896ea33990b046b4c1ccc2759e
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

42 lines
1.4 KiB
Plaintext

import type { AdminViewServerProps, ListQuery, ListViewClientProps, ListViewServerPropsOnly, PayloadComponent } from 'payload';
import React from 'react';
/**
* @internal
*/
export type RenderListViewArgs = {
/**
* Allows providing your own list view component. This will override the default list view component and
* the collection's configured list view component (if any).
*/
ComponentOverride?: PayloadComponent | React.ComponentType<ListViewClientProps | (ListViewClientProps & ListViewServerPropsOnly)>;
customCellProps?: Record<string, any>;
disableBulkDelete?: boolean;
disableBulkEdit?: boolean;
disableQueryPresets?: boolean;
drawerSlug?: string;
enableRowSelections: boolean;
overrideEntityVisibility?: boolean;
/**
* If not ListQuery is provided, `req.query` will be used.
*/
query?: ListQuery;
redirectAfterDelete?: boolean;
redirectAfterDuplicate?: boolean;
/**
* @experimental This prop is subject to change in future releases.
*/
trash?: boolean;
} & AdminViewServerProps;
/**
* This function is responsible for rendering
* the list view on the server for both:
* - default list view
* - list view within drawers
*
* @internal
*/
export declare const renderListView: (args: RenderListViewArgs) => Promise<{
List: React.ReactNode;
}>;
export declare const ListView: React.FC<RenderListViewArgs>;
//# sourceMappingURL=index.d.ts.map