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

24 lines
1.0 KiB
Plaintext

import DataLoader from 'dataloader';
import type { Payload, TypedFallbackLocale } from '../index.js';
import type { PayloadRequest, PopulateType, SelectType } from '../types/index.js';
import type { TypeWithID } from './config/types.js';
export declare const getDataLoader: (req: PayloadRequest) => {
find: Payload["find"];
} & DataLoader<string, TypeWithID, string>;
type CreateCacheKeyArgs = {
collectionSlug: string;
currentDepth: number;
depth: number;
docID: number | string;
draft: boolean;
fallbackLocale: TypedFallbackLocale;
locale: string | string[];
overrideAccess: boolean;
populate?: PopulateType;
select?: SelectType;
showHiddenFields: boolean;
transactionID: number | Promise<number | string> | string;
};
export declare const createDataloaderCacheKey: ({ collectionSlug, currentDepth, depth, docID, draft, fallbackLocale, locale, overrideAccess, populate, select, showHiddenFields, transactionID, }: CreateCacheKeyArgs) => string;
export {};
//# sourceMappingURL=dataloader.d.ts.map