@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
1 lines • 651 B
Source Map (JSON)
{"version":3,"file":"storage-usage-options.mjs","names":[],"sources":["../../../../src/services/media/helpers/storage-usage-options.ts"],"sourcesContent":["import type {\n\tMediaStorageOptionName,\n\tOptionsName,\n} from \"../../../schemas/options.js\";\n\nexport const mediaStorageOptionName: MediaStorageOptionName =\n\t\"media_storage_used\";\n\nexport const getMediaStorageOptionName = (\n\ttenantKey: string | null | undefined,\n): OptionsName => {\n\tif (!tenantKey) return mediaStorageOptionName;\n\treturn `${mediaStorageOptionName}:t:${tenantKey}` as OptionsName;\n};\n"],"mappings":"AAKA,MAAa,EACZ,qBAEY,EACZ,GAEK,EACE,GAAG,EAAuB,KAAK,IADf"}