UNPKG

payload

Version:

Node, React and MongoDB Headless CMS and Application Framework

10 lines 368 B
import type { PayloadRequest } from '../express/types'; type Args = { collectionSlug: string; desiredFilename: string; req: PayloadRequest; staticPath: string; }; declare function getSafeFileName({ collectionSlug, desiredFilename, req, staticPath, }: Args): Promise<string>; export default getSafeFileName; //# sourceMappingURL=getSafeFilename.d.ts.map