Files
klz-cables.com/.pnpm-store/v10/files/fb/9433d63cedf8c540c4e453375e305b66abbb61d9a4d9a1258f0bfb2252ec41d29267aa52fb8ea0e8121e490346dc3ce7414982ada99aa2615d7cf6cd20d479
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

20 lines
833 B
Plaintext

import type { SanitizedCollectionConfig } from '../../../collections/config/types.js';
import type { RequestContext } from '../../../index.js';
import type { JsonObject, PayloadRequest } from '../../../types/index.js';
type Args<T extends JsonObject> = {
collection: null | SanitizedCollectionConfig;
context: RequestContext;
doc?: T;
id?: number | string;
overrideAccess: boolean;
req: PayloadRequest;
};
/**
* This function is responsible for running beforeDuplicate hooks
* against a document including all locale data.
* It will run each field's beforeDuplicate hook
* and return the resulting docWithLocales.
*/
export declare const beforeDuplicate: <T extends JsonObject>({ id, collection, context, doc, overrideAccess, req, }: Args<T>) => Promise<T>;
export {};
//# sourceMappingURL=index.d.ts.map