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

31 lines
1.5 KiB
Plaintext

import type { I18nClient } from '@payloadcms/translations';
import { type ClientFieldSchemaMap, type Field, type FieldDiffClientProps, type FieldDiffServerProps, type FieldTypes, type PayloadComponent, type PayloadRequest, type SanitizedFieldsPermissions, type VersionField } from 'payload';
export type BuildVersionFieldsArgs = {
clientSchemaMap: ClientFieldSchemaMap;
customDiffComponents: Partial<Record<FieldTypes, PayloadComponent<FieldDiffServerProps, FieldDiffClientProps>>>;
entitySlug: string;
fields: Field[];
fieldsPermissions: SanitizedFieldsPermissions;
i18n: I18nClient;
modifiedOnly: boolean;
nestingLevel?: number;
parentIndexPath: string;
parentIsLocalized: boolean;
parentPath: string;
parentSchemaPath: string;
req: PayloadRequest;
selectedLocales: string[];
versionFromSiblingData: object;
versionToSiblingData: object;
};
/**
* Build up an object that contains rendered diff components for each field.
* This is then sent to the client to be rendered.
*
* Here, the server is responsible for traversing through the document data and building up this
* version state object.
*/
export declare const buildVersionFields: ({ clientSchemaMap, customDiffComponents, entitySlug, fields, fieldsPermissions, i18n, modifiedOnly, nestingLevel, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, selectedLocales, versionFromSiblingData, versionToSiblingData, }: BuildVersionFieldsArgs) => {
versionFields: VersionField[];
};
//# sourceMappingURL=buildVersionFields.d.ts.map