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

19 lines
771 B
Plaintext

import type { Config } from '../config/types.js';
/**
* Generates a file path or URL based on the provided parameters.
*
* If urlOrPath is an external URL, it returns it as is.
* If a filename is provided, it constructs a URL using the collection slug and API route.
* If neither condition is met, it returns null.
*
* If you set relative to true, the returned URL will be relative to the serverURL (unless external).
*/
export declare function generateFilePathOrURL({ collectionSlug, config, filename, relative, serverURL, urlOrPath, }: {
collectionSlug: string;
config: Config;
filename?: string;
relative: boolean;
serverURL?: string;
urlOrPath: string | undefined;
}): null | string;
//# sourceMappingURL=generateFilePathOrURL.d.ts.map