UNPKG

@lucidcms/core

Version:

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

2 lines 748 B
const e=`http:static:`,t=e=>e==null?`no-tenant`:`tenant:${encodeURIComponent(e)}`,n={collection:{schema:e=>`collection:schema:${e}`},rateLimit:{ip:e=>`rate-limit:ip:${e}`,user:e=>`rate-limit:user:${e}`,client:e=>`rate-limit:client:${e}`,record:e=>`rate-limit:record:${e}`},auth:{user:(e,n,r)=>`auth:user:${n}:${e}:${t(r)}`,refresh:e=>`auth:refresh:${e}`},namespace:{token:e=>`_namespace:${e}`},http:{response:e=>`http:${e}`,tags:{clientLocales:`client-locales`,clientMedia:`client-media`,clientDocuments:`client-documents`,clientDocumentsCollection:e=>`client-documents:${e}`},static:{clientLocales:`${e}client-locales`,clientMediaSingle:(t,n)=>`${e}client-media:${n??`global`}:${t}`}}};export{n as default}; //# sourceMappingURL=cache-keys.mjs.map