Files
klz-cables.com/.pnpm-store/v10/files/fd/2a071d849b46cb8230461e311651535f487f9926de2cd23f6a874059d17369b477aa817e5834764f693b12a38dd9d67038d546de892cae0ad14bfab63778ce
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

34 lines
1.3 KiB
Plaintext

import type { ClientFieldSchemaMap, Data, DocumentPreferences, Field, FieldSchemaMap, FieldState, FormState, Operation, PayloadRequest, SanitizedFieldPermissions } from 'payload';
export type RenderFieldArgs = {
clientFieldSchemaMap?: ClientFieldSchemaMap;
collectionSlug: string;
data: Data;
fieldConfig: Field;
fieldSchemaMap: FieldSchemaMap;
fieldState: FieldState;
/**
* If set to true, it will force creating a clientField based on the passed fieldConfig instead of pulling
* the client field from the clientFieldSchemaMap. This is useful if the passed fieldConfig differs from the one in the schema map,
* e.g. when calling the render-field server function and passing a field config override.
*/
forceCreateClientField?: boolean;
formState: FormState;
id?: number | string;
indexPath: string;
lastRenderedPath: string;
mockRSCs?: boolean;
operation: Operation;
parentPath: string;
parentSchemaPath: string;
path: string;
permissions: SanitizedFieldPermissions;
preferences: DocumentPreferences;
previousFieldState: FieldState;
readOnly?: boolean;
renderAllFields: boolean;
req: PayloadRequest;
schemaPath: string;
siblingData: Data;
};
export type RenderFieldMethod = (args: RenderFieldArgs) => void;
//# sourceMappingURL=types.d.ts.map