Files
klz-cables.com/.pnpm-store/v10/files/db/b21812bd5aa5a26498672364653cb157ab33dce3dd88b1e9ea6c7bd9f1f2f3c6a08b11535079bed7259c635cbaaf4b69a39e6e7f556c6d1f6010c25b75f0f9
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
1.3 KiB
Plaintext

import type { FlattenedBlocksField } from 'payload';
import type { DrizzleAdapter } from '../../types.js';
import type { BlockRowToInsert, NumberToDelete, RelationshipToDelete, TextToDelete } from './types.js';
type Args = {
adapter: DrizzleAdapter;
baseTableName: string;
blocks: {
[blockType: string]: BlockRowToInsert[];
};
blocksToDelete: Set<string>;
data: Record<string, unknown>[];
field: FlattenedBlocksField;
locale?: string;
numbers: Record<string, unknown>[];
numbersToDelete: NumberToDelete[];
parentIsLocalized: boolean;
path: string;
relationships: Record<string, unknown>[];
relationshipsToDelete: RelationshipToDelete[];
selects: {
[tableName: string]: Record<string, unknown>[];
};
texts: Record<string, unknown>[];
textsToDelete: TextToDelete[];
/**
* Set to a locale code if this set of fields is traversed within a
* localized array or block field
*/
withinArrayOrBlockLocale?: string;
};
export declare const transformBlocks: ({ adapter, baseTableName, blocks, blocksToDelete, data, field, locale, numbers, numbersToDelete, parentIsLocalized, path, relationships, relationshipsToDelete, selects, texts, textsToDelete, withinArrayOrBlockLocale, }: Args) => void;
export {};
//# sourceMappingURL=blocks.d.ts.map