@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
13 lines • 500 B
text/typescript
//#region src/utils/media/build-download-content-disposition.d.ts
/**
* Builds a safe download disposition header value from persisted media
* metadata so controllers and adapters all serialize filenames the same way.
*/
declare const buildDownloadContentDisposition: (props: {
key: string;
fileName?: string | null;
extension?: string | null;
}) => string;
//#endregion
export { buildDownloadContentDisposition as default };
//# sourceMappingURL=build-download-content-disposition.d.mts.map