Files
klz-cables.com/.pnpm-store/v10/files/41/c148233fe689c2db651f53632bc56f21d3a248a93537f56997f0d8dba5d89a8fdf8b133951e7d213f10bbbac904b4ab48c7dcae8cbb05a20a7d05d92415393
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

27 lines
969 B
Plaintext

import type { SanitizedCollectionConfig } from '../../../collections/config/types.js';
import type { SanitizedGlobalConfig } from '../../../globals/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;
/**
* The data before hooks
*/
data: T;
/**
* The data after hooks
*/
doc: T;
global: null | SanitizedGlobalConfig;
operation: 'create' | 'update';
previousDoc: T;
req: PayloadRequest;
};
/**
* This function is responsible for the following actions, in order:
* - Execute field hooks
*/
export declare const afterChange: <T extends JsonObject>({ collection, context, data, doc: incomingDoc, global, operation, previousDoc, req, }: Args<T>) => Promise<T>;
export {};
//# sourceMappingURL=index.d.ts.map