Files
klz-cables.com/.pnpm-store/v10/files/0a/7a0287b18e5fda5fac3980729f11a608149f69978b74dd392c70556ea81c7e320409d9a3042e1c72204c5004f60b682fd3a6c0bc2769db586a7896f545d3a7
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

22 lines
834 B
Plaintext

import type { Collection } from '../collections/config/types.js';
import type { SanitizedConfig } from '../config/types.js';
import type { PayloadRequest } from '../types/index.js';
import type { FileToSave } from './types.js';
type Args<T> = {
collection: Collection;
config: SanitizedConfig;
data: T;
isDuplicating?: boolean;
operation: 'create' | 'update';
originalDoc?: T;
overwriteExistingFiles?: boolean;
req: PayloadRequest;
throwOnMissingFile?: boolean;
};
type Result<T> = Promise<{
data: T;
files: FileToSave[];
}>;
export declare const generateFileData: <T>({ collection: { config: collectionConfig }, data, isDuplicating, operation, originalDoc, overwriteExistingFiles, req, throwOnMissingFile, }: Args<T>) => Result<T>;
export {};
//# sourceMappingURL=generateFileData.d.ts.map