payload
Version:
Node, React, Headless CMS and Application Framework built on Next.js
10 lines • 355 B
TypeScript
import type { PayloadRequest } from '../types/index.js';
type Args = {
collectionSlug: string;
desiredFilename: string;
req: PayloadRequest;
staticPath: string;
};
export declare function getSafeFileName({ collectionSlug, desiredFilename, req, staticPath, }: Args): Promise<string>;
export {};
//# sourceMappingURL=getSafeFilename.d.ts.map