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

33 lines
1.3 KiB
Plaintext

import type { I18nClient } from '@payloadcms/translations';
import type { ClientField, CollectionPreferences, CollectionSlug, Column, DefaultCellComponentProps, Document, Field, PaginatedDocs, Payload, PayloadRequest, SanitizedCollectionConfig, SanitizedFieldsPermissions, ViewTypes } from 'payload';
import type { SortColumnProps } from '../../../elements/SortColumn/index.js';
export type BuildColumnStateArgs = {
beforeRows?: Column[];
clientFields: ClientField[];
columns?: CollectionPreferences['columns'];
customCellProps: DefaultCellComponentProps['customCellProps'];
enableLinkedCell?: boolean;
enableRowSelections: boolean;
enableRowTypes?: boolean;
fieldPermissions?: SanitizedFieldsPermissions;
i18n: I18nClient;
payload: Payload;
req?: PayloadRequest;
serverFields: Field[];
sortColumnProps?: Partial<SortColumnProps>;
useAsTitle: SanitizedCollectionConfig['admin']['useAsTitle'];
viewType?: ViewTypes;
} & ({
collectionSlug: CollectionSlug;
dataType: 'monomorphic';
docs: PaginatedDocs['docs'];
} | {
collectionSlug?: undefined;
dataType: 'polymorphic';
docs: {
relationTo: CollectionSlug;
value: Document;
}[];
});
export declare const buildColumnState: (args: BuildColumnStateArgs) => Column[];
//# sourceMappingURL=index.d.ts.map