@r1tsu/payload
Version:
10 lines • 385 B
TypeScript
import type { PayloadRequestWithData } from '../types/index.js';
type Args = {
collectionSlug: string;
desiredFilename: string;
req: PayloadRequestWithData;
staticPath: string;
};
declare function getSafeFileName({ collectionSlug, desiredFilename, req, staticPath, }: Args): Promise<string>;
export default getSafeFileName;
//# sourceMappingURL=getSafeFilename.d.ts.map