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
19 lines
869 B
Plaintext
19 lines
869 B
Plaintext
import type { ArrayFieldClient, BaseVersionField, BlocksFieldClient, ClientConfig, ClientField, VersionField } from 'payload';
|
|
/**
|
|
* Get the fields for a row in an iterable field for comparison.
|
|
* - Array fields: the fields of the array field, because the fields are the same for each row.
|
|
* - Blocks fields: the union of fields from the comparison and version row,
|
|
* because the fields from the version and comparison rows may differ.
|
|
*/
|
|
export declare function getFieldsForRowComparison({ baseVersionField, config, field, row, valueFromRow, valueToRow, }: {
|
|
baseVersionField: BaseVersionField;
|
|
config: ClientConfig;
|
|
field: ArrayFieldClient | BlocksFieldClient;
|
|
row: number;
|
|
valueFromRow: any;
|
|
valueToRow: any;
|
|
}): {
|
|
fields: ClientField[];
|
|
versionFields: VersionField[];
|
|
};
|
|
//# sourceMappingURL=getFieldsForRowComparison.d.ts.map |