Files
klz-cables.com/.pnpm-store/v10/files/61/af51b1ec59f1fc9b3f260e3280f41861733e8e7cf5552f9d0f71fd90ef8420ba2d8b0f42cc53adfa3586227af5711fb29338b6430aa54a68192769d2a08e54
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

52 lines
1.4 KiB
Plaintext

import type { CollectionPreferences, Column } from 'payload';
import type { SortColumnProps } from '../../elements/SortColumn/index.js';
export interface ITableColumns {
columns: Column[];
LinkedCellOverride?: React.ReactNode;
moveColumn: (args: {
fromIndex: number;
toIndex: number;
}) => Promise<void>;
resetColumnsState: () => Promise<void>;
setActiveColumns: (columns: string[]) => Promise<void>;
toggleColumn: (column: string) => Promise<void>;
}
export type TableColumnsProviderProps = {
readonly children: React.ReactNode;
readonly collectionSlug: string | string[];
readonly columnState: Column[];
/**
* @deprecated
*/
readonly docs?: any[];
/**
* @deprecated
*/
readonly enableRowSelections?: boolean;
readonly LinkedCellOverride?: React.ReactNode;
/**
* @deprecated
*/
readonly listPreferences?: CollectionPreferences;
/**
* @deprecated
*/
readonly preferenceKey?: string;
/**
* @deprecated
*/
readonly renderRowTypes?: boolean;
/**
* @deprecated
*/
readonly setTable?: (Table: React.ReactNode) => void;
/**
* @deprecated
*/
readonly sortColumnProps?: Partial<SortColumnProps>;
/**
* @deprecated
*/
readonly tableAppearance?: 'condensed' | 'default';
};
//# sourceMappingURL=types.d.ts.map