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

41 lines
1.8 KiB
Plaintext

import type { ClientCollectionConfig, FieldLabelClientProps, FilterOptionsResult, StaticDescription, StaticLabel, UploadFieldClient, UploadField as UploadFieldType, ValueWithRelation } from 'payload';
import type { MarkOptional } from 'ts-essentials';
import React from 'react';
import './index.scss';
export declare const baseClass = "upload";
export type UploadInputProps = {
readonly AfterInput?: React.ReactNode;
readonly allowCreate?: boolean;
/**
* Controls the visibility of the "Create new collection" button
*/
readonly api?: string;
readonly BeforeInput?: React.ReactNode;
readonly className?: string;
readonly collection?: ClientCollectionConfig;
readonly customUploadActions?: React.ReactNode[];
readonly Description?: React.ReactNode;
readonly description?: StaticDescription;
readonly displayPreview?: boolean;
readonly Error?: React.ReactNode;
readonly filterOptions?: FilterOptionsResult;
readonly hasMany?: boolean;
readonly hideRemoveFile?: boolean;
readonly isSortable?: boolean;
readonly Label?: React.ReactNode;
readonly label?: StaticLabel;
readonly labelProps?: FieldLabelClientProps<MarkOptional<UploadFieldClient, 'type'>>;
readonly localized?: boolean;
readonly maxRows?: number;
readonly onChange?: (e: any) => void;
readonly path: string;
readonly readOnly?: boolean;
readonly relationTo: UploadFieldType['relationTo'];
readonly required?: boolean;
readonly serverURL?: string;
readonly showError?: boolean;
readonly style?: React.CSSProperties;
readonly value?: (number | string)[] | number | string | ValueWithRelation | ValueWithRelation[];
};
export declare function UploadInput(props: UploadInputProps): React.JSX.Element;
//# sourceMappingURL=Input.d.ts.map