Files
klz-cables.com/.pnpm-store/v10/files/38/e21cd8c31e8bdb7034de78275e1befff5981a947e35b689db21e536a7e00c260260b1b850515a638f866381a3e147bca13bfe60fd40c98f29d861e059ab9d7
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
1020 B
Plaintext

import type { Data, FileSizes, SanitizedCollectionConfig } from 'payload';
import React from 'react';
type SharedFileDetailsProps = {
collectionSlug: string;
customUploadActions?: React.ReactNode[];
doc: {
sizes?: FileSizes;
} & Data;
enableAdjustments?: boolean;
hasImageSizes?: boolean;
hideRemoveFile?: boolean;
imageCacheTag?: string;
uploadConfig: SanitizedCollectionConfig['upload'];
};
type StaticFileDetailsProps = {
draggableItemProps?: never;
handleRemove?: () => void;
hasMany?: never;
isSortable?: never;
removeItem?: never;
rowIndex?: never;
};
type DraggableFileDetailsProps = {
handleRemove?: never;
hasMany: boolean;
isSortable?: boolean;
removeItem?: (index: number) => void;
rowIndex: number;
};
export type FileDetailsProps = (DraggableFileDetailsProps | StaticFileDetailsProps) & SharedFileDetailsProps;
export declare const FileDetails: React.FC<FileDetailsProps>;
export {};
//# sourceMappingURL=index.d.ts.map