UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

18 lines 525 B
import { MediaType } from "../../types/response.mjs"; import { ServiceResponse } from "../services/types.mjs"; //#region src/utils/media/get-file-metadata.d.ts type FileMetadata = { mimeType: string; type: MediaType; extension: string; }; /** * Gets the metadata for a file. */ declare const getFileMetadata: (props: { mimeType: string | null; fileName: string; }) => ServiceResponse<FileMetadata>; //#endregion export { FileMetadata, getFileMetadata as default }; //# sourceMappingURL=get-file-metadata.d.mts.map